In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly introduces "how RedHat6.5 accesses existing directories". In daily operation, I believe many people have doubts about how RedHat6.5 accesses existing directories. The editor has consulted all kinds of materials and sorted out simple and easy-to-use methods of operation. I hope it will be helpful to answer the doubts of "how RedHat6.5 accesses existing directories". Next, please follow the editor to study!
1. First use the rpm-qa | grep vsftpd command to check whether it has been installed. If ftp is not installed, download the corresponding rpm package first, and then execute the following command: [note: different versions of the system install the corresponding version of the package]
Rpm-ivh vsftpd-2.2.2-11.el6_4.1.x86_64.rpm
2. Service vsftpd start
To start FTP automatically every time you boot, run the command: chkconfig-- leve l 35 vsftpd on
3. Set ftp permissions
Vi / etc/vsftpd/vsftpd.conf
Change anonymous_enable=YES to anonymous_enable=NO
ESC returns, enter ": wq" to save and launch
4. Add ftp account and directory
[note: here you need to set up a directory access / data/file/logs/ path to view logs, but the user right of this path is test:test. Now create a new ftp user ftpuser and join the test user group]
Useradd-d / data/file/logs/-s / sbin/nologin ftpuser
Passwd ftpuser [the user name and password is the same as the test here]
Chmod-R 755 / data/file/logs
Usermod-G test camsftp
/ etc/rc.d/init.d/vsftpd restart
Then use the account number ftpuser password ftpuser
After testing, you can log in to ftp, and the directory you see after entering is / data/file/logs.
At this point, the study on "how to access existing directories by RedHat6.5" is over. I hope to be able to solve your doubts. The collocation of theory and practice can better help you learn, go and try it! If you want to continue to learn more related knowledge, please continue to follow the website, the editor will continue to work hard to bring you more practical articles!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.