How to Install PhpStorm on CentOS 7 Step by Step

Install PhpStorm on CentOS 7

PhpStorm is an intelligent and fully featured IDE for PHP developed by JetBrains. It also provides support for Javascript, Typescript, and CSS etc. You can also extend PhpStorm features by using plugins. By using PhpStorm plugins you can also get support for frameworks like Laravel, CodeIgniter. We can also use PhpStrom for other programming languages like HTML, SQL, Javascript, CSS and more. In this tutorial we will learn how to Install PhpStorm on CentOS 7.

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 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 PhpStorm on a CentOS 7 server.

Install PhpStorm 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 PhpStorm on CentOS.

Now, we will download PhpStorm using official PhpStorm download page using wget command:

sudo wget https://download-cf.jetbrains.com/webide/PhpStorm-2018.3.2.tar.gz
tar -xvf PhpStorm-2018.3.2.tar.gz
cd PhpStorm-2018.3.2

Now to run PhpStorm like normal programs you should create symbolic link using the following command:

sudo ln -s ./PhpStorm-2018.3.2/bin/phpstorm.sh /usr/bin/phpstorm

Step 3. Start PhpStorm.

You can launch PhpStorm using following command:

phpstorm

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

How to Install Linux Kernel 5.0 on CentOS 7

Install Linux Kernel 5.0 on CentOS 7

Linus Torvalds the creator and the principal developer of the Linux kernel announced the release of Linux kernel version 5.0. This release increases the major kernel version number to 5. from 4.x. The new change does not mean anything and does not affect programs in any way. In this tutorial we will learn how to Install Linux Kernel 5.0 on CentOS 7.

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 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 Linux Kernel 5.0 on a CentOS 7 server.

Install Linux Kernel 5.0 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 Linux Kernel 5.0 on CentOS.

ElRepo is a third-party repository for CentOS that allows upgrades to the latest kernel version from kernel.org. Add ELRepo repository to your CentOS 7 by running the commands below:

sudo yum install https://www.elrepo.org/elrepo-release-7.0-3.el7.elrepo.noarch.rpm
sudo rpm --import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org

Once the repository has been enabled, you can use the following command to list the available kernel.related packages:

yum --disablerepo="*" --enablerepo="elrepo-kernel" list available
kernel-ml.x86_64                        5.0.0-1.el7.elrepo         elrepo-kernel
 kernel-ml-devel.x86_64                  5.0.0-1.el7.elrepo         elrepo-kernel
 kernel-ml-doc.noarch                    5.0.0-1.el7.elrepo         elrepo-kernel
 kernel-ml-headers.x86_64                5.0.0-1.el7.elrepo         elrepo-kernel
 kernel-ml-tools.x86_64                  5.0.0-1.el7.elrepo         elrepo-kernel
 kernel-ml-tools-libs.x86_64             5.0.0-1.el7.elrepo         elrepo-kernel
 kernel-ml-tools-libs-devel.x86_64       5.0.0-1.el7.elrepo         elrepo-kernel

Now that we have confirmed availability of Linux Kernel 5.0, we can proceed to install it:

sudo yum --enablerepo=elrepo-kernel install kernel-ml

Also install kernel-ml-devel,kernel-ml-headers,kernel-ml-tools,perf:

sudo yum -y --enablerepo=elrepo-kernel install kernel-ml-{devel,headers,perf}

Finally, reboot your machine to apply the latest kernel, and then select latest kernel from the menu as shown:

sudo reboot

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

How To Install RubyMine on CentOS 7 Step by Step

Install RubyMine on CentOS 7

RubyMine is an all-new IDE for Ruby and Rails developers, developed by JetBrains (best known for Java IDE IntelliJ IDEA). RubyMine build upon the IntelliJ IDEA platform and brings together all of the essential features you expect of an IDE (editor, debugging tools, source control integration, code completion, and so forth) along with lots of extra goodies specific to Ruby, such as GUI-based support for RSpec and Test. In this tutorial we will learn how To Install RubyMine on CentOS 7.

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 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 RubyMine on a CentOS 7 server.

