Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Bananenbaas

Pages: [1]
1
Installation / Re: Problem with installation on CentOS 7
« on: January 30, 2017, 08:54:46 PM »
Hi Mark,

I've run into sort of the same problems during installation. I think you should enable the optional, extras & EPEL repos.

Check out my post: http://forum.centos-webpanel.com/installation/installation-on-redhat-7/

2
Installation / Re: Installation on Redhat 7
« 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

3
Installation / Re: Installation on Redhat 7
« 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?

4
Installation / 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!

Pages: [1]