Linux

Install Htop 2.0 – Linux Process Monitoring for RHEL, CentOS & Fedora

This article is the continuation of our Linux system monitoring series, today we’re talking about the most popular monitoring tool called htop, which is just reached to version 2.0 and comes with some cool new features. Htop is an interactive real time process monitoring application for Linux/Unix like systems and also a handy alternative to top command, which is default process monitoring… Continue reading Install Htop 2.0 – Linux Process Monitoring for RHEL, CentOS & Fedora

Linux · MQTT

Build Mosquitto on Centos

Step 1 yum install gcc-c++ yum install cmake yum install openssl-devel //mosquitto are supported by default openssl Step 2 wget http://mosquitto.org/files/source/mosquitto-1.4.7.tar.gz tar -xzvf mosquitto-1.4.7.tar.gz cd mosquitto-1.4.7 Step 3: wget http://c-ares.haxx.se/download/c-ares-1.10.0.tar.gz tar xvf c-ares-1.10.0.tar.gz cd c-ares-1.10.0 ./configure make sudo make install Step 4 yum install libuuid-devel Step 5 wget https://github.com/warmcat/libwebsockets/archive/v1.3-chrome37-firefox30.tar.gz tar zxvf v1.3-chrome37-firefox30.tar.gz cd libwebsockets-1.3-chrome37-firefox30 mkdir… Continue reading Build Mosquitto on Centos

Linux

Fix : “Could not retrieve mirrorlist…”

Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=os error was 14: PYCURL ERROR 6 – “Couldn’t resolve host ‘mirrorlist.centos.org'” Error: Cannot find a valid baseurl for repo: base Fix it by these steps: edit network interface. For my case, I used eth0. vim /etc/sysconfig/network-scripts/ifcfg-eth0 update NM_CONTROLLED to no ONBOOT=no NM_CONTROLLED=no BOOTPROTO=dhcp DNS1=8.8.8.8 DNS2=4.2.2.2 restart the network interface ifdown… Continue reading Fix : “Could not retrieve mirrorlist…”