Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/joshisumit/easy_wordpress
Shell script that easily installs wordpress on Ubuntu 12.04
https://github.com/joshisumit/easy_wordpress
Last synced: 12 days ago
JSON representation
Shell script that easily installs wordpress on Ubuntu 12.04
- Host: GitHub
- URL: https://github.com/joshisumit/easy_wordpress
- Owner: joshisumit
- License: mit
- Created: 2015-05-20T13:49:19.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-11-29T05:49:06.000Z (about 9 years ago)
- Last Synced: 2024-11-06T15:16:34.996Z (2 months ago)
- Language: Shell
- Homepage:
- Size: 15.6 KB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Easy Wordpress
**Easy Wordpress** easily creates wordpress hosting environment.
**Easy Wordpress** is a shell script that rapidly installs wordpress on Ubuntu 12.04, by eliminating a lot of the up front setup.
- You don't need to install/configure LEMP Stack(Linux,nginx,MySQL,PHP). :)
- If you have already installed LEMP Stack, then it directly installs Wordpress on it.
- In a few minutes you'll be set up with a minimal, wordpress environment.
- You can easily remove Easy Wordpress Installation by running `cleanup` script.##Pre-requisites
1. This script requires non-root user account on your server with sudo privileges for its execution or it should be executed with root user.
2. This script requires `sample_nginx_config` file for its execution.##How to Set it up ?
git clone https://github.com/joshisumit/easy_wordpress.git
Execute script with:bash easy_wordpress
## Verify your wordpress installationOnce the script has completed successfully,just open example.com in your browser, famous wordpress installation wizard will greet you (e.g. `example.com/wp-admin/install.php` ).
Verify following steps:
1. Check your example.com configuration (nginx server block) - `/etc/nginx/sites-available/example.com`
2. Check your example.com root directory - `/usr/share/nginx/www/example.com/htdocs`
3. Login to mysql databaseCheck for example.com_db :
show databases;
List all tables of example_db (i.e. tables starting with wp_) :
use example.com_db;
show tables;
Check example.com_db user(i.e. wordpuser) by runnning:
SELECT User FROM mysql.user;##Issues
#### Issue 1) `Your PHP installation appears to be missing the MySQL extension which is required by WordPress`
Edit the following file:
sudo nano /etc/php5/fpm/php.ini
Uncomment the following line, if it is commented and restart php5-fpm service;extension=msql.so
#### Issue2) `nginx 502 - bad gateway`
Open the following file:
sudo nano /etc/php5/fpm/pool.d/www.conf
edit the line
listen = /var/run/php5-fpm.sock
Change it to:listen = 127.0.0.1:9000