摘要: 基本操作 1 # /usr/local/nginx/sbin/nginx 2 # /usr/local/nginx/sbin/nginx -s stop 3 # /usr/local/nginx/sbin/nginx -s reload 4 # /usr/local/nginx/sbin/nginx 阅读全文
posted @ 2021-11-02 00:24 Grep-etc 阅读(52) 评论(0) 推荐(0)
摘要: 安装部署 1 # 源码安装 2 yum install apr-devel apr-util-devel pcre-devel 3 Wget http://mirrors.hust.edu.cn/apache/httpd/httpd-2.4.29.tar.bz2 4 Apache WEB服务器安装步 阅读全文
posted @ 2021-11-02 00:18 Grep-etc 阅读(28) 评论(0) 推荐(0)
摘要: 1 [root@ks-server ~]# yum install dhcp -y >> /dev/null 2 [root@ks-server ~]# rpm -ql dhcp | grep "dhcpd.conf" 3 /etc/dhcp/dhcpd.conf 4 /usr/share/doc/ 阅读全文
posted @ 2021-11-02 00:15 Grep-etc 阅读(28) 评论(0) 推荐(0)
摘要: # DNS常用的资源记录及说明 SOA(起始授权机构) 定义了该域中的权威名称服务器 NS(名称服务器) 表示某区域的权威服务器和SQA中指定的该区域的主要服务器和辅助服务器 A(主机) 列出了区域中的FQDN(完全合格的域名)到IP地址的映射 PTR(指针) IP-->FQDN MX 邮件交换器记 阅读全文
posted @ 2021-11-02 00:13 Grep-etc 阅读(98) 评论(0) 推荐(0)
摘要: 环境准备 1 1、服务器添加硬盘,并做Raid 2 [root@iscsi-server ~]# lsblk 3 #查看磁盘挂载情况 4 NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT 5 sda 8:0 0 8G 0 disk 6 ├─sda1 8:1 0 1G 0 阅读全文
posted @ 2021-11-02 00:11 Grep-etc 阅读(92) 评论(0) 推荐(0)
摘要: 常用指令集 1 # 同步外网YUM源 2 # reposync --repoid repoID -r repo_dir 3 4 # 发布软件目录 5 # createrepo repo_dir 6 # 更新软件发布 7 # createrepo --update repo_dir 本地YUM源 1 阅读全文
posted @ 2021-11-02 00:06 Grep-etc 阅读(56) 评论(0) 推荐(0)