HostOnNet Blog

Category Archives: Linux

nmap

To Scan for hosts that are UP on a network/ip range, run nmap -sP 192.168.1.1-255 To see all Open Ports on a computer, run nmap IP-OF-COMPUTER-TO-SCAN nmap find all IP with port 80 open


Server Monitoring Tools

Here are list of some of the server monitoring tools Prometheus Created by SoundCloud.com. It is written in GoLang. Very easy to install and setup. It work with Grafana to show very good graphs. I have 2 installation of this.


Connect to PPTP server via command line on Ubuntu

To connect to PPTP server from command line on Ubuntu/Linux, create file Here honvpn is name of the connection, this can be anything. Add following content to the file. Here 35.154.48.22 is IP of PPTP server. hostonnet is the PPTP


zabbix_agent

Install Zabbix Agent from Source on Linux

In our previous post we have installed Zabbix Server on Ubuntu from source. Let’s add and monitor another linux server with Zabbix Agent. Login to server as root and Create a new user and group Download and install latest version


How to Monitor a Host with Nagios

In our previous post we have successfully installed and configured Nagios core in our Ubuntu server. Now, let us add some clients to monitor by Nagios server. To do that we have to install nrpe and nagios-plugins in our monitoring


Upload files to Amazon S3 from Linux Command Line

awscli s3cmd Amazon provide awscli command line tool to upload files from Linux command line to Amazon S3. This is a python package, so you need pip installed for installing awscli, if you dont have pip installed, install it with


Install vsftpd in Ubuntu 14.04

Install vsftpd on CentOS To install vsftpd on ubuntu, run Now you need to edit vsftpd config file You need to add After chroot_local_user.


sed

sed is a command line tool to replace text. To display only To Replace text You can use regular expression for matching text.


Find Information About a Kernel Module

modinfo command is used to find more information about a Linux Kernel module. Modules provide additional features that are not provided by kernel by default. For example, you have a Graphics card that is not supported by kernel by default,


Generate SSH Key for Password less Auth

ssh-keygen Changing Your SSH Key Copying SSH key to Remote Server Remove a servers key fingerprint from known_hosts SSH publickey authentication not working SSH Tunnel (VPN) – Browse safely using SSH Tunnel ssh tunnel with autossh SSH Errors CentOS 7