Categories
Tutorial

ioping-1.1-1.el7.x86_64.rpm – ioping for CentOS 7

Download ioping-1.1-1.el7.x86_64.rpm (ioping for CentOS 7):
https://rpmfind.net/linux/epel/7/x86_64/Packages/i/ioping-1.1-1.el7.x86_64.rpm

Download ioping for CentOS 7
CentOS7 ioping rpm download

Categories
Tutorial

How to Set or Change Hostname in CentOS 7/8

To set or change hostname on CentOS 7/8 use the command:
hostnamectl set-hostname your-new-hostname

Check your hostname:
hostnamectl or hostname

Categories
Solution

[fix] At least xMB more space needed on the /boot filesystem

How to fix: At least xMB more space needed on the /boot filesystem:
https://haydenjames.io/fix-least-xmb-space-needed-boot-filesystem/

Categories
Tutorial

Check disk usage in linux

To check how much space directories are taking up, run command:

du -h --max-depth 1 /home | sort -hr

Categories
Solution

[solution] cmake 3.1 or higher is required. you are running version 2.8

If you are getting the error “cmake 3.1 or higher is required. you are running version 2.8” while trying to compile znc or something else on CentOS, follow the solution given here to upgrade your cmake from cmake 2 to cmake 3:
https://stackoverflow.com/a/59689105

If you get the error “Cannot find a C++ compiler that supports both C++11 and the specified C++ flags.” while compiling cmake, you can try installing cmake 3.9.6 instead of the latest
https://github.com/Kitware/CMake/releases/download/v3.9.6/cmake-3.9.6.tar.gz

If cmake --version gives you error:
-bash: /usr/bin/cmake: No such file or directory
run hash -r and then check again.

Issues covered over this solution:
cmake 3.1 or higher is required. you are running version 2.8.12.2
Cannot find a C++ compiler that supports both C++11 and the specified C++ flags.
-bash: /usr/bin/cmake: No such file or directory

Categories
Solution

znc error: Your browser does not have cookies enabled for this site!

If you are getting the error “Your browser does not have cookies enabled for this site!” when visiting znc web console, simply delete that cookie from your browser and try again

Categories
Solution

[solution] Unable to bind: Address already in use

When trying to run an app if you are getting the error “Unable to bind: Address already in use”, you can use this command on linux to check which process is already using that port:

netstat -tulpn

Then you can kill the process with:

kill <pid>

If you are on windows you can check the port usage with:

netstat -a -o -n

And kill process on windows with:

taskkill /F /PID <pid>

Categories
Tutorial

How to use Micro SD Card as Internal Storage on MIUI 11

To use Micro SD card as Internal Storage (Enable Adoptable Storage) on a MIUI 11 phone, follow this tutorial:
https://miui.blog/any-devices/steps-enable-adoptable-storage-miui-11-phones/
or https://c.mi.com/thread-2601107-1-0.html

Following this tutorial you will be able to:
Use Micro SD Card as Internal Storage on MIUI 11
Enable Adoptable Storage on a MIUI 11

Categories
Tutorial

How to install Google BBR on CentOS 7

Follow this tutorial to learn how to install Google BBR on CentOS 7:
https://thestack.net/2019/04/google-bbr-how-to-install-it-on-centos-7

From the tutorial you can learn:
How to install Google BBR on CentOS 7
Install Google BBR on CentOS

Categories
Tutorial

How to upgrade kernel in CentOS 7

Follow this tutorial to learn how to install or upgrade linux kernel in CentOS 7:
https://www.howtoforge.com/tutorial/how-to-upgrade-kernel-in-centos-7-server/

From the tutorial you can learn:
how to install linux kernel 5 on CentOS 7
how to upgrade to linux kernel 5 in CentOS 7