Post-Installation Options
With your VitalPBX installation done, there are some things you can do for ease of configuration.
1. Remote access using the root user.
You cannot remotely access the server using the root user by default. This can be changed by modifying the “sshd_config” file. First, log in as root directly on the terminal. Then, edit the following file using Nano.
root@debian~:# nano /etc/ssh/sshd_configChange the line.
#PermitRootLogin prohibit-passwordWith.
#PermitRootLogIn yesSave the document and exit.
Optionally, if you want to keep the root user from remotely accessing the server, you can add a Debian user to the “sudoers group.” Enter the following command.
root@debian:~# usermod -aG sudo username2. Change to a Static IP address.
By default, your system will pull an IP address using DHCP. It is recommended that your server use a static IP address instead. To change it, we will modify the interfaces file. Run the following command.
oot@debian:~# nano /etc/network/interfacesChange this block of text.
#The primary network interface allow-hotplug eth0 iface eth0 inet dchpTo this.
#The primary network interfaceallow-hotplug eth0iface eth0 inet staticaddress 192.168.1.200netmask 255.255.255.0gateway 192.168.1.1Finally, enable the interface and reboot your system.
root@debian:~# ifup eth0root@debian:~# rebootWas this article helpful?
Your feedback helps us improve the documentation.
Thank you for helping us improve!
