How To Change Default SSH Port in Linux, Ubuntu or Centos

How to change the default SSH Port in Linux or Ubuntu which is 22 to increase the security. Just loginto your SSH server using root. Then use some editor like nano or vi to edit the sshd configuration file. Then type nano /etc/ssh/sshd_configYou can use other editor like vi if nano is not installed but working with vi is a little different. If nano is not installed you can install is using yum install nano in CentOS. Now lets save the new port number and exit. Press Ctrl + X Type Y for YES. Don’t change the file name and…

View More How To Change Default SSH Port in Linux, Ubuntu or Centos
CentOS

How To Create A Parition in Linux, CentOs, Ubuntu Using Command Line Interface

First log into your account using root. Then checkout the drives and paritions using the command “lsblk” It will show you the drives begining with the name sda, sdb, sdc and so on. We can see that there is a drive sdb with no partition on it. Just note down the drive “sdb” on which you want to create parition in linux. It will show you the drives begining with the name sda, sdb, sdc and so on. Just note down the drive on which you want to delete the parition in linux. Use the command fdisk to enter in…

View More How To Create A Parition in Linux, CentOs, Ubuntu Using Command Line Interface
CentOS

How to delete a partition in Linux, CentOs, Ubuntu Using Command Line Interface

First log into your account using root. Then checkout the drives and partitions using the command “lsblk” It will show you the drives begining with the name sda, sdb, sdc and so on. Just note down the drive on which you want to delete the parition in linux. Use the command fdisk to enter in that drive as follow: Now type “d” to delete the partition Now Type “w” to write this operations in system and “q” to quit wq Now just reboot and use command lsblk to see that partition has been deleted in linux successfully. You can also…

View More How to delete a partition in Linux, CentOs, Ubuntu Using Command Line Interface
CentOS

How To Check VPS Network Speed

This little guide will let you check the network speed your vps using a small script called Bench. The script is located at https://bench.sh/ Upon clicking the https://bench.sh/ you will see two command which you can run to check vps network speed. The following two commands are listed as follow if you dont want to visit the website directly wget -qO- bench.sh | bash OR curl -Lso- bench.sh | bash Here are the results of few networks. If you run this on your server do share with us so we can list it here. Check Network Speed of Host Mayo…

View More How To Check VPS Network Speed
CentOS

How to test VPS Disk Speed (I/O SPEED)

VPS is just like shared hosting but instead its called shared server because you have separate OS and resources depending upon the type of virtualization. The shared environment therefore effects the performance of VPS. This short guide will help you to measure the VPS disk speed. The disk performance is also referred to as I/O (Input/Output) – write and read speed. We need to test VPS disk speed of a server because all the vps on the same server and depending upon the vps on that server your disk performance can be effected. Further you can check out if you truly have…

View More How to test VPS Disk Speed (I/O SPEED)