Thursday, 8 March 2018

How to print Number of Processing Units - nproc



The nproc command just prints out the number of processing units available. Note that the number of processing units might not always be the same as number of cores.

How to change the SSH Port in Linux distribution



We can change the default SSH port in Linux distribution as an added security concerns.

How to install and use tcpdump command on Centos7/RHEL7



TCPDump is a command line packet sniffer/ packet analyzer tool which used to capture or filter TCP/IP packets that received or transferred over a network on a specific interface.

Wednesday, 31 January 2018

Nagios Plugins: Can’t locate utils.pm in @INC



In nagios plugins written in perl, you got the following error while trying to use a nagios.

Error: Table is marked as crashed and should be repaired



If you are getting the following error message:

Sunday, 3 December 2017

How to Install SeedDMS on RHEL/Centos 7



SeedDMS is a very useful open source document management system. Its features are quite powerful, easy to use, but unfortunately lack of documentation. To install SeedDMS we need to install first a couple of packages in our RHEL/Centos 7.

Friday, 1 December 2017

How to create new SVN repository



SVN repository creation is a simple task. The svnadmin utility that comes with subversion provides a subcommand svnadmin create for creating the new SVN repository.

Environment:

 The Subversion repository is already configured and the SVNParentPath is /var/www/html/

Create a Repository:

[root@ linuxcnf ~]# cd /var/www/html/
[root@ linuxcnf html]# mkdir testrepo
[root@ linuxcnf html]# svnadmin create testrepo
[root@ linuxcnf html]# chown apache.apache -R testrepo

Now you can access the new created repository using server URL.

Saturday, 25 November 2017

netstat Command not found on CentOS 7 / RHEL 7



netstat is a command line utility to check the network connection, configuration and activity on a Linux machines.