Permalink
Browse files

add README.MD File

  • Loading branch information...
diegoaceneves committed Nov 29, 2016
1 parent ac9958f commit e9b9eb919094933e9a4bdd59b7a425f85231805c
Showing with 43 additions and 0 deletions.
  1. +43 −0 README.md
View
@@ -0,0 +1,43 @@
# WORDPRESS Custon
Wordpress custon and clean installation.
- MySQL config on Envs
- Plugins
### Installation
Wordpress requires HTTP Server (Apache2/Httpd || Nginx), PHP, MySQL/MariaDB.
Debian/Ubuntu:
```sh
$ cd /var/www
$ git clone https://github.com/diegoaceneves/wpcuston.git
$ mv wpcuston yoursite.com
$ chown www-data:www-data yoursite.com -R
$ mv CONTRIB/*conf /etc/apache2/sites-available/
$ a2ensite "YourVhostFiles.conf"
```
Fedora/RHEL/CentOS
```sh
$ cd /var/www
$ git clone https://github.com/diegoaceneves/wpcuston.git
$ mv wpcuston yoursite.com
$ chown apache:apache yoursite.com -R
$ mv CONTRIB/*conf /etc/httpd/conf.d/
```
Create a mysql database:
```sh
MariaDB [(none)]> CREATE DATABASE DB_NAME ;
MariaDB [(none)]> GRANT ALTER, CREATE, DELETE, DROP, INDEX, INSERT, SELECT, UPDATE ON DB_NAME.* TO 'DB_USER'@'YOUR.HTTP.IP.ADDRESS.' IDENTIFIED BY 'YOURSTRONGBDPASS';
MariaDB [(none)]> FLUSH PRIVILEGES;
```
- Configure Vhost Files;
- Restart your webserve;
- Accesse the domain;
- Finish the instalation.

0 comments on commit e9b9eb9

Please sign in to comment.