To change VPS/Dedicated Server root password.
1. Login SSH (Putty)
2. Run command: passwd root
3. New Password: Type as you want
4. Retype New Passowrd:
5. passwd: all authentication tokens updated successfully.
Follow the Example.
Login your SSH.
Run following command.
Will appear New Passowrd Options.
Example:
COMMAND
passwd root
To resart mysql server of Direct Admin Panel uses following command.
Example:
COMMAND
service mysqld restart
VestaCP step-by-step installation guide
Example:
COMMAND
sudo apt update && sudo apt upgrade
It will download the Vestacp Package.
Run following command.
Example:
COMMAND
curl -O http://vestacp.com/pub/vst-install.sh
Run the following command to change the in vst-install.sh permission.
Example:
COMMAND
sudo chmod +x vst-install.sh
Example:
COMMAND
sudo ./vst-install.sh --force
Here is Bitvise Download Link
Example:
COMMAND
ls
The pwd
command allows you to print the current working directory on your terminal. It’s a very basic command and solves its purpose very well.
Now, your terminal prompt should usually have the complete directory anyway. But in case it doesn’t, this can be a quick command to see the directory that you’re in. Another application of this command is when creating scripts where this command can allow us to find the directory where the script has been saved.
Following command is an example to view filename.txt from root diretory.
Example:
COMMAND
pwd > filename.txt
While working within the terminal, moving around within directories is pretty much a necessity. The cd command is one of the important Linux commands you must know, and it will help you navigate through directories. Just type cd
followed by directory, as shown below.
Example:
COMMAND
cd home
The mkdir
command allows you to create directories from within the terminal.
Example:
COMMAND
mkdir wwe