How to Install Htop System Monitor on Centos 7

Install Htop System Monitor on Centos 7

In this tutorial we’ll learn how to install Htop system monitor on CentOS 7. We will also install and configure its prerequisites. Htop is a Linux process monitoring tool, It is an alternative tool for top command, Which is the standard and the default process Monitoring tool in Linux and Unix Operating System. Unlike top, htop provides a full list of processes running, instead of the top resource-consuming processes. Htop uses color and gives visual information about processor, swap and memory status.

I recommend to use a minimal CentOS server setup as a basis for the tutorial, that can be a virtual or a root server image with an CentOS 7 minimal install from a web hosting company or you use our minimal server tutorial to install a server from scratch.

Install Htop System Monitor on Centos 7

Step 1. First, ensure your system is fully up-to-date by running the following:

yum -y update
yum -y groupinstall 'Development Tools'
yum -y install ncurses ncurses-devel

Step 2. Installing Htop.

First, download htop 2.0 from Source packages. You can go to stop website or use following command to download htop:

wget http://hisham.hm/htop/releases/2.0.0/htop-2.0.0.tar.gz
tar zxvf htop-2.0.0.tar.gz
cd htop-2.0.0

Next, run the configure and make script to install and compile htop:

./configure
make
make install

Once installed, just type htop at a terminal to launch it:

htop

Congratulation’s! You have successfully install and configure Htop on your CentOS 7 server. Thanks for using this tutorial for installing Htop system monitor on CentOS 7 system.

How to Install Python on CentOS 7

Install Python on CentOS 7

In this tutorial we’ll learn how to install Python on CentOS 7. We will also install and configure its prerequisites. Python are of the most popular new generation programming languages software dynamically typed scripting languages ​​with strong support for object-oriented software architecture and implementation is very different from the kings of programming languages ​​such as Java and C, none of the new languages ​​have a strict syntax and hierarchy and instead focus on helping developers to “do something quickly,” instead of having to worry about missing a semicolon or closing parenthesis.

I recommend to use a minimal CentOS server setup as a basis for the tutorial, that can be a virtual or a root server image with an CentOS 7 minimal install from a web hosting company or you use our minimal server tutorial to install a server from scratch.

Install Python on CentOS 7

Step 1. First, ensure your system is fully up-to-date by running the following:

yum -y update
yum install gcc

Step 2. Installing Python.

First, download Python using following command and you can also download latest version from python official site:

wget https://www.python.org/ftp/python/3.6.3/Python-3.6.3.tgz

Extract archive and compile:

tar xzf Python-3.6.3.tgz
cd Python-3.6.3
./configure
make altinstall

Be patient because this may take a while. When the installation is complete, verify the installation with the command:

python3.6 -V

Congratulation’s! You have successfully install and configure Python on your CentOS 7 server. Thanks for using this tutorial for installing Python programming language on CentOS 7 system.

How to Install Plex Media Server on CentOS 7

Install Plex Media Server on CentOS 7

In this tutorial we’ll learn how to install Plex Media Server on CentOS 7. We will also install and configure its prerequisites. Plex Media Server is a free and user friendly media library platform that allows you to manage and arrange all of your own media files saved on your computer or any other device. Not only that, but lets you to stream media files to all of your devices like mobile phones, tablet computers, smart TVs, etc. From anywhere, whether you are at home or on-the-go.

I recommend to use a minimal CentOS server setup as a basis for the tutorial, that can be a virtual or a root server image with an CentOS 7 minimal install from a web hosting company or you use our minimal server tutorial to install a server from scratch.

Install Plex Media Server on CentOS 7

Step 1. First, ensure your system is fully up-to-date by running the following:

yum -y update

Step 2. Installing Plex Media Server.

Download the package for Plex media server with following command:

wget https://downloads.plex.tv/plex-media-server/1.5.5.3634-995f1dead/plexmediaserver-1.5.5.3634-995f1dead.x86_64.rpm

Once Plex is downloaded, run the yum following command to install Plex:

sudo yum install plexmediaserver*.rpm

Enable Plex Media Server to start on reboot, and then start the server:

sudo systemctl enable plexmediaserver.service
sudo systemctl start plexmediaserver.service

Step 3. Configure Plex.

Now to complete the server installation we need to create a temporary SSH tunnel from our PC to the server that the Plex media server is running on:

