Author Topic: Installation on Redhat 7  (Read 13545 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Installation on Redhat 7
« on: January 26, 2017, 04:07:11 PM »
Hello!

I'm new to the forums wanting to install Centos Webpanel on an Amazon EC2 instance running Redhat 7 (Free Tier).
But I'm running into some problems. When installing it stops installing due to the following:

touch: cannot touch ‘/etc/pure-ftpd/pure-ftpd.passwd’: No such file or directory
cwp-latest: line 221: pure-pw: command not found
Installation FAILED at pure-ftpd

Can you guys give me any comments on this? Do I need to install pure-ftpd manually?

Thanks!
« Last Edit: January 26, 2017, 04:12:19 PM by Bananenbaas »

Offline
*****
Re: Installation on Redhat 7
« Reply #1 on: January 27, 2017, 06:07:36 AM »
without checking no one will reply you .. contact support for further investigation

Offline
*
Re: Installation on Redhat 7
« Reply #2 on: January 28, 2017, 03:32:31 PM »
edit hosts
# vi /etc/hosts
# hostname  srv1.example.com
# yum -y install wget
# yum -y update

install apache
# yum install httpd openssl mod_ssl
# systemctl restart httpd
# systemctl status httpd
# systemctl enable httpd

install mysql
# yum install mariadb mariadb-server mysql
# mysql_secure_installation
# systemctl restart mariadb
# systemctl status mariadb
# systemctl enable mariadb

install php7
# rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
# rpm -Uvh https://mirror.webtatic.com/yum/el7/webtatic-release.rpm
# yum install php70w php70w-opcache
# yum install php70w php70w-opcache php70w-common php70w-cli php70w-mysql php70w-pdo php70w-mbstring php70w-bcmath php70w-xml php70w-pgsql   

install pure-ftpd

# yum -y install pure-ftpd   
# systemctl enable pure-ftpd.service
# systemctl start pure-ftpd.service

install centos web-panel
# yum install -y wget
# cd /usr/local/src
# wget http://centos-webpanel.com/cwp-el7-latest
# sh cwp-el7-latest

Offline
*
Re: Installation on Redhat 7
« Reply #3 on: January 29, 2017, 03:20:55 PM »
The EC2 instances don't come with the additional RPM's enabled. Enabling them fixed the problems! But now after the installation and reboot the service doens't seem to be booting... I've tried the "service cwpsrv restart" command but this is the result (even after 5 min of waiting..):

[root@athena ~]# service cwpsrv restart
Restarting cwpsrv (via systemctl):

And nothing is happening, any suggestions?
« Last Edit: January 29, 2017, 03:29:13 PM by Bananenbaas »

Offline
*
Re: Installation on Redhat 7
« Reply #4 on: January 29, 2017, 08:09:51 PM »
unfortunately we would have too many questions for you to check and that becomes too complicated, so you should check this with your system admin or our support, also don't follow installation of rpm't by yourself prior running cwp installer as this could cause only issues and will cause that rpm's have conflict as in centos 7 cwpsrv apache and php are installed via rpm.
AntiDDoS Protection (web + mail)
http://centos-webpanel.com/website-ddos-protection-proxy

Join our Development Team and get paid !
http://centos-webpanel.com/develope-modules-for-cwp


Services Monitoring & RBL Monitoring
http://centos-webpanel.com/services-monitor


Do you need Fast and FREE Support included for your CWP linux server?
http://centos-webpanel.com/noc-partner-list
Installation Instructions
http://centos-webpanel.com/installation-instructions
Get Fast Support Here
http://centos-webpanel.com/support-services

Offline
*
Re: Installation on Redhat 7
« Reply #5 on: January 30, 2017, 10:54:57 AM »
I've got it up and running now. I did the following:

While creating your EC2 Instance make sure you allow incomming ports 2030 and 2031.

1st install wget:
Code: [Select]
# sudo yum install -y wget
2nd set your static hostname:
Code: [Select]
Update the /etc/hostname file on your RHEL 7 or Centos 7 Linux instance with the new hostname.
    # sudo vim /etc/hostname
Replace the existing text with the hostname that you want the instance to use even after a restart or reboot.
     your_hostname
Save and exit the vim editor.
Note
After making this change, press SHIFT + : [colon] to open a new command entry box in the vim editor. Type wq, and then press Enter to save changes and exit vim.
Update the /etc/hosts file on your RHEL 7 or Centos 7 Linux instance with the new hostname.
   # sudo vim /etc/hosts
Change the entry beginning with 127.0.0.1 to read as follows:
     127.0.0.1 your_hostname localhost.localdomain localhost
Save and exit the vim editor.
Update the /etc/sysconfig/network file on your RHEL 7 or Centos 7 Linux instance.
   # sudo vim /etc/sysconfig/network
Update the /etc/sysconfig/network file with the following values:
     NETWORKING=yes
     NETWORKING_IPV6=no
     HOSTNAME=your_hostname
Save and exit the vim editor.
Update the /etc/cloud/cloud.cfg file on your RHEL 7 or Centos 7 Linux instance.
   #  sudo vim /etc/cloud/cloud.cfg
Append the following string at the bottom of the file to ensure that the hostname is preserved between restarts/reboots.
     preserve_hostname: true
Save and exit the vim editor.
Run the following command to reboot the instance to pick up the new hostname:
    # sudo reboot
After you reboot the EC2 instance, run the Linux hostname command without any parameters to verify that the hostname change persisted.
    # hostname
The command should return the new hostname.
     your_hostname

After you've set your hostname correctly enable the optional and extra yum repo's:
Code: [Select]
# sudo yum-config-manager --enable rhui-REGION-rhel-server-extras rhui-REGION-rhel-server-optional

Install the EPEL Repo as well
Code: [Select]
# sudo yum install epel-release
If this doesn't work do the following:
Code: [Select]
# cd /tmp
# wget https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
# ls *.rpm
# sudo yum install epel-release-latest-7.noarch.rpm

Update your EC2 instance
Code: [Select]
# sudo yum update
Install CentOS Webpanel according to the installation guide!
Code: [Select]
# cd /usr/local/src
# wget http://centos-webpanel.com/cwp-el7-latest
# sh cwp-el7-latest
« Last Edit: January 30, 2017, 10:57:46 AM by Bananenbaas »