VIKHOST Tech Blog
Useful Technical Articles, Notes and Instructions.
How connect to SSH

How connect to SSH

How connect to SSH — After activation of your VPS and receiving access credentials to your Linux VPS, you can log in to the server using SSH protocol. At first you need to download SSH-client PuTTy. ➤ https://www.putty.org/ 1. Run the program 2. Fill in the required fields: • Host name (or IP address): IP address of your VPS • Saved Sessions: vikhost.com • Port: 22 • Connection type: SSH • Click "Save". It will save your settings. The next time at start, you will need to select “vikhost.com” from the list of saved sessions and click “Load”, item ...
Read more
Unix/Linux Command Reference

Unix/Linux Command Reference

Unix/Linux Command Reference — System Info date – show the current date and time
cal – show this month's calendar
uptime – show current uptime
w – display who is online
whoami – who you are logged in as
finger user – display information about user
uname -a – show kernel information
cat /proc/cpuinfo – cpu information
cat /proc/meminfo – memory information
man command – show the manual for command
df – show disk usage
du – show directory space usage
free – show memory and swap usage
whereis app – show possible locations of app
which app – show ...
Read more
How To: Remount /etc/fstab Without Rebooting in Linux

How To: Remount /etc/fstab Without Rebooting in Linux

How To: Remount /etc/fstab Without Rebooting in Linux — The file /etc/fstab contains necessary information for automatic mountingof partitions. Usually, after this file editing, you reboot the Linux system for the changes to take effect. There is an easy way to remount all partitions from /etc/fstab without rebooting the system. You need to run the following command from root: # mount -a This simple command remounts all file systems which specified in /etc/fstab, with the exception of partitions with the noauto option ...
Read more
How to find out the external ip in Linux

How to find out the external ip in Linux

How to find out the external ip in Linux — If you need to find out external IP from Linux command line, you need to do one of next commands: How to find out the Public IP Address from the Linux Command Line You need to get external IP address using command curl: # curl ifconfig.me
# curl ip.appspot.com
# curl icanhazip.com How to get external IP using command wget: # wget -q -O - ifconfig.me
# wget -q -O - ip.appspot.com
# wget -q -O - icanhazip.com How to find out external IP Address using DynDNS.org 1. You can ...
Read more
Загрузка...