How To Install MariaDB on CentOS 7

Install MariaDB on CentOS 7

For those of you who didn’t know, MariaDB is a drop-in replacement for MySQL. It is easy to install, offers many speed and performance improvements, and is easy to integrate into most MySQL deployments. MariaDB is widely used and several Linux distributions and large companies have already switched from MySQL to MariaDB.

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. I will show you through the step by step installation MariaDB on CentOS 7.

Install MariaDB on CentOS 7

Step 1. First, you need to enable repository on your system.

Navigate to /etc/yum.repos.d/ on your CentOS box and create a new file called MariaDB repo:

Step 2. Install MariaDB using Yum.

Make sure that all packages are up to date:

Start MariaDB and enable it to start on boot of the server:

Step 3. Configuring MariaDB.

The configuration files and binaries for MariaDB are mostly the same as MySQL. For example, both use a configuration file called my.cnf.

Step 4. Secure MariaDB after installation to.

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.

Step 5. Login into MariaDB.

Login MariaDB with root credential which was set earlier:

Congratulation’s! You have successfully installed MariaDB. Thanks for using this tutorial for installing MariaDB on CentOS 7 system.

VPS Manage Service Offer
If you don’t have time to do all of this stuff, or if this is not your area of expertise, we offer a service to do “VPS Manage Service Offer”, starting from $10 (Paypal payment). Please contact us to get a best deal!

Save

How To Install DirectAdmin on CentOS 7

Install DirectAdmin on CentOS 7

In this tutorial we will show you how to install DirectAdmin on CentOS 7. For those of you who didn’t know, DirectAdmin is a web hosting control panel providing a graphical interface and automation tools to simplify server and account management. Features include: E-mail, FTP, DNS and web management, Statistics, Apache configuration, User and reseller management and more.

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 procedure is exactly the same with both 32-bit and 64-bit versions The installation is quite simple. I will show you through the step by step installation DirectAdmin on CentOS 7.

Install DirectAdmin on CentOS 7

Step 1. First of all make sure that all packages are up to date.

Step 2. Install required packages.

Step 3. Install DirectAdmin.

Run this command for downloading the DirectAdmin installation script:

To run the installation script, simply enter in the command:

After the script is running you will be prompted for your DirectAdmin client ID, license number and the hostname of the VPS. Wait a few minutes and DirectAdmin is installed and all services are configured.

Step 4. Accessing DirectAdmin.

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

Congratulation’s! You have successfully installed DirectAdmin. Thanks for using this tutorial for installing DirectAdmin on CentOS 7 system.

VPS Manage Service Offer
If you don’t have time to do all of this stuff, or if this is not your area of expertise, we offer a service to do “VPS Manage Service Offer”, starting from $10 (Paypal payment). Please contact us to get a best deal!

How To Disable SELinux on CentOS 7

Disable SELinux on CentOS 7

For those of you who didn’t know, Security-Enhanced Linux (SELinux) is a Linux feature that provides the mechanism for supporting access control security policies. By default, when you installed the linux operation system, The SELinux service is enabled, As some softwares do not support SELinux that the state is enable, So you need to disable or turn off the SELinux config.

This article assumes you have at least basic knowledge of linux, know how to use the shell, and most importantly, you host your site in your own VPS. The turning off SELinux is quite simple. I will show you through the step by step turning off or disabling SELinux in CentOS 7 server.

Disable SELinux on CentOS 7

Step 1. First we need to see how SELinux is configured, issue the sestatus command.

Step 2. Open selinux configuration file.

Change “SELINUX=enforcing” to “SELINUX=disabled” and save the configuration file:

Step 3. Rebooting your linux system to take effect.

After reboot, you can verify the status of SELinux. Issue “sestatus” command to verify that SELinux permanently disabled:

Congratulation’s! You have successfully disable SELinux. Thanks for using this tutorial for disable SELinux CentOS 7 system.

VPS Manage Service Offer
If you don’t have time to do all of this stuff, or if this is not your area of expertise, we offer a service to do “VPS Manage Service Offer”, starting from $10 (Paypal payment). Please contact us to get a best deal!

