Skip to content

Instantly share code, notes, and snippets.

@dbirks
Last active December 8, 2017 09:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dbirks/c91693225054c2e2c090a2e4cc8afe0e to your computer and use it in GitHub Desktop.
Save dbirks/c91693225054c2e2c090a2e4cc8afe0e to your computer and use it in GitHub Desktop.
chan setup notes
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 david@tellus.space
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