Common topics on VPS server

Sometimes while working with a VPS server and using some of the control panels, you might encounter some errors, or you might want to perform some common tasks on VPS server. I have listed down some of the common topics on VPS server and their solutions. I hope this will be helpful to some of you.

1. Webuzo stop working

If Webuzo stop working for some reason and you can’t login to the control panel, then you can restart the server with the following command

service webuzo restart

2. wget command not found in ubuntu

Command line to install wget function in ubuntu

apt-get install wget

3. sudo command not found in Ubuntu

Command line to install sudo function in Ubuntu

apt-get install sudo

4. zip & unzip command not found

Command line to install zip and unzip function

apt-get install zip

apt-get install unzip

or

sudo apt-get install zip unzip

5. bsdutils Command

We can solve error E: Sub-process /usr/bin/dpkg returned an error code (1)

Run this command

apt-get -y install bsdutils

it will solve the issue


6. php.ini file in centos

To find out where is php.ini file, login into terminal as root then enter the following command

php -i | grep "Loaded Configuration File"

7. How to update the root password in Ubuntu

Login in as Root then type

Su

after that

passwd

the terminal will ask for a new password
re-enter the password


8. How to restart Nginx Server

Use follow code to restart NGINX Web Server

service nginx restart

9. Restart Apache in Centos

You can easily restart Apache in CentOs
Enter

service httpd restart

10. Change the root password in Centos

If we want to change the password of root in Centos
enter

passwd root

then it will ask for a new password
retype the password


If you would like to add anything to the list, please write down in the comment section below. Thanks

Leave a Reply