Centos7使用systemd管理nginx进程

vi /lib/systemd/system/nginx.service[Unit]Description=nginxAfter=network.target[Service]Type=forkingExecStart=/opt/nginx/sbin/nginxExecReload=/opt/ngi
Nginx Centos 2023年07月06日 95次浏览

RedHat7配置本地源

1. 上传iso到系统/tmprhel-server-7.9-x86_64-dvd.iso2. 挂载镜像mkdir /mnt/cdrommount -t iso9660 -o loop /tmp/rhel-server-7.9-x86_64-dvd.iso /mnt/cdrom3. 配置源cd /e
Centos 2023年07月03日 101次浏览

Centos7中安装Python3.8

Centos 2022年05月19日 617次浏览

Centos7下使用packstack快速部署openstack

快速安装yum update -yyum -y install centos-release-openstack-queens epel-release yum -y install openstack-packstack python-pippackstack --allinone # -alli
Centos 2019年04月03日 1,326次浏览

Centos7安装后的相关配置

Centos7安装后的相关配置关闭firewall和SELINUX关闭firewall:systemctl stop firewalld.service #停止firewallsystemctl disable firewalld.service #禁止firewall开机启动firewall-cm
Centos 2016年06月07日 850次浏览