![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Linux服务
New6ie
这个作者很懒,什么都没留下…
展开
-
搭建vsftpd服务器
yum –y install vsftpd; firewall-config // ftp打个勾; cd /var/ftp : 查看pub文件夹; mkdir aaa : 创建自己的文件夹; cd aaa; echo "aaa" > a.txt :创建文本,写入aaa; 物理机可下载该文件但不能上传、修改。 修改配置文件: cd /etc/vsftpd; ls; vim vsftpd.conf; anonymous_enable=YES:可匿名账户登入;...原创 2021-06-19 19:53:13 · 171 阅读 · 2 评论 -
搭建网站httpd
yum -y install httpd:通过yum下载httpd; systemctl start httpd :启动httpd服务; systemctl status httpd :查看httpd状态; systemctl restart httpd: 重启服务 systemctl stop httpd: 停止服务; 制作简单的网页: cd /var/www/html echo "This is my first website." > inde...原创 2021-06-19 19:50:01 · 264 阅读 · 0 评论 -
替换红帽安装源
ifconfig: 查IP地址; lo:loopback(环回接口),以127开头都是环回地址。环回地址可以ping通,例:127.0.0.1。 firefox +网址:打开网页; Ctrl + c:中断命令; firefox www.baidu.com & : 打开网页 且 不影响终端输入新命令; systemctl start + sshd: 启动某项服务; systemctl status + sshd:查看状态; systemctl restart + ...原创 2021-06-19 19:42:34 · 195 阅读 · 0 评论