Save

How To Install DirectAdmin on CentOS 6

Install DirectAdmin on CentOS 6

For those of you who didn’t know, DirectAdmin is a web hosting control panel providing a graphical interface and automation tools to simplify server and account management. Features include: E-mail, FTP, DNS and web management, Statistics, Apache configuration, User and reseller management and more.

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. I will show you through the step by step installation DirectAdmin on CentOS 6.

Install DirectAdmin on CentOS 6

Step 1. First of all make sure that all packages are up to date.

Step 2. Install required packages.

Step 3. Installing DirectAdmin.

Run this command for downloading the DirectAdmin installation script:

To run the installation script, simply enter in the command:

Once the script is running you will be prompted for your DirectAdmin client ID, license number and the hostname of the VPS. Wait a few minutes and DirectAdmin is installed and all services are configured.

Accessing DirectAdmin

Step 4. Accessing DirectAdmin.

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

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

VPS Manage Service Offer
If you don’t have time to do all of this stuff, or if this is not your area of expertise, we offer a service to do “VPS Manage Service Offer”, starting from $10 (Paypal payment). Please contact us to get a best deal!

Save

How To Install DirectAdmin on Ubuntu 14.04

Install DirectAdmin on Ubuntu 14.04

In this tutorial we will show you how to install DirectAdmin on Ubuntu 14.04. For those of you who didn’t know, DirectAdmin is a web hosting control panel providing a graphical interface and automation tools to simplify server and account management. Features include: E-mail, FTP, DNS and web management, Statistics, Apache configuration, User and reseller management and more.

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 DirectAdmin in Ubuntu 14.04 server.

Install DirectAdmin on Ubuntu 14.04

Step 1. First of all make sure that all packages are up to date.

Step 2. Install required packages.

Step 3. Installing DirectAdmin.

Run this command for downloading the DirectAdmin installation script.

You can now run the installation script as thus:

Once the script is running you will be prompted for your DirectAdmin client ID, license number and the hostname of the VPS. Wait a few minutes and DirectAdmin is installed and all services are configured.

Step 4. Configuring DirectAdmin SSL Support.

By default DirectAdmin does not support HTTPS (SSL) based connections ‘out of the box’, so some final configuration changes must be made in order to do so. Here, we’ll show you how to setup a ‘self-signed’ certificate to be used for DirectAdmin HTTPS login. Run the following from your VPS SSH command line:

Now we need to enable SSL within the DirectAdmin configuration:

Find the SSL=0 setting and change it to the following:

Restart DirectAdmin in order for the changes to take effect:

Step 4. Accessing DirectAdmin.

DirectAdmin will be available on HTTPS port 80 by default. Open your favorite browser and navigate to https://yourdomain.com/2222 or https://server-ip/2222. If you are using a firewall, please open port 80 to enable access to the control panel.

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

VPS Manage Service Offer
If you don’t have time to do all of this stuff, or if this is not your area of expertise, we offer a service to do “VPS Manage Service Offer”, starting from $10 (Paypal payment). Please contact us to get a best deal!

Save

How To Install Gibbon on Ubuntu 14.04

Install Gibbon on Ubuntu 14.04

For those of you who didn’t know, Gibbon is an open source, free and highly flexible education management system. It helps teachers and students to address and solve daily problems. Gibbon is a flexible application with many features, such as planner, external assessment, online application forms, messenger etc. The administration department of the educational institutes can use this tool to complete their administrative responsibilities.

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. I will show you through the step by step installation Gibbon on Ubuntu 14.04.

Install Gibbon on Ubuntu 14.04

Step 1. First of all make sure that all packages are up to date.

Step 2. Install LAMP (Linux, Apache, MySQL, PHP) server and include some php extension.

Start Apache and MySQL services:

Step 3. Configuring MySQL.

By default, MySQL is not hardened. You can secure MySQL 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 MySQL.

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

Edit the ‘php.ini’ configuration file and add/modify the following lines in it:

Step 4. Installing Gibbon.

Download the latest stable version of Gibbon:

