Installation Guide for Ubuntu

Back

In an order terminal

Root access to the command prompt

~su

Installing the necessary packages for the server

#apt install apache2 mariadb-server php php-mysql certbot php libapache2-mod-php php-zip php-imagick php-apcu php-intl php-gmp php-bcmath php-xml php-gd php-mysql php-curl php-mbstring smbclient php-ldap

Opens accommodation location

#cd /var/www/html

Downloading the app

#wget https://emile.ovh/zimhosting_panel_stable_release_1.2.zip

Extracting the archive

#unzip zimhosting_panel_stable_release_1.2.zip

Deleting index.html file, Apache server default file

#rm /var/www/html/index.html

Assignment of rights to the user and the group www-data

#chown -R www-data:www-data /var/www/html

Exclusive attribution to the user and the www-data group

#chmod -R 770 /var/www/html

Access to the MySQL database

#mysql -u root -p

Configuration command for root account password

mysql>use mysql;
mysql>SET PASSWORD FOR 'root'@'localhost' = PASSWORD('mot de passe');
mysql>FLUSH PRIVILEGES;
mysql>exit;

Configuring the password for database connection

#nano /var/www/html/config/db_connexion.php