forked from savetheinternet/Tinyboard
-
Notifications
You must be signed in to change notification settings - Fork 198
installation guide for vichan ubuntu 20.04
aaaaaaaaaaaaaaaaa edited this page Jul 30, 2023
·
4 revisions
sudo apt-get update
sudo apt-get install apache2
sudo apt-get install php7.2 libapache2-mod-php7.2 php7.2-common php7.2-curl php7.2-mbstring php7.2-xmlrpc php7.2-mysql php7.2-gd php7.2-xml php7.2-intl php7.2-ldap php7.2-imagick php7.2-json php7.2-cli
apt install php7.2-bcmath
a2enmod php7.2
sudo apt update
sudo apt-get install git
cd /var/www/html
git clone https://github.com/vichan-devel/vichan
sudo apt-get install composer
composer install
sudo apt install mariadb-server
sudo mariadb-secure-installation
you can press Y and then ENTER
mariadb > CREATE USER 'lol'@'localhost' IDENTIFIED BY 'password';
mariadb > CREATE DATABASE vichan;
mariadb > GRANT ALL PRIVILEGES ON vichan . * TO 'lol'@'localhost';
mariadb > FLUSH PRIVILEGES;
make sure to create a dir for cache and chmod 777 for vichan
head to /install.php make sure to create a dir for cache and chmod 777
make sure to edit your apache2 config and point it to /var/www/html/vichan/ to be the root dir.