VIKHOST Tech Blog
—
Useful Technical Articles, Notes and Instructions.

How to Change the RDP Port in Windows
Change the Default Remote Desktop (RDP) Port 3389 in Windows — RDP (Remote Desktop Protocol), or Remote Desktop Protocol, is an application layer protocol used to provide remote access to Windows servers and workstations. By default, RDP connection uses TCP port 3389, but sometimes it may be necessary to change rdp port, the most often used when you need to hide your RDP / RDS host from automatic ...
Read more
Read more

How to Shutdown or Reboot Debian 10
How to Shutdown or Reboot Debian 10 (Buster) — You need to know that traditional commands for halting and rebooting will not be used any more for Debian 10. Now this system is fully switched to Systemd. At first for work with a system you need to use a root user for commands. Below you could find systemd equivalents which need to be used on Debian 10: For shutdowning Debian ...
Read more
Read more

How to add additional IP address Linux
How to add additional IP address Linux — At first, you need to back up, if anything will be done wrong. Below you could find command: cp /etc/network/interfaces /etc/network/interfaces.backup Also please make sure that you are one of the root account on your server.
For adding IP address to server’s network interface you need to edit files /root/etc/network/interfaces After coping, you could view and edit file using nano: nano /etc/network/interfaces
...
Read more
For adding IP address to server’s network interface you need to edit files /root/etc/network/interfaces After coping, you could view and edit file using nano: nano /etc/network/interfaces
...
Read more

Linux. List of services in auto loading
Linux. List of services in auto loading — The easiest and most intuitive way to display a list of services / programs that are at startup, with the ability to edit them, is to use the sysv-rc-conf console utility. We use next: sudo apt-get install sysv-rc-conf Run: sudo sysv-rc-conf And we see next: Now, with the help of a space, we can enable or disable the autoload of the service, ...
Read more
Read more

How to check the Debian version
How to check the Debian version — Command cat /etc/issue
The easiest way to find out your Debian version is to look at the contents of the /etc/issue file with the cat command root@debian-host:~# cat /etc/issue
Debian GNU/Linux 8 \n \l
Command cat /etc/debian_version
However, this file contains only information about the version of the distribution, in order to find out the version and release number of Debian, you need ...
Read more
The easiest way to find out your Debian version is to look at the contents of the /etc/issue file with the cat command root@debian-host:~# cat /etc/issue
Debian GNU/Linux 8 \n \l
Command cat /etc/debian_version
However, this file contains only information about the version of the distribution, in order to find out the version and release number of Debian, you need ...
Read more

How to disable SELinux in CentOS 7
How to disable SELinux in CentOS 7 — At first let’s to check status of SELinux. To check current state of SELinux and the SELinux policy that is used on your system, use the sestatus command: sestatus
SELinux status: enabled
SELinuxfs mount: /sys/fs/selinux
SELinux root directory: /etc/selinux
Loaded policy name: targeted
Current mode: enforcing
Mode from config file: enforcing
Policy MLS status: enabled
Policy deny_unknown status: allowed
Max kernel policy ...
Read more
SELinux status: enabled
SELinuxfs mount: /sys/fs/selinux
SELinux root directory: /etc/selinux
Loaded policy name: targeted
Current mode: enforcing
Mode from config file: enforcing
Policy MLS status: enabled
Policy deny_unknown status: allowed
Max kernel policy ...
Read more

How to change Hostname in Ubuntu 18
How to change Hostname in Ubuntu 18.04/18.10 Server — As you know - hostname it is name of computer and its identifier in the local network. It is computer's name which is indicated in setup of Ubuntu. Below you can find instruction how to change hostname in working system without restarting. How to know computer's name
For checking name of computer is used next command: hostnamectl
in the displaying of ...
Read more
For checking name of computer is used next command: hostnamectl
in the displaying of ...
Read more

How To Create Additional Administrator Accounts for Windows Server 2012
How To Create Additional Administrator Accounts for Windows Server 2012 — You need to do next steps to create additional Administrator Accounts.
At first we need to create account and only after it you can add this account to the Administrator Group role: 1. Navigate to Computer Management. This can be done by clicking Start > Computer Management or via Start > Run > compmgmt.msc 2. In the left hand ...
Read more
At first we need to create account and only after it you can add this account to the Administrator Group role: 1. Navigate to Computer Management. This can be done by clicking Start > Computer Management or via Start > Run > compmgmt.msc 2. In the left hand ...
Read more

How to add an additional IP address in CentOS 7
How to add an additional IP address in Centos 7 — In this article we will show you how to add a secondary IP address to your server which is running CentOS 7. Adding an additional IP address is needed if you have two or more subnets and you need to use them on CentOS server. For doing it, you will need to add the second and subsequent ip address ...
Read more
Read more

How to disable NetworkManager on CentOS
How to disable NetworkManager on CentOS — Below you can find how to disable NetworkManager service. 1. Command how to check interfaces are managed by NetworkManager # nmcli device status Mentioned command displays table with lists all network interfaces along with their STATE. If Network Manager is not controlling an interface, its STATE will be listed as unmanaged. Any other value indicates the interface is under Network Manager control. 2 ...
Read more
Read more