How To Install MongoDB on Ubuntu 14.04

mongodb-logo

For those of you who didn’t know, MongoDB is a NoSQL document-oriented database. Refers to a database with a data model other than the tabular format used in relational databases such as MySQL, PostgreSQL, and Microsoft SQL. MongoDB features include: full index support, replication, high availability, and auto-sharding. It is a cross-platform and it makes the process of data integration faster and much easier. Since it is free and open-source, MongoDB is used by number of websites and organizations.

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 MongoDB on Ubuntu 14.04.

Step 1. First, add the official MongoDB public key used by the package management system.

Step 2. Install mongoDB packages.

If you want to install any specific version of MongoDB, define the version number like below:

MongoDB daemon should be enabled to start on boot:

The main configuration file is located in the /etc directory on your Linux VPS as mongod.conf. To edit it, you can use your favorite text editor.

Step 3. Verifying mongoDB database.

Connect MongoDB using command line and execute some test commands for checking proper working.

A good way to start using MongoDB on your CentOS 6 is to read the MongoDB manual on the official 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!

How To Install MongoDB on CentOS 6

mongodb-logo

For those of you who didn’t know, MongoDB is a NoSQL document-oriented database. Refers to a database with a data model other than the tabular format used in relational databases such as MySQL, PostgreSQL, and Microsoft SQL. MongoDB features include: full index support, replication, high availability, and auto-sharding. It is a cross-platform and it makes the process of data integration faster and much easier. Since it is free and open-source, MongoDB is used by number of websites and organizations.

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 MongoDB on CentOS 6.

Step 1. First, add the official MongoDB repository to your system.

Create a /etc/yum.repos.d/mongodb.repo file.

Step 2. Install mongoDB packages.

MongoDB daemon should be enabled to start on boot:

The main configuration file is located in the /etc directory on your Linux VPS as mongod.conf. To edit it, you can use your favorite text editor.

Step 3. Verifying mongoDB database.

Unlike MySQL, there aren’t a lot of graphical UIs and/or desktop clients available for MongoDB.  There are of course language bindings, to allow us to use PHP and other languages to access the database, but a lot of the fundamental work is done using the command-line client.

A good way to start using MongoDB on your CentOS 6 is to read the MongoDB manual on the official 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!

How To Install OwnCloud 8 With Nginx and PHP-FPM on CentOS 6

OwnCloud-logo

For those of you who didn’t know, OwnCloud is a free and open-source software which enables you to create a private “file-hosting” cloud. OwnCloud is similar to DropBox service with the diference of being free to download and install on your private server. Owncloud made by PHP and backend database MySQL (MariaDB), SQLLite or PostgreSQL. OwnCloud also enables you to easily view and sync address book, calendar events, tasks and bookmarks. You can access it via the good looking and easy to use web interface or install OwnCloud client on your Desktop or Laptop machine (supports Linux, Windows and Mac OSX).

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 OwnCloud 8 with nginx and php-fpm on CentOS 6 server.

Install OwnCloud 8 With Nginx and PHP-FPM on CentOS 6

Step 1. First, we need to install the latest EPEL and Remi repository RPM suited to your architecture.

Step 2. Install Nginx webserver.

Step 3. Install the necessary PHP components.

Step 4. Install MySQL.

Start 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.

Step 5. Create a new MySQL database using the following commands.

Step 6. Install OwnCloud and dependencies.

Set the directory permissions:

Step 7. Configuring Nginx for OwnCloud.

Create a new virtual hosts for your domain with the following content:

Remember to restart all services related to Nginx server and php-fpm.

Step 8. Access OwnCloud application.

Navigate to http://your-domain.com/ and follow the easy instructions. Enter username and password for the administrator user account, click on the ‘Advanced options’ hyperlink and enter the data directory (or leave the default setting), then enter database username, database password, database name, host (localhost) and click ‘Finish setup’.

Congratulation’s! You have successfully installed OwnCloud. Thanks for using this tutorial for installing OwnCloud 8 in CentOS 6 system. For additional help or useful information, we recommend you to check the official OwnCloud 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!

How To Install OwnCloud 8 on Ubuntu 14.04

OwnCloud-logo