Make sure that this Gibbon directory is writeable:

Step 5. Accessing Gibbon college management system.

Gibbon will be available on HTTP port 80 by default. Open your favorite browser and navigate to http://yourdomain.com/ or http://server-ip/. Follow the easy instructions: enter the system language, database information, create a new administrator account, enter server settings, organisation settings and click ‘submit’ once you have filled out all of the fields.That is it. The Gibbon installation is now complete. If you are using a firewall, please open port 80 to enable access to the control panel.

Congratulation’s! You have successfully installed Gibbon. Thanks for using this tutorial for installing Gibbon college management in Ubuntu 14.04 system. For additional help or useful information, we recommend you to check the official Gibbon web site.

VPS Manage Service Offer
If you don’t have time to do all of this stuff, or if this is not your area of expertise, we offer a service to do “VPS Manage Service Offer”, starting from $10 (Paypal payment). Please contact us to get a best deal!

Save

How To Install Gibbon on CentOS 6

Install Gibbon on CentOS 6

For those of you who didn’t know, Gibbon is an open source, free and highly flexible education management system. It helps teachers and students to address and solve daily problems. Gibbon is a flexible application with many features, such as planner, external assessment, online application forms, messenger etc. The administration department of the educational institutes can use this tool to complete their administrative responsibilities.

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. I will show you through the step by step installation Gibbon on CentOS 6.

Step 1. First of all make sure that all packages are up to date.

Step 2. Install LAMP server and include some php extension.

Start Apache and MySQL services:

Step 3. Configuring MySQL.

By default, MySQL is not hardened. You can secure MySQL 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 MySQL.

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

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

Edit the ‘php.ini’ configuration file and add/modify the following lines in it:

Step 4. Configure Apache web server.

Create a new virtual host directive in Apache:

Set permission:

Restart the Apache web server for the changes to take effect:

Step 5. Install Gibbon.

Download the latest stable version of Gibbon:

Step 6. Accessing Gibbon.

Gibbon will be available on HTTP port 80 by default. Open your favorite browser and navigate to http://yourdomain.com/gibbon or http://server-ip/gibbon. Follow the easy instructions: enter the system language, database information, create a new administrator account, enter server settings, organisation settings and click ‘submit’ once you have filled out all of the fields.That is it. The Gibbon installation is now complete. If you are using a firewall, please open port 80 to enable access to the control panel.

Congratulation’s! You have successfully installed Gibbon. Thanks for using this tutorial for installing Gibbon college management on CentOS 6 system.

VPS Manage Service Offer
If you don’t have time to do all of this stuff, or if this is not your area of expertise, we offer a service to do “VPS Manage Service Offer”, starting from $10 (Paypal payment). Please contact us to get a best deal!

Save

How To Install EHCP on Ubuntu 14.04

Install EHCP on Ubuntu 14.04

For those of you who didn’t know, EHCP (Easy Hosting Control Panel) is an open-source and powerful hosting control panel that lets you to host any websites, create email accounts, create additional (sub) domains and create FTP accounts and many more. Ehcp is the only first hosting control panel was written using PHP programming language and available for free. The install script handles the installation and configuration of the required services. I recommend starting with a clean Ubuntu system to avoid conflicts.

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. I will show you through the step by step installation EHCP (Easy Hosting Control Panel) on Ubuntu 14.04.

Install EHCP on Ubuntu 14.04

Step 1. First, Run this command for downloading the EHCP Installation script.

Step 2. Extract the ehcp source using following tar command.

Step 3. Change to ehcp directory, then run install.sh script.

Read the instructions carefully, your server will send statistical information to the EHCP developers. If you choose to move on, the install script will install all required packages including Apache, MySql and Postfix. You will need to provide some information to configure the services and set the admin passwords.

Step 4. Accessing EHCP.

EHCP will be available on HTTP port 80 by default. Open your favorite browser and navigate to http://yourdomain.com or http://server-ip. Enter the administrative credentials. Default admin username is ‘admin‘ and default admin password is ‘1234‘. If you had entered a new password during the installation please provide the same. If you are using a firewall, please open port 80 to enable access to the control panel.

