How To Install RainLoop Webmail on CentOS 7 – Step by Step

Install RainLoop Webmail on CentOS 7

RainLoop is a web-based email client that provides a fresh, modern design, fast performance, hassle-free installation and upgrades, and many more features. RainLoop allows the user to login with multiple e-mail accounts even with different browser tabs. It can also be integrated with Google, Facebook, Twitter, Dropbox, etc. In this tutorial we will learn how To Install RainLoop Webmail on CentOS 7.

Table of Contents

Prerequisites

Step 1. First let’s start by ensuring your system is up-to-date.
Step 2. Install LAMP server.
Step 3. Installing RainLoop Webmail on CentOS.
Step 4. Configuring Apache for RainLoop.
Step 5. Accessing RainLoop Webmail.

Prerequisites

This article assumes you have at least basic knowledge of Linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple and assumes you are running in the root accge of Linount, if not you may need to add ‘sudo’ to the commands to get root privileges. I will show you through the step by step installation RainLoop Webmail on a CentOS 7 server.

Install RainLoop Webmail on CentOS 7

Step 1. First let’s start by ensuring your system is up-to-date.

yum clean all
yum -y update

Step 2. Install LAMP server.

A CentOS 7 LAMP stack server is required. If you do not have LAMP installed, you can follow our guide here. Also install required PHP modules:

yum -y install php-gd php-imap php-ldap php-odbc php-pear php-xml php-xmlrpc php-mbstring php-mcrypt php-mssql php-snmp php-soap php-tidy curl curl-devel

Step 3. Installing RainLoop Webmail on CentOS.

RainLoop Webmail developers have already created an installer script that will provide hassle-free download and extraction of the web files:

mkdir -p /var/www/rainloop
cd /var/www/rainloop
curl -sL https://repository.rainloop.net/installer.php | php

If the installation was a success, you should see the following message:

[Success] Installation is finished!

We will need to change some folders permissions:

chown -R apache:apache /var/www/rainloop
find /var/www/rainloop -type d -exec chmod 755 {} \;
find /var/www/rainloop -type f -exec chmod 644 {} \;

By default, MariaDB is not hardened. You can secure MariaDB using the mysql_secure_installation script. You should read and below each steps carefully which will set root password, remove anonymous users, disallow remote root login, and remove the test database and access to secure MariaDB.

mysql_secure_installation

Configure it like this:

- Set root password? [Y/n] y
- Remove anonymous users? [Y/n] y
- Disallow root login remotely? [Y/n] y
- Remove test database and access to it? [Y/n] y
- Reload privilege tables now? [Y/n] y

Next we will need to log in to the MariaDB console and create a database for the RainLoop. Run the following command:

mysql -u root -p

This will prompt you for a password, so enter your MariaDB root password and hit Enter. Once you are logged in to your database server you need to create a database for RainLoop installation:

CREATE DATABASE rainloop_db;
CREATE USER 'rainloop_user'@'localhost' IDENTIFIED BY '[your-password]';
GRANT ALL PRIVILEGES ON rainloop_db.* TO 'rainloop_user'@'localhost' IDENTIFIED BY '[your-password]' WITH GRANT OPTION;
FLUSH PRIVILEGES;
EXIT;

Step 4. Configuring Apache for RainLoop.

We will create Apache virtual host for your RainLoop website. First create ‘/etc/httpd/conf.d/vhosts.conf’ file with using a text editor of your choice:

