Skip to content

Fork of wordpress 4.1.1 it has a custom .gitignore as well as a README.md for my YouTube channel.

License

Notifications You must be signed in to change notification settings

andrewpuch/wordpress_4_1_1

Repository files navigation

Wordpress Staging

sudo su
apt-get update
apt-get upgrade -y
apt-get dist-upgrade -y
apt-get autoremove -y
apt-get install apache2 php5 php5-cli php5-fpm php5-gd libssh2-php libapache2-mod-php5 php5-mcrypt php5-mysql git unzip zip postfix php5-curl mailutils php5-json -y
a2enmod rewrite headers
php5enmod mcrypt

nano /etc/apache2/sites-enabled/000-default.conf

<VirtualHost *:80>
        #ServerName example.com
        #ServerAlias www.example.com
        DocumentRoot /var/www/staging

        <Directory /var/www/staging>
                Options -Indexes
                AllowOverride All
                Order allow,deny
                Allow from all
        </Directory>
</VirtualHost>

cd /var/www/html
rm -rf *
cd ../
mkdir staging
cd staging
git clone https://github.com/andrewpuch/wordpress_4_1_1.git .
chmod -R 744 .
chown -R www-data:www-data .

service apache2 restart

After Wordpress Is Configured

define('WP_REDIS_HOST', '');

About

Fork of wordpress 4.1.1 it has a custom .gitignore as well as a README.md for my YouTube channel.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published