Last active
December 8, 2017 09:48
-
-
Save dbirks/c91693225054c2e2c090a2e4cc8afe0e to your computer and use it in GitHub Desktop.
chan setup notes
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://github.com/arisu-dev/arisuchan | |
debian 9 | |
apt install git apache2 mysql-server php php-mbstring php-gd php-pdo imagemagick php-mysql php-mcrypt | |
systemctl enable --now apache2 | |
mysql_secure_installation | |
cd /var/www/html/ | |
git clone https://github.com/arisu-dev/arisuchan.git | |
cp /etc/apache2/sites-available/{000-default.conf,reformedchan.conf} | |
cat /etc/apache2/sites-available/reformedchan.conf | |
``` | |
<VirtualHost *:80> | |
ServerAdmin [email protected] | |
DocumentRoot /var/www/html/arisuchan | |
ErrorLog ${APACHE_LOG_DIR}/error.log | |
CustomLog ${APACHE_LOG_DIR}/access.log combined | |
</VirtualHost> | |
``` | |
chown -R www-data: /var/www/html/arisuchan/ | |
a2dissite 000-default.conf | |
a2ensite reformedchan.conf | |
systemctl reload apache2 | |
run `install.php` | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment