时间:2021-07-01 10:21:17 帮助过:19人阅读
[root@localhost ~]# yum -y install httpd
Loaded plugins: fastestmirror, langpacks
Existing lock /var/run/yum.pid: another copy is running as pid 17034.
Another app is currently holding the yum lock; waiting for it to exit...
The other application is: PackageKit
Memory : 178 M RSS (521 MB VSZ)
Started: Tue Mar 31 10:13:25 2020 - 55:00 ago
State : Sleeping, pid: 17034
Another app is currently holding the yum lock; waiting for it to exit...
The other application is: PackageKit
Memory : 178 M RSS (521 MB VSZ)
Started: Tue Mar 31 10:13:25 2020 - 55:02 ago
State : Sleeping, pid: 17034
- <code>kill -s 9 17034
- ps aux | grep yum
- rm -f /var/run/yum.pid</code>
%%%%%%%%%%%%%% Https Apache Parts: %%%%%%%%%%
PHP Apahce Mysql centos 7:
https://blog.csdn.net/baibaigao/article/details/89406201
- <code> yum -y install httpd
- systemctl start httpd
- systemctl stop firewalld
- touch /var/www/html/index.html
- vim /var/www/html/index.html
- systemctl restart httpd</code>
%%%%%%%%%%%%%% PHP Parts: %%%%%%%%%%
- <code>yum -y install php
- mv index.html index.php
- <?
- php phpinfo();
- ?>
- systemctl restart httpd
- </code>
%%%%%%%%%%%%% Mysql Parts: %%%%%%%%%
- <code>yum list installed | grep mysql
- yum -y remove mysql-libs.x86_64
- wget http://dev.mysql.com/get/mysql-community-release-el7-5.noarch.rpm
- yum -y localinstall mysql-community-release-el7-5.noarch.rpm
- yum install mysql-community-server
- systemctl start mysql
- systemctl status mysql</code>
- <code>hostnamectl set-hostname webtest86
- systemctl enable httpd
- systemctl enable mysqld
- systemctl disable firewalld</code>
#############针对织梦系统:#############
- <code>yum -y install php-gd
- yum install -y php-mysql</code>
err: ERROR 1045 (28000): Access denied for user ‘root‘@‘localhost‘ (using password: YES)
https://www.cnblogs.com/kerrycode/p/3861719.html
- <code>mysqld_safe --user=mysql --skip-grant-tables --skip-networking &
- mysql -u root mysql
- select Host, User, Password,password_expired from user where user=‘root‘ and host=‘root‘ or host=‘localhost‘;
- update user set password=PASSWORD(‘pass@w4erd‘) where user=‘root‘ and host=‘root‘ or host=‘localhost‘;
- </code>
织梦引导中文件夹权限不能为写的方法:
setenforce 0
centos7 apache php mysql
标签:rest name pac ble 方法 for safe sys ast