Install RubyMine 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 RubyMine on CentOS.

Download RubyMine using official RubyMine download page using wget command:

sudo wget https://download-cf.jetbrains.com/ruby/RubyMine-2018.3.2.tar.gz
tar -xvf RubyMine-2018.3.2.tar.gz
cd RubyMine-2018.3.2

Next, run RubyMine like normal programs you should create symbolic link using the following command:

sudo ln -s ./RubyMine-2018.3.2/bin/rubymine.sh /usr/bin/rubymine

After successful installation to start RubyMine via terminal run following command:

rubymine

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

How To Install Jira on CentOS 7 Step by Step

Jira on CentOS 7 Step by Step

Jira is a tool used for defect/issue/bug tracking and project management purpose. JIRA Core is the JIRA application that has both system and application functionalities. It helps an administrator to create a project, user, workflow, issue etc. In this tutorial we will learn how To Install Jira on CentOS 7.

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 Jira on a CentOS 7 server.

Install Jira 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 Java.

JAVA is the first requirement for JIRA establishment. Verify you have JAVA SE 6 or Later form introduced in your framework:

sudo yum install java-1.8.0-openjdk
sudo yum install java-1.8.0-openjdk-devel

If installation is success, you see the following output:

$ java -version
openjdk version "1.8.0_201"
OpenJDK Runtime Environment (build 1.8.0_281-b09)
OpenJDK 64-Bit Server VM (build 28.201-b09, mixed mode)

Step 3. Installing Jira on CentOS.

Download the latest JIRA Installer (.bin) file from the JIRA official page or given link to directory /opt:

cd /opt
wget https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-7.3.0-x64.bin

Then, give the execute permission to .bin file and install JIRA:

chmod +a atlassian-jira-software-7.3.0-x64.bin
./atlassian-jira-software-7.3.0-x64.bin

Step 4. Install MySQL.

The latest version of MySQL is version 8.0. To install it on your CentOS 7 server follow the steps below:

sudo yum localinstall https://dev.mysql.com/get/mysql80-community-release-el7-1.noarch.rpm

Install MySQL 8.0 package with yum:

sudo yum install mysql-community-server

Once the installation is completed, start the MySQL service and enable it to automatically start on boot with:

sudo systemctl enable mysqld
sudo systemctl start mysqld

Run the mysql_secure_installation command to improve the security of your MySQL installation:

sudo mysql_secure_installation

Step 5. Connectivity to JIRA with MySQL.

Create a database user for JIRA using following command:

$ mysql -u root -p
CREATE DATABASE jiradb CHARACTER SET utf8 COLLATE utf8_bin;
grant all privileges on jiradb.* to 'jira'@'%' identified by '';
flush privileges;
exit

After you installing the JIRA, you require MySQL Connector driver. You can download either the .tar.gz or the .zip file from official site. Otherwise, you can use the following command:

cd /opt
wget http://dev.mysql.com/get/Downloads/Connector-J/mysql-connector-java-5.1.35.tar.gz
tar -zxvf mysql-connector-java-5.1.35.tar.gz

Copy the MySQL JDBC driver jar file to the JIRA installation directory /opt/atlassian/jira/lib/:

cd /opt/mysql-connector-java-5.1.35
cp mysql-connector-java-5.1.35-bin.jar /opt/atlassian/jira/lib/

To restart Jira service:

cd /opt/atlassian/jira/bin/
./shutdown.sh
./startup.sh

Step 6. Configure firewall.

By default, it will be port 8080:

sudo firewall-cmd --zone=public --add-port=8080/tcp --permanent
sudo firewall-cmd --reload

Step 7. Accessing JIRA.

After you successful installation Jira, login URL is displayed and use it to login:

http://server-ip:8080
or
http://server-hostname:8080

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

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.