![]() Change /etc/ssh/sshd_config port to 9876Ħ. Edit /etc/firewalld/services/ssh.xml to change port numberĤ. Make a copy of the default ssh service file:Ĭp /usr/lib/firewalld/services/ssh.xml /etc/firewalld/services/ĪCCEPT tcp - 0.0.0.0/0 0.0.0.0/0 tcp dpt:22 ctstate NEWģ. Think it’s cleaner this way.įor example, here are the steps to change sshd port from the default 22 to 9876:ġ. This is a cross-distribution application management and development system.Instead of messing around with the ports directly with RHEL7/CentOS7 firewall-cmd, I’ve decided to update the port number in the ssh.xml service file instead. 2Īnother way to install the latest version of htop is with the third-party package manager snap-store. Then move into the htop directory and use configure followed by the make command to install/compile htop: cd htop-2. Now download the latest version of htop from its GitHub repository and extract it with the tar command: wget -O htop -2.0. Sudo apt- get install libncurses5-dev libncursesw5-dev ![]() To build htop for a Debian/Ubuntu distribution: sudo apt-get install build-essential You can do so for RHEL/CentOS/Fedora based distributions, as follows: yum groupinstall "Development Tools" Htop uses the ncurses library which you'll need to install, along with its development tools. Htop is an open-source project, so you can get the code and build it yourself to get the latest version with all new features and updates. Alternative Ways to Install htop Compile htop From the Source Code
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |