Rpm installs phpfpm, linuxrpm installs phpfpm, mysql, nginx and assembles ftp

1. If there is no ftp software, directly install and run the following program: yum -y install vsftpd chkconfig vsftpd on The installation has the following error : Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=os error was 14: PYCURL ERROR 6 – “Couldn’t resolve host 'mirrorlist.centos.org'” Error: Cannot find a valid baseurl for repo: base p> Because of the lack of DNS , the solution is as follows : configure resolv.conf in the /etc directory and add nameserver IP : [root@localhost ~]# vi /etc/resolv.conf #The following address is Fujian Telecom DNS nameserver 218.85.157.99 2. Command Start vsftpd : service vsftpd start Stop vsftpd: service vsftpd stop Restart vsftpd: service vsftpd restart 1. Install nginx+php+mysql wget http://nginx.org/packages/centos/6/noarch/RPMS/nginx-release-centos-6-0.el6.ngx.noarch.rpm //Download rpm file rpm -ivh nginx-release-centos-6-0.el6.ngx.noarch.rpm //Unzip rpm -qa | grep nginx Check whether nginx is added to the source path Install php mysql nginx yum install mysql mysql-server php php-mysql php-fpm nginx If the source address cannot be found, Please find the updated third-party source library in the tips yum install php-cli php-gd php-imap php-ldap php-odbc php-pear php-xml php-xmlrpc php-mbstring php-mcrypt php-mssql php-snmp php-soap php-tidy php-common php-devel For separate installation, please refer to the following 1.1. Install php-fpm separately service yum install -y php php-mysql…

Contact Us

Contact us

181-3619-1160

Online consultation: QQ交谈

E-mail: 34331943@QQ.com

Working hours: Monday to Friday, 9:00-17:30, holidays off

Follow wechat
Scan wechat and follow us

Scan wechat and follow us

Follow Weibo
Back to top
首页
微信
电话
搜索