nano /etc/httpd/conf.d/vhosts.conf
IncludeOptional vhosts.d/*.conf

Next, create the virtual host:

mkdir /etc/httpd/vhosts.d/
nano /etc/httpd/vhosts.d/yourdomain.com.conf

Add the following lines:

<VirtualHost YOUR_SERVER_IP:80>
ServerAdmin [email protected]
DocumentRoot /var/www/rainloop
ServerName yourdomain.com
ServerAlias www.yourdomain.com
ErrorLog "/var/log/httpd/yourdomain.com-error_log"
CustomLog "/var/log/httpd/yourdomain.com-access_log" combined

<Directory "/var/www/rainloop/">
DirectoryIndex index.html index.php
Options FollowSymLinks
AllowOverride All
Require all granted
</Directory>
</VirtualHost>

Save and close the file. Restart the Apache service for the changes to take effects:

systemctl restart httpd.service

Step 5. Accessing RainLoop Webmail.

RainLoop Webmail will be available on HTTP port 80 by default. Open your favorite browser and navigate to http://webmail.mydomain.com/?admin and complete the required the steps to finish the installation. If you are using a firewall, please open port 80 to enable access to the control panel.

The default admin login credentials are:

Username: admin
Password: 12345

Congratulation’s! You have successfully installed RainLoop. Thanks for using this tutorial for installing RainLoop Webmail on CentOS 7 systems. For additional help or useful information, we recommend you to check the official RainLoop website.

How To Install Microweber CMS on CentOS 7 Step by Step

Install Microweber CMS on CentOS 7

Microweber is an open source drag and drop CMS and it is built on top of Laravel. The core idea of the software is to let you create your own website, online shop or blog. Tagging all along will be different modules, customizations and features of the CMS, among them many specifically tailored for e-commerce enthusiasts and bloggers. In this tutorial we will learn how To Install Microweber CMS on CentOS 7.

Table of Contents

Step 1. First let’s start by ensuring your system is up-to-date.
Step 2. Install LAMP server.
Step 3. Intsalling Microweber on CentOS 7.
Step 4. Configuring MariaDB for Microweber CMS.
Step 5. Configuring Apache for Microweber.
Step 6. Accessing Microweber CMS.

This article assumes you have at least basic knowledge of Linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple and assumes you are running in the root accge of Linount, if not you may need to add ‘sudo’ to the commands to get root privileges. I will show you through the step by step installation Microweber on a CentOS 7 server.

Install Microweber CMS on CentOS 7

Step 1. First let’s start by ensuring your system is up-to-date.

yum clean all
yum -y update

Step 2. Install LAMP server.

A CentOS 7 LAMP stack server is required. If you do not have LAMP installed, you can follow our guide here. Also install required PHP modules:

yum -y install php-gd php-imap php-ldap php-odbc php-pear php-xml php-xmlrpc php-mbstring php-mcrypt php-mssql php-snmp php-soap php-tidy curl curl-devel

Step 3. Intsalling Microweber on CentOS 7.

Now, download the latest release of Microweber CMS and unzip it:

sudo mkdir -p /var/www/microweber
cd /var/www/microweber
wget https://download.microweberapi.com/ready/core/microweber-latest.zip
unzip microweber-latest.zip
rm microweber-latest.zip

We will need to change some folders permissions:

chown -R www-data:www-data /var/www/microweber/

Step 4. Configuring MariaDB for Microweber CMS.

By default, MariaDB is not hardened. You can secure MariaDB using the mysql_secure_installation script. you should read and below each steps carefully which will set root password, remove anonymous users, disallow remote root login, and remove the test database and access to secure MariaDB:

mysql_secure_installation

Configure it like this:

- Set root password? [Y/n] y
- Remove anonymous users? [Y/n] y
- Disallow root login remotely? [Y/n] y
- Remove test database and access to it? [Y/n] y
- Reload privilege tables now? [Y/n] y

Next we will need to log in to the MariaDB console and create a database for the Microweber CMS. Run the following command:

mysql -u root -p

This will prompt you for a password, so enter your MariaDB root password and hit Enter. Once you are logged in to your database server you need to create a database for Microweber CMS installation:

CREATE DATABASE microweber;
CREATE USER microweber@localhost IDENTIFIED BY 'your-strong-password';
GRANT ALL PRIVILEGES ON microweber.* TO microweber@localhost;
FLUSH PRIVILEGES;

Step 5. Configuring Apache for Microweber.

We will create Apache virtual host for your Microweber website. First create ‘/etc/httpd/conf.d/vhosts.conf’ file with using a text editor of your choice:

nano /etc/httpd/conf.d/vhosts.conf
IncludeOptional vhosts.d/*.conf

Next, create the virtual host:

mkdir /etc/httpd/vhosts.d/
nano /etc/httpd/vhosts.d/yourdomain.com.conf

Add the following lines:

<VirtualHost YOUR_SERVER_IP:80>
ServerAdmin [email protected]
DocumentRoot /var/www/microweber
ServerName yourdomain.com
ServerAlias www.yourdomain.com
ErrorLog "/var/log/httpd/yourdomain.com-error_log"
CustomLog "/var/log/httpd/yourdomain.com-access_log" combined

<Directory "/var/www/microweber/">
DirectoryIndex index.html index.php
Options FollowSymLinks
AllowOverride All
Require all granted
</Directory>
</VirtualHost>

Save and close the file. Restart the Apache service for the changes to take effects:

systemctl restart httpd.service

Step 6. Accessing Microweber CMS.

Microweber CMS will be available on HTTP port 80 by default. Open your favorite browser and navigate to http://yourdomain.com or http://server-ip and complete the required the steps to finish the installation. If you are using a firewall, please open port 80 to enable access to the control panel.

Congratulation’s! You have successfully installed Microweber. Thanks for using this tutorial for installing Microweber content management system and website builder on CentOS 7 systems. For additional help or useful information, we recommend you to check the official Microweber website.

How To Install Angular on CentOS 7 Step by Step

Install Angular on CentOS 7

Angular is a JavaScript opensource framework which helps in developing single page web applications suitable for web/mobile and desktop. In this tutorial we will learn how To Install Angular on CentOS 7 step by step .

Develop Across All Platforms

Learn one way to build applications with Angular and reuse your code and abilities to build apps for any deployment target. For web, mobile web, native mobile and native desktop.

Speed & Performance

Achieve the maximum speed possible on the Web Platform today, and take it further, via Web Workers and server-side rendering. Angular puts you in control over scalability. Meet huge data requirements by building data models on RxJS, Immutable.js or another push-model.

Incredible Tooling

Build features quickly with simple, declarative templates. Extend the template language with your own components and use a wide array of existing components. Get immediate Angular-specific help and feedback with nearly every IDE and editor. All this comes together so you can focus on building amazing apps rather than trying to make the code work.

Table of Contents

Step 1. First let’s start by ensuring your system is up-to-date.

Step 2. Installing Node Js and NPM.

Step 3. Installing Install Angular on CentOS.

Step 4. Creating a new Angular Application.

 

This article assumes you have at least basic knowledge of Linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple and assumes you are running in the root account, if not you may need to add ‘sudo’ to the commands to get root privileges. I will show you through the step by step installation Angular on an CentOS 7.

Install Angular on CentOS 7

Step 1. First let’s start by ensuring your system is up-to-date.

yum clean all
yum -y update

Step 2. Installing Node Js and NPM.

Install Node.js using yum:

sudo yum install nodejs

To check that the installation was successful, run the following commands which will print the Node.js and npm versions:

node --version
npm --version

Step 3. Installing Install Angular on CentOS.

We will now install the Angular CLI using NPM:

sudo npm install -g @angular/cli

Step 4. Creating a new Angular Application.

The following command generates the project structure, with pre-configured files for unit tests and bundling with the powerful Webpack bundler:

ng new <project-name>

Starting the development server:

cd <project-name>
ng serve

The angular application is accessible at http://localhost:8005 – you can verify it in your browser.

Congratulation’s! You have successfully installed Angular. Thanks for using this tutorial for installing Shopware community edition on CentOS 7 systems. For additional help or useful information, we recommend you to check the official Angular website.

How To Install Yarn on CentOS 7 Step by Step

Install Yarn on CentOS 7

Yarn is a adavanced package management tool for Javascript applications mostly used for Node.js applications. Yarn is compatible with npm used for installing, configuring, updating and removing npm packages. It helps to solve problems with npm like network connectivity issues, speeding up the installation process etc. In this tutorial we will learn how To Install Yarn on CentOS 7 step by step.

Table of Contents

Step 1. First, let’s start by ensuring your system is up-to-date.
Step 2. Installing Yarn on CentOS.
Step 3. Using Yarn.

This article assumes you have at least basic knowledge of Linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple and assumes you are running in the root account, if not you may need to add ‘sudo’ to the commands to get root privileges. I will show you through the step by step installation Yarn on a CentOS 7 server.

Install Yarn on CentOS 7

Step 1. First, let’s start by ensuring your system is up-to-date.

yum clean all
yum -y update

Step 2. Installing Yarn on CentOS.

To install Yarn, you must first install Node.js on your server, enable the Nodesource repository with the following curl command:

curl --silent --location https://rpm.nodesource.com/setup_8.x | sudo bash -

Install the Node.js package by typing:

sudo yum install nodejs

Next, execute the commands below to activate the repository for Yarn and import its GPG key:

curl --silent --location https://dl.yarnpkg.com/rpm/yarn.repo | sudo tee /etc/yum.repos.d/yarn.repo
sudo rpm --import https://dl.yarnpkg.com/rpm/pubkey.gpg

Once the repository is added, you can install Yarn, by running:

sudo yum install yarn

You can now issue the following command to confirm the installation:

yarn --version

Step 3. Using Yarn.

Create a new Yarn project use yarn init:

yarn init my_yarn_ramona

Adding dependency:

yarn add [package_name]

Upgrading dependency:

yarn upgrade [package_name]
yarn upgrade [package_name]@[version_or_tag]

Installing all project dependencies:

yarn

Congratulation’s! You have successfully installed Yarn. Thanks for using this tutorial for installing Yarn on CentOS 7 system. For additional help or useful information, we recommend you to check the official Yarn website.

How To Install Anaconda on CentOS 7 Step by Step

Install Anaconda on CentOS 7

Anaconda is a popular and commonly used Python/R Data Science platform, available for users of the data scientist and other scientific communities. The platform is available as an open source distribution, meaning you can perform Python/R data Science and Machine learning on commonly used operating systems like Linux, Windows, and Mac OS X. In this tutorial we will learn how To Install Anaconda on CentOS 7 step by step

Table of Contents

Step 1. Ensuring your system is up-to-date.

Step 2. Installing Anaconda Python on CentOS.

This article assumes you have at least basic knowledge of Linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple and assumes you are running in the root account, if not you may need to add ‘sudo’ to the commands to get root privileges. I will show you through the step by step installation Anaconda on a CentOS 7 server.

Install Anaconda on CentOS 7

Step 1. First, let’s start by ensuring your system is up-to-date.

yum clean all
yum -y update

Step 2. Installing Anaconda Python on CentOS.

Download the Anaconda Installation Script:

cd /tmp
curl -O https://repo.anaconda.com/archive/Anaconda3-5.3.1-Linux-x86_64.sh

Once the progress bar is filled and the download is complete, we’ll verify the data integrity of the package. Do this by keying in this command into the command line:

sha256sum Anaconda3-5.3.1-Linux-x86_64.sh

The output should be like:

d4c4256a8f46173b675dd6a62d12f566ed3487f932bab6bb7058f06c124bcc27  Anaconda3-5.3.1-Linux-x86_64.sh

Now start anaconda installation script running following command:

bash Anaconda3-5.3.1-Linux-x86_64.sh

Now press ENTER to continue. Again press ENTER to scroll through the license of Anaconda. At last, you will be asked to accept the license terms.

Do you approve the license terms? [yes|no]

Type yes to continue. Then you will be asked to choose the installation directory.
Anaconda3 will now be installed into this location:

/home/linux4one/anaconda3

    - Press ENTER to confirm the location
    - Press CTRL-C to abort the installation
    - Or specify a different location below

Source the ~/.bashrc file to activate Anaconda:

source ~/.bashrc

Now verify the installation typing following command:

conda info

The output should be like:

active environment : base
    active env location : /home/wpcademy/anaconda3
            shell level : 1
    user config file : /home/wpcademy/.condarc
populated config files : 
        conda version : 4.5.11
    conda-build version : 3.15.1
        python version : 3.7.0.final.0
    base environment : /home/linuxize/anaconda3  (writable)
        channel URLs : https://repo.anaconda.com/pkgs/main/linux-64
                        https://repo.anaconda.com/pkgs/main/noarch
                        https://repo.anaconda.com/pkgs/free/linux-64
                        https://repo.anaconda.com/pkgs/free/noarch
                        https://repo.anaconda.com/pkgs/r/linux-64
                        https://repo.anaconda.com/pkgs/r/noarch
                        https://repo.anaconda.com/pkgs/pro/linux-64
                        https://repo.anaconda.com/pkgs/pro/noarch
        package cache : /home/wpcademy/anaconda3/pkgs
                        /home/wpcademy/.conda/pkgs
    envs directories : /home/wpcademy/anaconda3/envs
                        /home/wpcademy/.conda/envs
            platform : linux-64
            user-agent : conda/4.5.11 requests/2.19.1 CPython/3.7.0 Linux/3.10.0-957.1.3.el7.x86_64 centos/7 glibc/2.17
                UID:GID : 0:0
            netrc file : None
        offline mode : False

Congratulation’s! You have successfully installed Anaconda. Thanks for using this tutorial for installing Anaconda Python on CentOS 7 system. For additional help or useful information, we recommend you to check the official Anaconda website.

How To Install Mod_Security Apache on CentOS 7

Install Mod_Security Apache on CentOS 7

ModSecurity is an open source, cross platform web application firewall (WAF) developed by Trustwave’s SpiderLabs. It has a robust event-based programming language which provides protection from a range of attacks against web applications and allows for HTTP traffic monitoring, logging and real-time analysis. In this tutorial we will learn how To Install Mod_Security Apache on CentOS 7

This article assumes you have at least basic knowledge of Linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple and assumes you are running in the root account, if not you may need to add ‘sudo’ to the commands to get root privileges. I will show you through the step by step installation ModSecurity on a CentOS 7 server.

Install Mod_Security Apache on CentOS 7

Step 1. First, let’s start by ensuring your system is up-to-date.

yum clean all
yum -y update

Step 2. Installing Mod_Security Apache on CentOS

Install Dependencies for mod_security:

yum install gcc make httpd-devel libxml2 pcre-devel libxml2-devel curl-devel git

Next, download latest stable release of mod_security source code from their official website to your server:

wget https://www.modsecurity.org/tarball/2.9.3/modsecurity-2.9.3.tar.gz
tar xzf modsecurity-apache_2.9.3.tar.gz
cd modsecurity-apache_2.9.3
./configure
make install
cp modsecurity.conf-recommended /etc/httpd/conf.d/modsecurity.conf
cp unicode.mapping /etc/httpd/conf.d/

Step 3. Configuring Mod_Security.

# nano /etc/httpd/conf/httpd.conf
LoadModule security2_module modules/mod_security2.so

Now set the basic rule set in your httpd.conf file. Add the following lines of code at the end of the file:

<IfModule security2_module>
    Include conf.d/modsecurity.conf
</IfModule>

Save the changes and restart Apache:

systemctl restart httpd

Step 4. Download and configure OWASP (Open Web Application Security Project) core rule set for a base configuration.

cd /etc/httpd
git clone https://github.com/SpiderLabs/owasp-modsecurity-crs.git
mv owasp-modsecurity-crs modsecurity-crs
cd modsecurity-crs
cp modsecurity_crs_10_setup.conf.example modsecurity_crs_10_config.conf

Open the Apache configuration file again, and add the following lines at the end of the file:

# nano /etc/httpd/conf/httpd.conf

Include modsecurity-crs/modsecurity_crs_10_config.conf
Include modsecurity-crs/base_rules/*.conf

Next, restart the Apache service to enable mod_security module:

systemctl restart httpd

Congratulation’s! You have successfully installed Mod_Security. Thanks for using this tutorial for installing Mod_Security on CentOS 7 system. For additional help or useful information, we recommend you to check the official ModSecurity website.

How To Install Slack on CentOS 7 – Step by Step

Install Slack on CentOS 7

Slack is a Cloud-based software that provides a team collaboration tool and services, founded by Stewart Butterfield. Slack offers a lot of IRC-like (Internet Relay Chat) features such as persistent chat room channel organized by topic. Slack can be searchable including files, conversation, and people. In this tutorial we will learn how To Install Slack on CentOS 7.

This article assumes you have at least basic knowledge of Linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple and assumes you are running in the root account, if not you may need to add ‘sudo’ to the commands to get root privileges. I will show you through the step by step installation Slack on a CentOS 7 server.

Install Slack on CentOS 7

Step 1. First, let’s start by ensuring your system is up-to-date.

yum clean all
yum install epel-release
yum -y update
yum install libappindicator

Step 2. Installing Slack on CentOS.

Go to the Slack for Linux download page and download the latest Slack .rpm package:

wget https://downloads.slack-edge.com/linux_releases/slack-3.3.8-0.1.fc21.x86_64.rpm

After downloads successful, now install Slack using following command:

sudo yum -y install slack-3.3.8-0.1.fc21.x86_64.rpm

Step 3. Start Slack.

Now that you have Slack installed on your CentOS desktop, you can start it either from the command line by typing slack or by clicking on the Slack icon (Activities -> Slack).

Congratulation’s! You have successfully installed Slack. Thanks for using this tutorial for installing Slack on CentOS 7 system. For additional help or useful information, we recommend you to check the official Slack website.