Atlantic.Net Blog

How to Install Atlantis CMS with Apache on Oracle Linux 8

Hitesh Jethva
by Atlantic.Net (511 posts) under Dedicated Server Hosting, Tutorials
0 Comments

Atlantis CMS is a free and open-source content management system that allows you to easily create a website. It is designed for agencies and marketers to simplify the process of building and maintaining a website. It features on-page editing, a visual form builder, and simple module integrations. Atlantis CMSis built on top of an MVC framework that enables any beginner to create a website, blog, community, or network.

This post will explain how to install Atlantis CMS on Oracle Linux 8.

Prerequisites

  • A server running Oracle Linux 8 on the Atlantic.Net Cloud Platform
  • A root password configured on your server

Step 1 – Create Atlantic.Net Cloud Server

First, log in to your Atlantic.Net Cloud Server. Create a new server, choosing Oracle Linux 8 as the operating system with at least 2GB RAM. Connect to your Cloud Server via SSH and log in using the credentials highlighted at the top of the page.

Once you are logged in to your server, run the following command to update your base system with the latest available packages.

dnf update -y

Step 2 – Install Apache, MariaDB, and PHP

Before starting, you will need to install an Apache web server, MariaDB database server, and PHP on your system.

Let’s start with installing the Apache and MariaDB server using the following command:

dnf install httpd mariadb-server  -y

Once both packages are installed, run the following command to install PHP with other required extensions:

dnf install php php-fpm php-common php-gmp php-curl php-json php-intl php-mbstring php-xmlrpc php-mysqli php-gd php-xml php-cli php-zip -y

Next, start the Apache, MariaDB, and PHP-FPM services and enable them to start at system reboot:

systemctl start httpd mariadb php-fpm
systemctl enable httpd mariadb php-fpm

Next, edit the PHP configuration file and change the default settings:

nano /etc/php.ini

Change the following lines:

short_open_tag = On
memory_limit = 256M
upload_max_filesize = 100M
max_execution_time = 360
max_input_vars = 1500
date.timezone = UTC

Save and close the file when you are done.

Step 3 – Create a Database for Atlantis

Next, you will need to create a database and user for Atlantis. First, log in to the MariaDB shell with the following command:

mysql

Once you are logged in, create a database and user for Atlantis:

CREATE DATABASE atlantis;
CREATE USER 'atlantis'@'localhost' IDENTIFIED BY 'password';

Next, grant all privileges to the Atlantis database:

GRANT ALL PRIVILEGES ON atlantis.* TO 'atlantis'@'localhost';

Next, flush the privileges and exit from the MariaDB:

FLUSH PRIVILEGES;
EXIT;

Step 4 – Install Atlantis CMS

First, you will need to install PHP Composer on your system. You can install it with the following command:

curl -sS https://getcomposer.org/installer | php 
mv composer.phar /usr/local/bin/composer 
chmod +x /usr/local/bin/composer

Next, change the directory to the Apache web root and download the latest version of Atlantis CMS using the Composer command:

cd /var/www/html
composer create-project atlantis-labs/atlantis3 --prefer-dist atlantis3

Next, navigate to the Atlantis directory and migrate the database with the following command:

cd atlantis3/
php artisan atlantis:set:db

You will be asked to define your database as shown below:

 Do you want to set database credential? (yes/no) [no]:
 > yes

 Host:
 > localhost

 Database name:
 > atlantis

 Username:
 > atlantis

 Password:
 > 

Database configuration is changed

Next, run the following command to run the migration:

php artisan atlantis:install

You should see the following output:

 Do you want to run migrations? (yes/no) [no]:
 > yes

Migrations complete.

 Do you want to run seeds? (yes/no) [no]:
 > yes

Seeds complete.
Installation complete.

Next, set proper permissions and ownership on the Atlantis directory:

chown -R apache:apache /var/www/html/atlantis3/
chmod -R 755 /var/www/html/atlantis3/

Step 5 – Configure Apache for Atlantis

Next, you must create an Apache virtual host configuration file to host Atlantis. You can create it with the following command:

nano /etc/httpd/conf.d/atlantis.conf

Add the following lines:

