Schedule reboots in the Ubuntu
Schedule reboots in the Ubuntu
00 09 * * * /sbin/shutdown -r +5
sudo apt-get update
sudo apt upgrade
sudo apt clean
sudo
apt-get -y install sudo wget gnupg2
echo deb http://debian.koha-community.org/koha 22.05 main | sudo tee /etc/apt/sources.list.d/koha.list
wget -O- http://debian.koha-community.org/koha/gpg.asc | sudo apt-key add -
sudo
apt update
sudo
apt install -y koha-common
sudo
nano /etc/koha/koha-sites.conf
INTRAPORT="8080"
sudo
a2enmod rewrite
sudo
a2enmod cgi
sudo
service apache2 restart
sudo
koha-create --create-db library
sudo
nano /etc/apache2/ports.conf
Edit
ports.conf & add port 8080
Listen
8080
sudo
a2dissite 000-default
sudo
a2enmod deflate
sudo
a2ensite library
sudo
service apache2 restart
sudo apt update
sudo apt install xz-utilsThe following commands are allowed to edit on SFTP/FTP
sudo find /etc/koha/ -type d -exec chmod 777 {} \;
sudo find /etc/koha/ -type f -exec chmod 666 {} \;
Open terminal [ctrl+T] and hit
sudo ufw status
Apache Full ALLOW Anywhere
22 ALLOW Anywhere
3306 ALLOW 161.202.20.0/24
3306 on eth1 ALLOW Anywhere
3306 ALLOW Anywhere
Apache Full (v6) ALLOW Anywhere (v6)
22 (v6) ALLOW Anywhere (v6)
3306 (v6) on eth1 ALLOW Anywhere (v6)
3306 (v6) ALLOW Anywhere (v6)
There is no 8080 port in above list
Now allow 8080 port
sudo ufw allow
Login MySQL using mysql -u root -p CREATE USER 'superuser'@'localhost' IDENTIFIED BY 'password'; GRANT ALL PRIVILEGE...