欢迎来到天天文库
浏览记录
ID:38099098
大小:119.22 KB
页数:4页
时间:2019-05-24
《liunx修改主机名ft、p配置、网卡配置》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库。
1、F•XCHANGF•XCHANGDEDEPPwwClicktobuyNOW!ClicktobuyNOW!wmwmwowo.d.c.d.cocu•trackocu•trackˍ.݇ѢЏᴎৡϡϔ㟈ⱘ䯂乬,خབϟᬍ˖a.[root@Qos04~]#hostnameaab.[root@Qos04~]#vim/etc/sysconfig/networkNETWORKING=yesHOSTNAME=aac.vim/ect/hosts127.0.0.1localhostlocalhost.localdomainloca
2、lhost4localhost4.localdomain4••••••127.0.0.1Qos04localhost.localdomainlocalhost4localhost4.localdomain4••••••OrX.X.X.Xaalocalhost.localdomainlocalhost4localhost4.localdomain4Xҷ㸼ᴎ఼ⱘIP::1localhostlocalhost.localdomainlocalhost6localhost6.localdomain6d.init6
3、e.⹂䅸ᰃ৺ᬍ៤ࡳˎ.FTP䜡㕂ℸ᭛ゴᨬ㞾•••Redhatओৡ⫼᠋ftp䆓䯂ftpHowdoIconfigureanon•anonymousFTPserver?lastmodifiedbyZheZhangon02/09/11•03:41IssueHowdoIconfigureanon•anonymousFTPserver?EnvironmentRedHatEnterpriseLinux5RedHatEnterpriseLinux6ResolutonTosetupanon•anonymousftpserv
4、eronRedHatEnterpriseLinux,followthesesteps:1.Verifythatthevsftpdpackageisinstalled.2.rpm•qa
5、grepvsftpdF•XCHANGF•XCHANGDEDEPPwwClicktobuyNOW!ClicktobuyNOW!wmwmwowo.d.c.d.cocu•trackocu•trackIfitisnotinstalled,theinstallitasfollows:RHEL3and4#up2date•ivsftpdR
6、HEL5#yuminstallvsftpd1.Verifythelocalhostlinein/etc/hostslookslikethefollowing:2.127.0.0.1localhost.localdomainlocalhost3.Nextconfigurethevsftpd.conffile.NOTE:Backupthevsftpd.conffile4.#cd/etc/vsftpd5.#cpvsftpd.conf./vsftpd.conf.ORIGUsinganeditor,openthef
7、ilevsftpd.conf.Uncommentthefollowinglines:anonymous_enable=YESlocal_enable=YESuserlist_enable=YESOrchangeaboveparameterstothefollowing:anonymous_enable=NOlocal_enable=NOuserlist_enable=NOSaveandquitthevsftpd.conffile.Pleasenotethatthisconfigurationwillals
8、oenableanonymousaccess.1.Addausertothe/etc/vsftpd/user_listfile(Thisusermustbeavaliduseronthesystem••addingtheusernametothisfilewillallowtheusertologin).2.Startthevsftpdservice3.#servicevsftpdstart4.Tohavethevsftpdservicepersistentacrossreboot:5.#chkconfi
9、gvsftpdon6.Totesttheconfigurationrunthefollowingcommand:7.#ftplocalhostLoginwiththeusernamethatwasconfiguredearlier.Thisshouldshowanftpprompt.Type'bye'toexittothecommandprompt.NOTE:FortheFirewallconfigurationtoallow
此文档下载收益归作者所有