AWS RHEL7 LAMPP setup and wordpress move
来源:互联网 发布:家用网络硬盘存储器 编辑:程序博客网 时间:2024/06/06 14:24
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 RHEL7chmod 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
- AWS RHEL7 LAMPP setup and wordpress move
- AWS Ubuntu Lampp + wordpress install
- AWS RHEL7 FTP setup by VSFTPD
- AWS RHEL7 virbr0 and firewalld iptables
- Teamviewer install on AWS RHEL7 and Ubuntu
- proftpd usage in AWS Ubuntu (LAMPP)
- lampp
- Nomachine AWS RHEL7 & Ubuntu Remote desktop connection
- Archlinux下wordpress本地安装 &&Archlinux下lampp环境配置..
- Setup Apache, PHP, MySQL and WordPress on Mac OS X 10.8.3
- [AWS] 记录在AWS上部署WordPress遇到的问题
- 【学习笔记】AWS之wordpress网站部署
- linux move and install
- move and forward
- Move WordPress Website To New Server
- AWS AMI, Region and AZ
- Install and setup MediaWiki
- Mediawiki setup and extension
- 利用MVC、Unity将Service实现Restful
- 是否为空
- 用Beyond Compare如何管理你的会话
- Elasticsearch源码分析三--调用Lucene查询接口之词条查询
- 第十周项目—阅读程序,写出执行结果(2)
- AWS RHEL7 LAMPP setup and wordpress move
- 最长公共子序列(LCS)
- linux基础(17)--使用GPT分区、扩展swap分区--RHEL6.5
- bzoj4567 [Scoi2016]背单词
- c++primer第二遍阅读感悟(chap5)
- OSCAR环境搭建
- 使用easyui时遇到的问题(v1.4.3)
- jQuery AJAX实现调用页面后台方法
- Java Buffer类详解