Author Topic: How to install webpanel in Centos 6 instance of Amazon AWS E2  (Read 7980 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
How to install webpanel in Centos 6 instance of Amazon AWS E2
« on: September 28, 2018, 11:11:14 AM »
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

Offline
*
Re: How to install webpanel in Centos 6 instance of Amazon AWS E2
« Reply #1 on: September 28, 2018, 01:01:54 PM »
yum install wget -y

Offline
*
Re: How to install webpanel in Centos 6 instance of Amazon AWS E2
« Reply #2 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

Offline
***
Re: How to install webpanel in Centos 6 instance of Amazon AWS E2
« Reply #3 on: September 29, 2018, 01:05:02 AM »
  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

Offline
*
SOLVED: How to install webpanel in Centos 6 instance of Amazon AWS E2
« Reply #4 on: September 29, 2018, 08:10:58 PM »
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

Quote
login as: centos
To reach root
Quote
sudo su
To prepare VPS to get ready to install webpanel
Quote
yum -y install wget
Quote
yum -y update
Quote
reboot
Reboot and relogin to server through SSH

START TO INSTALL THE CENTOS WEB PANEL
Quote
login as: centos
To reach root
Quote
sudo su
Set a Host Name - Must
Quote
hostname xys.example.com
- Should be a subdomain of a working domain
If you install Centos 6 follow the below commands one by one
Quote
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 one
Quote
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 SSH
Quote
login as: centos
To reach root
Quote
sudo su
Now Change the password of root
Quote
passwd root
You will be asked to provide new password and again confirm the password
You need to remove the password of root in SSH  with the below command
Quote
passwd -d root
Now You need to reboot again
Quote
reboot

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.