虎泰克博客

whutech centos服务器配置标准


hostnamectl set-hostname server02 yum&n

hostnamectl set-hostname server02
yum install -y nginx
systemctl enable nginx
service nginx start
rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
rpm -Uvh https://mirror.webtatic.com/yum/el7/webtatic-release.rpm
yum -y install php70w.x86_64 php70w-cli.x86_64 php70w-common.x86_64 php70w-gd.x86_64 php70w-ldap.x86_64 php70w-mbstring.x86_64 php70w-mcrypt.x86_64 php70w-mysql.x86_64 php70w-pdo.x86_64
yum -y install php70w-fpm php70w-opcache
systemctl enable php-fpm
yum -y install mariadb
yum -y install mariadb-server
systemctl enable mariadb
service mariadb start
mysqladmin -u root password '*****'
yum -y install certbot


Statement: all articles / drawings reproduced on this website are for the purpose of transmitting more information and facilitating discussion, which does not mean that the website, the host and the organizer agree with their opinions or confirm the authenticity of their contents. The contents of the articles are for reference only. If the rights of the original author are violated, please contact the website administrator.

Sign in to comment

Comment list

    No data