I installed Centos6 instance in AWS - And trying to install Centos web panel. When i log through Putty with local ip i am unable to proceed my installation. Login as - root is denied and asks to login as user name = centos
When we log as centos user, it results
[centos@ip-xxx-xxx-x-xx ~]$
cd /usr/local/src
[centos@ip-xxx-xxx-x-xx src]$
we unable to execute the following command
[centos@ip-xxx-xxx-x-xx src]$ wget http://centos-webpanel.com/cwp-latest
-bash: wget: command not found
What shall i do further - Any Suggestions appreciated.
Thank You
Quote from: aosweb on September 28, 2018, 03:50:50 PM
yum install wget -y This command did not worked - It says you need to use ROOT - but here it is just centos user
Use this command to get root access
sudo su
Yes done - In AMAZON WEB SERVICE - we cannot log through ssh directly - so we need to follow the username of the specific server provided as default. For CENTOS the default user is centos
Then the following commands applied and installed centos web panel succesfully
Quotelogin as: centos
To reach rootQuotesudo su
To prepare VPS to get ready to install webpanelQuoteyum -y install wget
Quoteyum -y update
Quotereboot
Reboot and relogin to server through SSHSTART TO INSTALL THE CENTOS WEB PANELQuotelogin as: centos
To reach rootQuotesudo su
Set a Host Name - MustQuotehostname xys.example.com
- Should be a subdomain of a working domain
If you install Centos 6 follow the below commands one by oneQuote
cd /usr/local/src
wget http://centos-webpanel.com/cwp-latest
sh cwp-latest
If you install Centos 7 follow the below commands one by oneQuote
cd /usr/local/src
wget http://centos-webpanel.com/cwp-el7-latest
sh cwp-el7-latest
Now the installation is over - you will get login credential details in the ssh You need to copy those credentials and then REBOOT
You will get all the details of http and https url links to go to your centos web panel where you need to use root password.
As you do not know the root password while you install instance in AWS
Login again to the server through SSHQuotelogin as: centos
To reach rootQuotesudo su
Now Change the password of rootQuotepasswd root
You will be asked to provide new password and again confirm the passwordYou need to remove the password of root in SSH with the below command
Quotepasswd -d root
Now You need to reboot againQuotereboot
You can find the centos web panel CWP ... you need to add the domain with relevant ip address to point the server.
Thats all the job is over.