How to install MyOzeki on Linux

In this article, you can find the steps needed to set up the MyOzeki Content delivery platform on Linux. This guide will walk you through the necessary procedures to successfully install and run MyOzeki on an Ubuntu-based system. You will learn what you need to install on Ubuntu, and where to copy the MyOzeki files to get your system up and running.

What is Ubuntu Server?

Ubuntu Server is a Linux-based operating system distribution designed specifically for use in server environments. It is part of the larger Ubuntu family and is optimized for delivering reliable, high-performance services. It is a popular option for both small-scale setups and big business deployments since it provides a platform for hosting websites, applications, databases, and numerous networking services.

How to install MyOzeki on Linux (plain instructions)

To install MyOzeki on Linux

  1. Download and Install Ubuntu Server
  2. Setup Apache, PHP, Curl
  3. Enable SSL and Rewrite modules
  4. Restart Apache service
  5. Install Certbot using Snap
  6. Obtain an SSL certificate using Certbot
  7. Enable Remote Access in Firewall
  8. Download and Install MyOzeki Files
  9. Set ownership and group
  10. Access MyOzeki in the browser

Download and Install Ubuntu Server

To begin the process, you need to install Ubuntu Server on your computer. Load the https://ubuntu.com/#download website, where you need to download Ubuntu Desktop. Click on the downloaded file, and start to run on your PC. Wait for the Mouse integration, then select the "Install Ubuntu" on the Welcome page. Select a suitable language, then click on the "Continue" button. Opt for Normal installation, then click on the "Install Now" button. Confirm the changes, by clicking on the "Continue" button again. Choose your location, then specify some details as your name, username, and provide a password. Save the settings with the "Continue" button. The installation process will be finished when you can see a notification about completed installation. You need to restart your computer to use the new installations. Click on the "Restart Now" button. After restarting the computer, Ubuntu will run automatically. Login to your profile, by entering the previously provided login information into the certain forms. There will appear some suggestions, but if you are not interested in, you can skip them easily.

Setup Apache, PHP, Curl

Once the installation process is done, you need to set up the server. First, open the terminal and run the following commands to update the package lists and upgrade existing packages. Install the Apache web server using the following command: "sudo apt install apache2", then install PHP and required extensions: "sudo apt install php libapache2-mod-php php-curl php-mbstring". Once Apache is installed, it will start automatically. Load in the browser the Apache2 Default Page to test the correct operation for the Apache2 Server after installation. If the page can load, it means that the Apache HTTP server can work properly.

Copy these:
sudo apt install apache2
sudo apt install php libapache2-mod-php php-curl php-mbstring

Configure HTTPS with Let's encrypt

Certbot will guide you through the process of obtaining and installing the SSL certificate. It will also automatically configure your Apache virtual host to use HTTPS. Open the terminal and run the following commands to configure HTTPS with Let's encrypt. Enable the SSL and Rewrite modules for Apache using the following commands: "sudo a2enmod ssl" and "sudo a2enmod rewrite". After making changes to the Apache server configuration, it's important to restart the Apache service to apply those changes. The command "systemctl restart apache2" is used to restart the Apache service on systems. Install Certbot using Snap, which is a package management system: "sudo snap install --classic certbot". Create a symbolic link for Certbot to make it accessible from the command line: "sudo ln -s /snap/bin/certbot /usr/bin/certbot". Run Certbot to obtain an SSL certificate for your Apache web server. Replace your_domain.com with your actual domain name: "sudo certbot --apache". Enter your e-mail address, then agree on the terms of service. Type "yes" if you agree. Enter your domain name you would like on your certificate. After completing these steps, your website should be accessible via HTTPS with a valid SSL certificate.

Copy these:
sudo a2enmod ssl
sudo a2enmod rewrite
sudo snap install --classic certbot
sudo ln -s /snap/bin/certbot /usr/bin/certbot
sudo certbot --apache

Enable remote access in the firewall using IP tables

Enabling remote access using IP tables involves allowing specific incoming network traffic to your server. Enter: "sudo ufw enable" command to enable the firewall. Allow incoming SSH traffic with: "sudo ufw allow ssh". Allow the 'Apache Full' profile, which includes both HTTP and HTTPS ports: "sudo ufw allow 'Apache Full'". If you have other services running or specific needs, you can further configure rules as necessary.

Copy these:
sudo ufw enable
sudo ufw allow ssh
sudo ufw allow 'Apache Full'

Download and install MyOzeki files in the www root

To download and install the MyOzeki files in the www root directory on Ubuntu, you'll need to follow these general steps. Start by downloading the MyOzeki files. Download the appropriate archive, containing the necessary files for the application. After downloading, extract the files to a temporary location. Move or copy the extracted files to the appropriate location in the www root directory. By default, the www root directory is usually /var/www/html/. "sudo cp * /var/www/html/" Change Ownership and permissions, which changes the ownership and group of the html/ directory and its contents to www-data, which is the user and group typically used by web servers to serve files. The -R flag makes this change recursively: "sudo chmod -R www-data:www-data html/". Enter user password for further settings.

Copy these:
sudo cp * /var/www/html/
sudo chmod -R www-data:www-data html/

Open MyOzeki in a browser

Once everything is set up, you should be able to access the MyOzeki application in a web browser by navigating to the appropriate URL.

Summary

This step-by-step guide contains detailed instructions for installing and setting up the MyOzeki on Linux. It guides you through the process to successfully install and run MyOzeki on an Ubuntu-based system. By using the MyOzeki Platform, businesses can streamline their messaging processes and enhance their communication strategy.

More information