For those of you who didn’t know, OwnCloud is a free and open-source software which enables you to create a private “file-hosting” cloud. OwnCloud is similar to DropBox service with the diference of being free to download and install on your private server. Owncloud made by PHP and backend database MySQL (MariaDB), SQLLite or PostgreSQL. OwnCloud also enables you to easily view and sync address book, calendar events, tasks and bookmarks. You can access it via the good looking and easy to use web interface or install OwnCloud client on your Desktop or Laptop machine (supports Linux, Windows and Mac OSX).

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 OwnCloud 8 on Ubuntu 14.04.

Install OwnCloud 8 on Ubuntu 14.04

Step 1. First of all log in to your server as root and make sure that all packages are up to date.

Step 2. Instal Apache web server on your Ubuntu 14.04 VPS if it is not already installed.

Step 3. Next, install PHP on your server.

Once the installation is done add the following PHP modules required by OwnCloud:

Step 4. Install MySQL database server.

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.

Step 5. Create a new MySQL database for OwnCloud using the following commands.

Step 6. Installing Owncloud 8.

First we will need to download the latest stable release of OwnCloud on your server (at the time version 8.0.0).

Set the directory permissions:

Step 7. Configuring Apache for OwnCloud.

While configuring Apache web server, it is recommended that you to enable .htaccess to get a enhanced security features, by default .htaccess is disabled in Apache server. To enable it, open your virtual host file and make AllowOverride is set to All.For example, here i used external config file instead of modifying main file.

Remember to restart all services related to Apache server.

Step 8. Access OwnCloud application.

Navigate to http://your-domain.com/ and follow the easy instructions. Enter username and password for the administrator user account, click on the ‘Advanced options’ hyperlink and enter the data directory (or leave the default setting), then enter database username, database password, database name, host (localhost) and click ‘Finish setup’.

install-OwnCloud

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 OwnCloud 8 on CentOS 6

OwnCloud-logo

For those of you who didn’t know, OwnCloud is a free and open-source software which enables you to create a private “file-hosting” cloud. OwnCloud is similar to DropBox service with the diference of being free to download and install on your private server. Owncloud made by PHP and backend database MySQL (MariaDB), SQLLite or PostgreSQL. OwnCloud also enables you to easily view and sync address book, calendar events, tasks and bookmarks. You can access it via the good looking and easy to use web interface or install OwnCloud client on your Desktop or Laptop machine (supports Linux, Windows and Mac OSX).

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 OwnCloud 8 on CentOS 6.

Step 1. First, we need to install the latest EPEL and Remi repository RPM suited to your architecture.

Step 2. Install the necessary PHP components.

Step 3. Install MySQL.

Start 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.

Step 4. Create a new MySQL database using the following commands.

Step 5. Install OwnCloud and dependencies.

Set the directory permissions:

Step 5. Configuring Apache for OwnCloud.

While configuring Apache web server, it is recommended that you to enable .htaccess to get a enhanced security features, by default .htaccess is disabled in Apache server. To enable it, open your virtual host file and make AllowOverride is set to All.For example, here i used external config file instead of modifying main file.

Remember to restart all services related to Apache server.

Step 6. Access OwnCloud application.

Navigate to http://your-domain.com/ and follow the easy instructions. Enter username and password for the administrator user account, click on the ‘Advanced options’ hyperlink and enter the data directory (or leave the default setting), then enter database username, database password, database name, host (localhost) and click ‘Finish setup’.

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 Mtop (MySQL Database Server Monitoring) on CentOS 6

Install Mtop (MySQL Database Server Monitoring) on CentOS 6

In this tutorial we will show you how to install and configuration of Mtop (MySQL Database Server Monitoring) on your CentOS 6 server. For those of you who didn’t know, Mtop is an open source real time MySQL Server monitoring program that shows queries which are taking longer time to process and kills those longer queries after certain number of specified time. Mtop program enable us to monitor and identify performance and related issues of MySQL Server from the command line interface similar to Linux Top Command.

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 Mtop on CentOS 6.

Install Mtop (MySQL Database Server Monitoring) on CentOS 6

Step 1. First, you need to enable RPMForge repository under your Linux machine to download and install latest version of MTOP program.

Step 2. Install Mtop using yum.
Step 3. Starting Mtop.

To start Mtop program, you need to connect to your MySQL Server, using following command:

Step 4. Running Mtop in CentOS 6.

Mtop usage and functions keys:

