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
chmod 755 xampp-linux-*-installer.run
Start the lampp:
2, setup 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
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,
6, download xionghuilin.com PHP source code and upload to AWS RHEL7, and configure the httpd-xampp.conf file.
added the directory description,
<directory "here add your intended upload location">
Options Indexes FollowSymLinks ExecCGI Includes
Allow from all
Require all granted
remember to change username/password in the wp-config.php, detail refer to http://xionghuilin.com/?p=36
7, test the result with success,