ssh -f root@192.168.44.2 -L 2000:localhost:32400 -N

Where 192.168.44.2 is my ip to my centos/plex server.

Enter http://localhost:8888/web into your browser to view the Plex web interface. Input your Plex account username and password to proceed with the setup process.

Congratulation’s! You have successfully install and configure Plex Media Server on your CentOS 7 server. Thanks for using this tutorial for installing Plex on CentOS 7 system.

Save

Save

Save

How to Install Plex Media Server on Ubuntu 16.04

Install Plex Media Server on Ubuntu 16.04

In this tutorial we’ll learn how to install plex media server on Ubuntu 16.04. We will also install and configure its prerequisites. Plex Media Server is a free and user friendly media library platform that allows you to manage and arrange all of your own media files saved on your computer or any other device. Not only that, but lets you to stream media files to all of your devices like mobile phones, tablet computers, smart TVs, etc. From anywhere, whether you are at home or on-the-go.

I recommend to use a minimal Ubuntu server setup as a basis for the tutorial, that can be a virtual or a root server image with an Ubuntu 16.04 minimal install from a web hosting company or you use our minimal server tutorial to install a server from scratch.

Install Plex Media Server on Ubuntu 16.04

Step 1. First, ensure your system and apt package lists are fully up-to-date by running the following:

apt-get update -y
apt-get upgrade -y

Step 2. Installing Plex Media Server.

Download the package for Plex media server with following command:

wget https://downloads.plex.tv/plex-media-server/1.5.5.3634-995f1dead/plexmediaserver_1.5.5.3634-995f1dead_amd64.deb

Once Plex is downloaded, run the following command to install Plex:

sudo dpkg -i plexmediaserver*.deb

Enable Plex Media Server to start on reboot, and then start the server:

sudo systemctl enable plexmediaserver.service
sudo systemctl start plexmediaserver.service

The last step after installing the file, go to Ubuntu dashboard and type plex in the search-bar. It will display the application icon, click on it to open.

Congratulation’s! You have successfully install and configured plex  on your Ubuntu 16.04 server. Thanks for using this tutorial for installing plex media server on Ubuntu 16.04 LTS (Xenial Xerus) system.

How to Install Jenkins on Ubuntu 16.04

Install Jenkins on Ubuntu 16.04

In this tutorial we’ll learn how to install Jenkins on Ubuntu 16.04. We will also install and configure its prerequisites. Jenkins is the most widely used open source constant integration and automation machine. It provides a huge variety of neighborhood plug-ins to encourage construction, deploying and automating any project, large or little.

I recommend to use a minimal Ubuntu server setup as a basis for the tutorial, that can be a virtual or a root server image with an Ubuntu 16.04 minimal install from a web hosting company or you use our minimal server tutorial to install a server from scratch.

Install Jenkins on Ubuntu 16.04

Step 1. First, ensure your system and apt package lists are fully up-to-date by running the following:

apt-get update -y
apt-get upgrade -y

Step 2. Installing Java.

Jenkins requires Java, Install OpenJDK8 on the server:

sudo apt-get install openjdk-8-jre-headless -y

Now verify that it installed:

java -version

Step 3. Installing Jenkins.

First, add Jenkins repository as the Jenkins is not available on Ubuntu 16.04 base repositories.

Add the Jenkins key to the system:

wget https://pkg.jenkins.io/debian-stable/jenkins.io.key
sudo apt-key add jenkins.io.key

Add the Jenkins repository information on your system:

echo "deb https://pkg.jenkins.io/debian-stable binary/" | sudo tee /etc/apt/sources.list.d/jenkins.list

Update repository and install Jenkins:

sudo apt-get update
sudo apt-get -y install jenkins

Run the following systemctl commands to start and enable the jenkins service:

systemctl start jenkins
systemctl enable jenkins

After the installation, we need to allow port 80 & 8080 on the firewalld of the system. Run:

firewall-cmd --permanent --add-port=8080/tcp
firewall-cmd --reload

Step 4. Access the Jenkins Web portal.

Now, access the Jenkins using the below address from your web browser:

http://your_server_IP_or_domain_name:8080

Congratulation’s! You have successfully install and configured Jenkins on your Ubuntu 16.04 server. Thanks for using this tutorial for installing Jenkins on Ubuntu 16.04 LTS (Xenial Xerus) system.

