Elxis CMS is a free and open supply CMS written within the PHP language that permits us to create a web site from small to web sites to company web sites. It’s easy, quick and straightforward to make use of so you’ll be able to simply set up it with none programming abilities. It comes with many options equivalent to, Help multi-sites and a number of languages, Helps SSL/TLS, Multi-level menus, Efficiency monitor, Picture galleries, Responsive design and far more.
On this tutorial, we’ll clarify easy methods to set up Elxis CMS on Ubuntu 18.04 server.
Necessities
- A server working Ubuntu 18.04.
- A static IP deal with 172.20.10.eight is about as much as your server.
- A non-root consumer with sudo privileges.
Getting Began
Earlier than beginning, you will want to replace your system with the most recent model. You are able to do this by working the next command:
sudo apt-get replace -y
sudo apt-get improve -y
As soon as your system is up to date, restart the system to use the modifications.
Set up LAMP Server
First, set up Apache internet server, MariaDB server, PHP and different PHP modules by working the next command:
sudo apt-get set up apache2 mariadb-server php7.2 php7.2-mysql php7.2-curl php7.2-xml php7.2-intl php7.2-cli php7.2-ldap php7.2-zip php7.2-readline php7.2-imap php7.2-json php7.2-cgi libapache2-mod-php7.2 php7.2-xmlrpc php7.2-gd php7.2-mbstring php7.2 php7.2-common php7.2-xmlrpc php7.2-soap php7.2-tidy php7.2-recode php7.2-sqlite3 php7.2-intl unzip wget -y
As soon as all of the packages are put in, open php.ini file and make some modifications:
sudo nano /and so forth/php/7.2/apache2/php.ini
Make the next modifications:
memory_limit = 256M upload_max_filesize = 150M max_execution_time = 360 date.timezone = Asia/Kolakata
Save and shut the file.
Configure MariaDB
By default, MariaDB shouldn’t be secured. So you will want to safe it first. You possibly can safe it by working the next command:
sudo mysql_secure_installation
Reply all of the questions as beneath:
Enter present password for root (enter for none): ENTER Set root password? [Y/n]: N Take away nameless customers? [Y/n]: Y Disallow root login remotely? [Y/n]: Y Take away take a look at database and entry to it? [Y/n]: Y Reload privilege tables now? [Y/n]: Y
As soon as the MariaDB is secured, log in to MariaDB shell:
mysql -u root -p
Present your root password. Then, create a database and consumer for Elxis:
MariaDB [(none)]> CREATE DATABASE elxis;
MariaDB [(none)]> CREATE USER 'elxis'@'localhost' IDENTIFIED BY 'password';
Subsequent, grant all privileges to the Elxis with the next command:
MariaDB [(none)]> GRANT ALL ON elxis.* TO 'elxis'@'localhost' IDENTIFIED BY 'password' WITH GRANT OPTION;
Subsequent, flush the privileges and exit from the MariaDB shell:
MariaDB [(none)]> FLUSH PRIVILEGES;
MariaDB [(none)]> EXIT;
Set up Elxis
First, obtain the most recent model of Elxis from their official web site’s obtain web page.
http://www.elxis.org/download.html
And retailer it in your server, e.g. in /tmp. As soon as the obtain is accomplished, unzip the downloaded file to the Apache root listing with the next command:
sudo unzip elxis_4.6_phaethon_rev1958.zip -d /var/www/html/elxis
Subsequent, give correct permissions to the elxis listing:
chown -R www-data:www-data /var/www/html/elxis
chmod -R 777 /var/www/html/elxis
Subsequent, create an Apache digital host file for Elxis:
sudo nano /and so forth/apache2/sites-available/elxis.conf
Add the next strains:
<VirtualHost *:80> ServerAdmin [email protected] DocumentRoot /var/www/html/elxis ServerName instance.com ServerAlias www.instance.com <Listing /var/www/html/elxis/> Choices FollowSymlinks AllowOverride All Require all granted </Listing> ErrorLog ${APACHE_LOG_DIR}/error.log CustomLog ${APACHE_LOG_DIR}/entry.log mixed </VirtualHost>
Save and shut the file. Then, allow Apache digital host and rewrite module with the next command:
sudo a2ensite elxis
sudo a2enmod rewrite
Lastly, restart Apache service with the folowing command:
sudo systemctl restart apache2
Entry Elxis
Now, open your internet browser and kind the URL http://example.com. You’ll be redirected to the next web page:
Now, click on on the Proceed button. It’s best to see the next web page:
Settle for the license settlement and click on on the Proceed button. It’s best to see the next web page:
Now, present your Database particulars and click on on the Submit button. It’s best to see the next web page:
Present your admin account particulars and click on on the Submit button. As soon as the set up is accomplished it’s best to see the next web page:
Now, click on on the Go to your new web site button. It’s best to see the Elxis default dashboard within the following web page:
Elxis has been efficiently put in.
Comments