centos7 apache php mysql
内容导读
互联网集市收集整理的这篇技术教程文章主要介绍了centos7 apache php mysql,小编现在分享给大家,供广大互联网技能从业者学习和参考。文章包含2332字,纯文字阅读大概需要4分钟。
内容图文
![centos7 apache php mysql](/upload/InfoBanner/zyjiaocheng/521/a0bc0997fa984a4ab3a24ab746fde1c7.jpg)
deploy apache php mysql
[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
kill -s 9 17034
ps aux | grep yum
rm -f /var/run/yum.pid
%%%%%%%%%%%%%% Https Apache Parts: %%%%%%%%%%
PHP Apahce Mysql centos 7:
https://blog.csdn.net/baibaigao/article/details/89406201
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
%%%%%%%%%%%%%% PHP Parts: %%%%%%%%%%
yum -y install php
mv index.html index.php
<?
php phpinfo();
?>
systemctl restart httpd
%%%%%%%%%%%%% Mysql Parts: %%%%%%%%%
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
hostnamectl set-hostname webtest86
systemctl enable httpd
systemctl enable mysqld
systemctl disable firewalld
#############针对织梦系统:#############
yum -y install php-gd
yum install -y php-mysql
err: ERROR 1045 (28000): Access denied for user ‘root‘@‘localhost‘ (using password: YES)
https://www.cnblogs.com/kerrycode/p/3861719.html
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‘;
织梦引导中文件夹权限不能为写的方法:
setenforce 0
centos7 apache php mysql
标签:rest name pac ble 方法 for safe sys ast
本文系统来源:https://blog.51cto.com/zhangfang526/2483748
内容总结
以上是互联网集市为您收集整理的centos7 apache php mysql全部内容,希望文章能够帮你解决centos7 apache php mysql所遇到的程序开发问题。 如果觉得互联网集市技术教程内容还不错,欢迎将互联网集市网站推荐给程序员好友。
内容备注
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 gblab@vip.qq.com 举报,一经查实,本站将立刻删除。
内容手机端
扫描二维码推送至手机访问。