2019年8月31日

vim编辑器删除键失效

摘要: 在默认状态下,delete(backspace)按下只会删除本次插入模式下插入的文本,这跟backspace的模式设置有关,其模式可以设置为以下三种模式: 0 same as “:set backspace=” (Vi compatible) 1 same as “:set backspace=in 阅读全文

posted @ 2019-08-31 10:28 西虹市市长 阅读(1534) 评论(0) 推荐(0) 编辑

2019年8月7日

客户端通过 HTTP 请求的 Header 信息总结

摘要: 客户端通过 HTTP 请求的 Header 信息总结 客户端通过 HTTP 请求的 Header 信息总结 ·客户端HTTP请求的Header信息 1、HTTP请求方式 如下表: 方 法 描 述 GET 向Web服务器请求一个文件 POST 向Web服务器发送数据让Web服务器进行处理 PUT 向W 阅读全文

posted @ 2019-08-07 14:50 西虹市市长 阅读(952) 评论(0) 推荐(0) 编辑

2019年7月9日

清理/boot目录内容

摘要: [root@localhost ~]# uname -r3.10.0-862.3.2.el7.x86_64 [root@localhost ~]# rpm -qa | grep kernelkernel-devel-3.10.0-862.3.2.el7.x86_64kernel-tools-libs 阅读全文

posted @ 2019-07-09 09:17 西虹市市长 阅读(171) 评论(0) 推荐(0) 编辑

2019年6月29日

CentOS 7 配置samba 和 autofs

摘要: 1:服务器配置 [root@localhost ~]# yum install -y samba [root@localhost ~]# pdbedit -a -u alex [root@localhost ~]# mkdir /home/smbroot[root@localhost ~]# cho 阅读全文

posted @ 2019-06-29 00:51 西虹市市长 阅读(765) 评论(0) 推荐(0) 编辑

2019年6月28日

CentOS 7 配置 nfs 和 autofs

摘要: 1:服务器端: [root@languang ~]# mkdir /nfsfile[root@languang ~]# chmod 777 /nfsfile/[root@languang ~]# echo "welcome to nfs" > /nfsfile/readme.txt[root@lan 阅读全文

posted @ 2019-06-28 19:08 西虹市市长 阅读(423) 评论(0) 推荐(0) 编辑

2019年6月27日

tftp简单文件传输协议基本配置

摘要: [root@linuxprobe ~]# yum install tftp-server tftp [root@linuxprobe ~]# vim /etc/xinetd.d/tftpservice tftp{ socket_type= dgram protocol= udp wait= yes 阅读全文

posted @ 2019-06-27 13:32 西虹市市长 阅读(158) 评论(0) 推荐(0) 编辑

CentOS 7 配置ftp服务器

摘要: 1:允许匿名用户模式 [root@www ~]# yum install -y vsftpd [root@www ~]# yum install -y ftp [root@www ~]# vim /etc/vsftpd/vsftpd.conf(在开始位置添加以下内容) anonymous_enabl 阅读全文

posted @ 2019-06-27 09:48 西虹市市长 阅读(502) 评论(0) 推荐(0) 编辑

2019年6月26日

CentOS 7 安装惠普打印机驱动

摘要: 1.首先确定cups有没有安装 没有的话 yum install cups 安装 2.安装 hplip yum install -y hplip hplip-* 3需使用非root账户执行 hp-setup 安装 plugin 安装完成即可打印! 阅读全文

posted @ 2019-06-26 15:24 西虹市市长 阅读(1317) 评论(0) 推荐(0) 编辑

2019年6月21日

CentOS7 配置httpd

摘要: 1:安装 yum install httpd 2:systemctl start httpd systemctl enable httpd 3:更改网站数据目录 [root@localhost ~]# mkdir /home/wwwroot [root@localhost ~]# echo "thi 阅读全文

posted @ 2019-06-21 14:59 西虹市市长 阅读(427) 评论(0) 推荐(0) 编辑

2019年6月20日

计划任务服务

摘要: 1:临时任务-今晚11:30开启网站服务 A: [root@linuxprobe ~]# at 23:30 at > systemctl restart httpd at > 此处请同时按下 Ctrl + D 组合键来结束编写计划任务 job 1 at Mon Apr 27 23:30:00 201 阅读全文

posted @ 2019-06-20 14:42 西虹市市长 阅读(273) 评论(0) 推荐(0) 编辑

导航