Congratulation’s! You have successfully installed EHCP. Thanks for using this tutorial for installing EHCP (Easy Hosting Control Panel) on Ubuntu 14.04 system.

VPS Manage Service Offer
If you don’t have time to do all of this stuff, or if this is not your area of expertise, we offer a service to do “VPS Manage Service Offer”, starting from $10 (Paypal payment). Please contact us to get a best deal!

How To Install Moodle on CentOS 6

Moodle-logo

For those of you who didn’t know, Moodle is an Open Source Course Management System (CMS), also known as a Learning Management System (LMS) or a Virtual Learning Environment (VLE). It has become very popular among educators around the world as a tool for creating online dynamic web sites for their students. Moodle brings features include assignment submission, online quizzes, wiki, grading, instant messages, discussion boards, and others. But since it’s a modular software, it can be extended via plugins to add extra functionality.

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. I will show you through the step by step installation Moodle on CentOS 6.

Step 1. First of all make sure that all packages are up to date.

Step 2. Install LAMP server and include some php extension.

Start Apache and MySQL services:

Step 3. Configuring MySQL.

By default, MySQL is not hardened. You can secure MySQL 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 MySQL.

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

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

Step 4. Install Moodle.

Download Moodle latest source:

If your server is dedicated to host only moodle site, copy the contents of your moodle directory to /var/www/html/ directory. In this case your moodle website URL will be www.your-site.com.

Create data directory for Moodle:

Step 5. Accessing Moodle.

Moodle will be available on HTTP port 80 by default. Open your favorite browser and navigate to http://yourdomain.com or http://server-ip.

Step 1: Select language
Step 2: Enter the “Data directory (moodledata) path, in our case it is /var/www/moodledata/
Step 3: Choose database driver, MySQL.
Step 4: Enter the Database settings.

Congratulation’s! You have successfully installed Moodle. Thanks for using this tutorial for installing Moodle on CentOS 6 system.

VPS Manage Service Offer
If you don’t have time to do all of this stuff, or if this is not your area of expertise, we offer a service to do “VPS Manage Service Offer”, starting from $10 (Paypal payment). Please contact us to get a best deal!

How To Install Moodle on Ubuntu 14.04

Install Moodle on Ubuntu 14.04

For those of you who didn’t know, Moodle is an Open Source Course Management System (CMS), also known as a Learning Management System (LMS) or a Virtual Learning Environment (VLE). It has become very popular among educators around the world as a tool for creating online dynamic web sites for their students. Moodle brings features include assignment submission, online quizzes, wiki, grading, instant messages, discussion boards, and others. But since it’s a modular software, it can be extended via plugins to add extra functionality.

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. I will show you through the step by step installation Moodle on Ubuntu 14.04 server.

Install Moodle on Ubuntu 14.04

Step 1. First of all make sure that all packages are up to date.

Step 2. Install LAMP (Linux, Apache, MySQL, PHP) server and include some php extension.

Start Apache and MySQL services:

Step 3. Configuring MySQL.

By default, MySQL is not hardened. You can secure MySQL 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 MySQL.

Add the following line in the my.cnf file under [mysqld] section and restart mysql service:

Restart MySQL services:

Create a new MySQL database for our Moodle installation:

Step 4. Install Moodle.

Setup your local repository and clone the git repository from github using the following commands:

Copy local repository to /var/www/html/:

Step 5. Accessing Moodle.

Moodle will be available on HTTP port 80 by default. Open your favorite browser and navigate to http://yourdomain.com/moodle or http://server-ip/moodle. Important: If you are not comfortable using terminal to create the config.php file that needs to be created when going through the installer, you should temporarily make the webroot writable by doing the following:

After you have ran the installer and you have moodle setup, you NEED to revert permissions so that it is no longer writable using the below command:

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

VPS Manage Service Offer
If you don’t have time to do all of this stuff, or if this is not your area of expertise, we offer a service to do “VPS Manage Service Offer”, starting from $10 (Paypal payment). Please contact us to get a best deal!

Save