Skip to content

installation guide for vichan ubuntu 20.04

technopalms edited this page Nov 16, 2022 · 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 mysql-server
 
sudo mysql_secure_installation
 
you can press Y and then ENTER
 
mysql > CREATE USER 'lol'@'localhost' IDENTIFIED BY 'password';
mysql > CREATE DATABASE vichan;
mysql > GRANT ALL PRIVILEGES ON vichan . * TO 'lol'@'localhost';
mysql > 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.