Congratulation’s! You have successfully installed Mtop. Thanks for using this tutorial for installing Mtop (MySQL Database Server Monitoring) on CentOS 6 system. For additional help or useful information, we recommend you to check the official Mtop 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

Save

How To Install and Enable Remi Repository on CentOS 5, CentOS 6 and CentOS 7

Install and Enable Remi Repository on CentOS 5, CentOS 6 and CentOS 7

In this tutorial we will show you how to install and configuration of remi repository on your CentOS server. For those of you who didn’t know, The Remi repository provides newer version of popular opensource software for CentOS and Red Hat Enterprise Linux. More than 5000 individual packages are included in the repository. It’s a great repository to add to your system if you’re running CentOS or Red Hat servers.

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 and enable Remi repository on CentOS 5, CentOS 6 and CentOS 7.

Enable Remi Repository on CentOS 5, CentOS 6 and CentOS 7

On CentOS The Remi repository depends on the Epel repository which must be installed along with it, for it to work. If you already have epel repository setup then execute the following command:

  • CentOS 7
  • CentOS 6
  • CentOS 5

If you want to permanently enable the Remi repository, you need to edit the yum configuration file for Remi. Open the repository configuration file by using a text editor of your choice:

The very first section that starts with [remi] is the main repository. Change the value of enabled from 0 to 1 to enable it.

Now list out the installed repositories with command:

Now, you’re ready to install packages. You can install packages using command:

Congratulation’s! You have successfully installed remi repository. Thanks for using this tutorial for installing remi repository on CentOS system. For additional help or useful information, we recommend you to check the official remi repository 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 MariaDB on Ubuntu 14.04

Mariadb-CentOS

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 Ubuntu 14.04.

Install MariaDB on Ubuntu 14.04

Step 1. First need to enable MariaDB repository.

Step 2. Installation of MariaDB.

Once the key is imported and the repository added you can install MariaDB with:

At the time of installation mariadb would ask for the password of user root. Enter the password and make sure not to forget.

Step 3. 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 4. Start MariaDB service.

Step 5. Login into MariaDB.

After completing installation you can connect to MariaDB using following command.

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 MariaDB On CentOS 6

Mariadb-CentOS

In this tutorial we will show you how to install and configuration of MariaDB on your CentOS 6 server. 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 6.

Install MariaDB on CentOS 6

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.

Installing MariaDB using yum:

After the installation is completed, start MariaDB:

Set MariaDB to start on boot:

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 in CentOS 6 system. For additional help or useful information, we recommend you to check the official MariaDB 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!

How To Install and Configure VSFTPD on Ubuntu 14.04

ubuntu-vsftpd-SSL

In this tutorial we will show you how to install and configuration of vsftpd on your Ubuntu 14.04 server. For those of you who didn’t know, FTP stands for “file transfer protocol”, and it allows you to transfer files to a remote computer. The most common FTP server software for Ubuntu is the vsftpd package, which stands for “very secure FTP daemon.” It’s the default FTP package for Ubuntu, and most other Linux distributions as well.

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 vsftpd on Ubuntu 14.04.

Install and Configure VSFTPD on Ubuntu 14.04

Step 1. Install vsftpd (Very Secure FTP Deamon) package.

Step 2. Configure vsftpd.

Let’s edit the configuration file for vsftpd:

Step 3. Creating and applying the SSL certificate.

Lets go and create our encryption key or certificate to use to connect to the server. First, create a folder that will be used to store the keys.

Then run the commands below to create the encryption key that will last for 365 days.

Once creating the key, go and change add and change these parameters in the default VSFTPD configuration file.

Step 4. Restart the vsftpd service.

Step 5. Configuring user access.

With the vsftpd FTP server you have the option to leave the FTP service authentication for only anonymous access or you can allow users , defined in /etc/passwd or in relevant access list, to login.

Step 6. Configure the user’s home directory.

With certain version of vsftpd you may receive the following error: 500 OOPS: vsftpd: refusing to run with writable root inside chroot(). Not to worry! Create a new directory for the user receiving the error(idroot in this case) that is a subdirectory of their home directory (/home/idroot). For example:

Fix permissions for idroot home directory:

Make a new directory for uploading files:

Congratulation’s! You have successfully installed vsftpd. Thanks for using this tutorial for installing vsftpd in Ubuntu 14.04 system. For additional help or useful information, we recommend you to check the official vsftpd 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!