In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-23 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/03 Report--
Experiment: the php module of LAMP applies phpmyadm and wordpress
Two mainframes
An Avram httpdPhonephp
A B:mariadb server
1 A:
Yum httpd php php-mysql
Vim / etc/php.ini
Date.timezone = Asia/Shanghai
Vim / etc/httpd/conf/httpd.conf
DirectoryIndex index.php index.html
Systemctl restart httpd
Vim / var/www/html/index.php
2 B
Yum install mariadb-server
Systemctl start mariadb
Mysql_secure_installation
Mysql-uroot-pcentos
> grant all on *. * to root@'192.168.37.%' identified by 'centos'
Vim / var/www/html/index2.php
Close ()
Test http://websrv/
3 implement phpmyadmin
Yum install php-mbstring
Unzip phpMyAdmin-4.0.10.20-all-languages.zip
Cp-r phpMyAdmin-4.0.10.20-all-languages / var/www/html/pma
Cd / var/www/html/pma
Cp config.sample.inc.php config.inc.php
Vim config.inc.php
$cfg ['Servers'] [$I] [' host'] = 'mysqlserverip'
Test http://websrv/pma/
Root,centos
Deploy wordpress on 4A
Mysql-uroot-pcentos
> create database wpdb
> grant all wpdb.* to wpuser@'192.168.37.%' identified by 'centos'
> flush privileges
Tar xvf wordpress-4.8.1-zh_CN.tar.gz
Cp-r wordpress / var/www/html/blog
Cd / var/www/html/blog
Cp wp-config-sample.php wp-config.php
Vim wp-config.php
Define ('DB_NAME',' wpdb')
Define ('DB_USER',' wpuser')
Define ('DB_PASSWORD',' centos')
Define ('DB_HOST',' 192.168.37.107')
Test http://websrv/blog
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
1. Set jDKJAVA_HOME D:\ Java\ jdk1.7.3CLASSPATH.;% JAVA_HOME%\ lib\ dt.jar;Path
© 2024 shulou.com SLNews company. All rights reserved.