<VirtualHost *:80>

ServerName atlantis.example.com
DocumentRoot /var/www/html/atlantis3

<Directory /var/www/html/atlantis3/>
    Options -Indexes +FollowSymLinks
    AllowOverride All
</Directory>

ErrorLog /var/log/httpd/atlantis-error.log
CustomLog /var/log/httpd/atlantis-access.log combined

</VirtualHost>

Save and close the file, then restart the Apache service to apply the changes:

systemctl restart httpd

You can check the status of Apache with the following command:

systemctl status httpd

You will get the following output:

● httpd.service - The Apache HTTP Server
   Loaded: loaded (/usr/lib/systemd/system/httpd.service; disabled; vendor preset: disabled)
  Drop-In: /usr/lib/systemd/system/httpd.service.d
           └─php-fpm.conf
   Active: active (running) since Tue 2022-07-19 06:13:58 EDT; 8s ago
     Docs: man:httpd.service(8)
 Main PID: 34936 (httpd)
   Status: "Started, listening on: port 80"
    Tasks: 213 (limit: 11409)
   Memory: 24.6M
   CGroup: /system.slice/httpd.service
           ├─34936 /usr/sbin/httpd -DFOREGROUND
           ├─34938 /usr/sbin/httpd -DFOREGROUND
           ├─34939 /usr/sbin/httpd -DFOREGROUND
           ├─34940 /usr/sbin/httpd -DFOREGROUND
           └─34941 /usr/sbin/httpd -DFOREGROUND

Jul 19 06:13:58 oraclelinux8 systemd[1]: httpd.service: Succeeded.
Jul 19 06:13:58 oraclelinux8 systemd[1]: Stopped The Apache HTTP Server.
Jul 19 06:13:58 oraclelinux8 systemd[1]: Starting The Apache HTTP Server...

Step 6 – Access Atlantis CMS

Now, open your web browser and access the Atlantis web interface using the URL http://atlantis.example.com/admin. You will be redirected to the Atlantis login page:
Atlantis login page
Provide the default username admin and password as admin123, then click on the Login button. You should see the Atlantic CMS dashboard on the following page:
Atlantis dashboard page

Conclusion

In this post, we explained how to install Atlantis CMS on Oracle Linux 8. You can now easily create and deploy your website or blog on the web. Try it on dedicated hosting from Atlantic.Net!

Get A Free To Use Cloud VPS

Free Tier Includes:
G3.2GB Cloud VPS Free to Use for One Year
50 GB of Block Storage Free to Use for One Year
50 GB of Snapshots Free to Use for One Year


Looking for a Hosting Solution?

We Provide Cloud, Dedicated, & Colocation.

  • Seven Global Data Center Locations.
  • Flexible Private, Public, & Hybrid Hosting.
  • 24x7x365 Security, Support, & Monitoring.
Contact Us Now! Med Tech Award FTC
SOC Audit HIPAA Audit HITECH Audit

Recent Posts

How to Set Up Kubernetes Cluster Using Minikube on Arch Linux
How to Install Jenkins on Arch Linux
Which Compliance Standards Require an IPS?
Install Netdata Monitoring Tool on Arch Linux
How to Install Vue.js on Arch Linux

Get started with 12 months of free cloud VPS hosting

Free Tier includes:
G3.2GB Cloud VPS Server Free to Use for One Year
50 GB of Block Storage Free to Use for One Year
50 GB of Snapshots Free to Use for One Year


New York, NY

100 Delawanna Ave, Suite 1

Clifton, NJ 07014

United States

San Francisco, CA

2820 Northwestern Pkwy,

Santa Clara, CA 95051

United States

Dallas, TX

2008 Lookout Dr,

Garland, Texas 75044

United States

Ashburn, VA

1807 Michael Faraday Ct,

Reston, VA 20190

United States

Orlando, FL

440 W Kennedy Blvd, Suite 3

Orlando, FL 32810

United States

Toronto, Canada

20 Pullman Ct, Scarborough,

Ontario M1X 1E4

Canada

London, UK

14 Liverpool Road, Slough,

Berkshire SL1 4QZ

United Kingdom

Resources