How to Install Jenkins on CentOS 7

Install Jenkins on CentOS 7

In this tutorial we’ll learn how to install Jenkins on CentOS 7. We will also install and configure its prerequisites. Jenkins is absolutely free and open source CI (Continuous Integration) tool and its code has been written in Java. It provides the characteristic of proceeds build and setup or in other words, we could say it is an automation server. Jenkins is used where continues to build and integration is going on for applications development.

I recommend to use a minimal Ubuntu server setup as a basis for the tutorial, that can be a virtual or a root server image with an CentOS 7 minimal install from a web hosting company or you use our minimal server tutorial to install a server from scratch.

Install Jenkins on CentOS 7

Step 1. First, ensure your system is fully up-to-date by running the following:

yum -y update

Step 2. Installing Java.

We need to JAVA 8 installed & configured on the server where we will be installing jenkins:

sudo yum install java-1.8.0-openjdk.x86_64

After the installation, confirm it by using the following command:

java -version

In order to help Java-based applications locate the Java virtual machine properly, you need to set two environment variables:

sudo cp /etc/profile /etc/profile_backup
echo 'export JAVA_HOME=/usr/lib/jvm/jre-1.8.0-openjdk' | sudo tee -a /etc/profile
echo 'export JRE_HOME=/usr/lib/jvm/jre' | sudo tee -a /etc/profile
source /etc/profile

Finally, you can print them for review:

echo $JAVA_HOME
echo $JRE_HOME

Step 3. Installing Jenkins.

To install the latest stable version of Jenkins you can use the official YUM repo:

cd ~
sudo wget -O /etc/yum.repos.d/jenkins.repo http://pkg.jenkins-ci.org/redhat-stable/jenkins.repo
sudo rpm --import http://pkg.jenkins-ci.org/redhat-stable/jenkins-ci.org.key
sudo yum install jenkins

Run the following systemctl commands to start and enable the jenkins service:

systemctl start jenkins
systemctl enable jenkins

After the installation, we need to allow port 80 & 8080 on the firewalld of the system. Run:

firewall-cmd –zone=public –add-port=8080/tcp –permanent
firewall-cmd –zone=public –add-service=http –permanent
firewall-cmd –reload

Step 4. Access the Jenkins Web portal.

Now, access the Jenkins using the below address from your web browser:

http://your_server_IP_or_domain_name:8080

Congratulation’s! You have successfully install and configured Jenkins on your CentOS 7 server. Thanks for using this tutorial for installing Jenkins on CentOS 7 system.

How to Install Kodi 17 Krypton on Ubuntu 16.04

Install Kodi 17 Krypton on Ubuntu 16.04

In this tutorial we’ll learn how to install Kodi 17 Krypton on Ubuntu 16.04. We will also install and configure its prerequisites. Kodi, formerly known as XBMC Is an award-winning free and open source cross-platform media player feels quite natural to use from the sofa and is the ideal solution for your home theater. Currently Kodi can be used to play almost all popular audio and video formats around. It was designed for network playback, which means you can stream your multimedia from anywhere in the home or directly on the internet using practically any protocol accessible. Utilize your media as-is: Kodi can play CDs and DVDs directly from the disc or image file, almost all popular archive formats in the hard disk, and also files within ZIP and RAR archives. It is going to also scan all of your media and automatically create a personalized library, complete with box covers, descriptions, and fan art. There are playlist and slideshow functions, a weather forecast feature and lots of audio visualizations.

I recommend to use a minimal Ubuntu server setup as a basis for the tutorial, that can be a virtual or a root server image with an Ubuntu 16.04 minimal install from a web hosting company or you use our minimal server tutorial to install a server from scratch.

Install Kodi 17 Krypton on Ubuntu 16.04

Step 1. First, ensure your system and apt package lists are fully up-to-date by running the following:

apt-get update -y
apt-get upgrade -y

Step 2. Install Kodi on Ubuntu.

First, Add the PPA to your package list with the command:

sudo add-apt-repository ppa:team-xbmc/ppa

With the package list updated you can in install Kodi with the command:

sudo apt-get update
sudo apt-get install kodi

Finally, once Kodi is installed you can run the application through the Unity Dash menu or by typing kodi into the terminal:

kodi

