AWS RHEL7 LAMPP setup and wordpress move
2016-05-10 13:43
405 查看
Setup the lampp on the AWS RHEL7, and tried to move the blog xionghuilin.com to AWS, procedure as below,
1, install lampp on AWS RHEL7
Start the lampp:
2, setup security:
this operation will setup username / password to protect the phpmyadmin.
3, setup the Mysql root password.
4, access the phpMyAdmin from the outside
in file
and line:
remove phpmyadmin, restart the lampp, after this operation, you can access from external network by input the username / password set earlier (command
Remember to change / phpmyadmin / config.inc.php, the root password to mysql root password set earlier.
5, import the mysql DB through phpmyadmin.
First export the DB from xionghuilin.com, then import through phpmyadmin, can refer to this link for detail,
http://xionghuilin.com/?p=36
6, download xionghuilin.com PHP source code and upload to AWS RHEL7, and configure the httpd-xampp.conf file.
added the directory description,
remember to change username/password in the wp-config.php, detail refer to http://xionghuilin.com/?p=36
7, test the result with success,
http://54.169.139.195/Blog-XiongHuilin/
reference:
https://www.apachefriends.org/faq_linux.html
1, install lampp on AWS RHEL7
chmod 755 xampp-linux-*-installer.run sudo ./xampp-linux-*-installer.run
Start the lampp:
/opt/lampp/lampp start
2, setup security:
/opt/lampp/lampp security
this operation will setup username / password to protect the phpmyadmin.
3, setup the Mysql root password.
mysqladmin --user=root password "newpassword"
4, access the phpMyAdmin from the outside
in file
/opt/lampp/etc/extra/httpd-xampp.conf
and line:
<LocationMatch "^/(?i:(?:xampp|security|licenses|phpmyadmin|webalizer|server-status|server-info))">
remove phpmyadmin, restart the lampp, after this operation, you can access from external network by input the username / password set earlier (command
/opt/lampp/lampp security).
Remember to change / phpmyadmin / config.inc.php, the root password to mysql root password set earlier.
5, import the mysql DB through phpmyadmin.
First export the DB from xionghuilin.com, then import through phpmyadmin, can refer to this link for detail,
http://xionghuilin.com/?p=36
6, download xionghuilin.com PHP source code and upload to AWS RHEL7, and configure the httpd-xampp.conf file.
emacs /opt/lampp/etc/extra/httpd-xampp.conf
added the directory description,
<directory "here add your intended upload location"> Options Indexes FollowSymLinks ExecCGI Includes AllowOverride All Order allow,deny Allow from all Require all granted </directory>
remember to change username/password in the wp-config.php, detail refer to http://xionghuilin.com/?p=36
7, test the result with success,
http://54.169.139.195/Blog-XiongHuilin/
reference:
https://www.apachefriends.org/faq_linux.html
相关文章推荐
- MySQL中的integer 数据类型
- Linux socket 初步
- MySQL存储过程
- Linux Kernel 4.0 RC5 发布!
- linux lsof详解
- linux 文件权限
- Linux 执行数学运算
- 10 篇对初学者和专家都有用的 Linux 命令教程
- Linux 与 Windows 对UNICODE 的处理方式
- Ubuntu12.04下QQ完美走起啊!走起啊!有木有啊!
- 解決Linux下Android开发真机调试设备不被识别问题
- 运维入门
- 运维提升
- Linux 自检和 SystemTap
- mysql中int、bigint、smallint 和 tinyint的区别与长度
- mysql load data 导出、导入 csv
- source命令执行SQL脚本文件