Congratulation’s! You have successfully install and configured Kodi 17 Krypton on your Ubuntu 16.04 server. Thanks for using this tutorial for installing Kodi on Ubuntu 16.04 LTS (Xenial Xerus) system.

How to Install Zabbix Monitoring on CentOS 7

Install Zabbix Monitoring on CentOS 7

In this tutorial we’ll learn how to install Zabbix Monitoring on CentOS 7. We will also install and configure its prerequisites. Zabbix is a free and open source network monitoring Software tool which is used to monitor and track the availability and performance of your IT infrastracture such as WEB monitoring, auto-discovery, and more.

I recommend to use a minimal Ubuntu server setup as a basis for the tutorial, that can be a virtual or a root server image with an CentOS 7 minimal install from a web hosting company or you use our minimal server tutorial to install a server from scratch.

Install Zabbix Monitoring on CentOS 7

Step 1. First, ensure your system is fully up-to-date by running the following:

yum -y update
yum install epel-release

Step 2. Installing LAMP on CentOS 7.

You should check out this LAMP stack install tutorial for CentOS 7, if you haven’t installed LAMP yet. Once it’s installed, come back here and read on. We also will install the required packages for LAMP stack and the important PHP extension that Zabbix relies on:

yum install php70w php70w-dom php70w-mbstring php70w-gd php70w-pdo php70w-json php70w-xml php70w-zip php70w-curl php70w-mcrypt

Step 3. Installing Zabbix.

First, we need to enable the zabbix repository using this commands:

rpm --import http://repo.zabbix.com/RPM-GPG-KEY-ZABBIX
rpm -ivh http://repo.zabbix.com/zabbix/3.2/rhel/7/x86_64/zabbix-release-3.2-1.el7.noarch.rpm

Now use the below command to install Zabbix and necessary packages:

yum install zabbix-server-mysql zabbix-web-mysql zabbix-agent zabbix-get zabbix-sender zabbix-java-gateway

Step 4. Configure Zabbix Server with MariaDB.

Next, we need to create a database for the Zabbix installation:

mysql -uroot -p

Run the following command to create a database for Zabbix:

create database zabbixdb character set utf8 collate utf8_bin;
grant all privileges on zabbixdb.* to zabbixuser@localhost identified by 'zabbixpassword';
quit;

Import zabbix database schema in newly created database:

cd /usr/share/doc/zabbix-server-mysql*/
zcat create.sql.gz | mysql -u zabbixuser -p zabbixdb

Now we need to edit database configuration in the zabbix server configuration file zabbix_server.conf:

nano /etc/zabbix/zabbix_server.conf

Make sure you set as follows:

...................................
DBHost=localhost
DBName=zabbixdb
DBUser=zabbixuser
DBPassword=zabbixpassword
...................................

After importing the zabbix database we need to enable and start zabbix-server service:

systemctl enable zabbix-server
systemctl enable httpd
systemctl enable mariadb

Step 5. Edit PHP timezone.

To begin using the Apache with Zabbix server. Zabbix configuration file needs to be updated with TimeZone:

nano /etc/httpd/conf.d/zabbix.conf

Update the following:

php_value date.timezone Asia/Kolkat

Save the file and don’t forget to reload the apache service using the below command:

systemctl reload httpd

Step 6. Set SELinux settings and adjust Firewall.

If you have SELinux enabled on your server, you need to run the following command to enable successful connection of Zabbix web frontend to the server:

setsebool -P httpd_can_network_connect=1
setsebool -P httpd_can_connect_zabbix=1
setsebool -P zabbix_can_network=1

Configure the firewall to allow Zabbix agent to reach Zabbix server:

firewall-cmd --permanent --add-port=10050/tcp
firewall-cmd --permanent --add-port=10051/tcp
firewall-cmd --permanent --add-port=80/tcp
firewall-cmd --reload
systemctl restart firewalld

Step 7. Accessing Zabbix Monitoring Web Installation.

Now you can access the Zabbix web install wizard in your browser by entering the domain-name/zabbix or http://your_ip/zabbix/ to continue your Zabbix installation. I suggest you read up on Zabbix documentation and specifically the concepts and definitions.

Congratulation’s! You have successfully install and configured Zabbix Monitoring on your CentOS 7 server. Thanks for using this tutorial for installing Zabbix on CentOS 7 system.