Seeking advice on installing cPanel
Hi all,
This is my 1st time to install cPanel. I have long time using cPanel. It is an experimental installation, solely for learning NOT for production.
OS - Ubuntu 20.04 server or desktop
Hardware - an old PC
CPU - AMD Ryzen 5 8-core
RAM - 8G
Hard Drive - 1TB SSD
I have registered domain
On Internet searching I found following documents;
1)
How To Install And Setup CPanel On A Linux Server
-
Hi kodeslogic, Thanks for your advice and link. A further question, can I install CentOS on a VM/Guest of Oracle VirtualBox for this test.? If YES, please advise how to set the domain pointing to the server. IP address of my PC - 111.222.333.444 Internal IP of the VM/Guest - 192.168.111.222 Thanks in advance. Regards 0 -
It isn"t supported on Ubuntu.
...yet :D @satimis - I would expect an installation in VirtualBox to work well, although I can't say for sure how the networking would need to be set up in that instance as that isn't something that cPanel controls.0 -
...yet :D @satimis - I would expect an installation in VirtualBox to work well, although I can't say for sure how the networking would need to be set up in that instance as that isn't something that cPanel controls.
Hi, Just made following test of cPanel installation:- OS : CentOS 8 freshly installed SSD Hard drive : 120G no /home # lvsLV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert root cs -wi-ao---- 109.00g swap cs -wi-ao---- 7.80g
# curl -o latest -L
Failed # cat /etc/hostnamelocalhost.localdomain
# cat /etc/hosts127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4 ::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
I have domain registered. This is only a test not for production Please advise how to change hostname to proceed. Thanks Regards0 -
You can just enter this on the command line of the server: hostname testserver.domain.com
and that will take care of that :D0 -
I'm sorry you've run into an issue with the installation. The SSL certificate wouldn't be related to the issues you're seeing, as that is a free certificate that gets installed as part of the installation process. Your user likely doesn't have su privileges because those haven't been created, but that isn't something that cPanel handles. As for Firefox not working, I really can't say what would cause that behavior either. It might be best to contact your hosting provider or datacenter to see if they can check the server. If this machine is hosted on a private network, such as a home or business, there would need to be additional settings on your local router and network to ensure the traffic can correctly reach the machine, and that the license works properly, but we aren't able to provide details on exactly how that network should be configured as every situation is different. 0 -
I'm sorry you've run into an issue with the installation. The SSL certificate wouldn't be related to the issues you're seeing, as that is a free certificate that gets installed as part of the installation process. Your user likely doesn't have su privileges because those haven't been created, but that isn't something that cPanel handles. As for Firefox not working, I really can't say what would cause that behavior either. It might be best to contact your hosting provider or datacenter to see if they can check the server. If this machine is hosted on a private network, such as a home or business, there would need to be additional settings on your local router and network to ensure the traffic can correctly reach the machine, and that the license works properly, but we aren't able to provide details on exactly how that network should be configured as every situation is different.
Hi, I'm the administrator testing cPanel installation on CentOS 8. The OS was freshly installed on a PC about 3 days ago. I have posted my problem on CentOS forum and got a reply from moderator, saying;We do not support cpanel systems for precisely those reasons. They change the group and permission on the su executable so that only people in that selected group can run it. They do other stuff like that and also add exclude= to yum.conf and replace CentOS packages with their own.
So I can do nothing here Regards0 -
I still believe the issues you're seeing are because the server is installed on a local network, and not a datacenter that typically has these ports opened for access. While it's great that you're trying to learn more and do testing, we're just not able to offer much advice when it comes to network settings or access issues with the OS itself, as that seems to be the root of the issue. 0 -
I still believe the issues you're seeing are because the server is installed on a local network, and not a datacenter that typically has these ports opened for access. While it's great that you're trying to learn more and do testing, we're just not able to offer much advice when it comes to network settings or access issues with the OS itself, as that seems to be the root of the issue.
Hi, Just check the collapsed cPanel with following steps 1. Boot CentOS 8 to TEXT MODE (press c-key at booting started) 2. The screen displaysGrub>
Not login> 3.Grub> ls
It displays the drives. Pls see photo attached 4.Grub> Press TAB
It displays all available commands. Pls see photo attached Not all commands are CentOS' commands. That is why CentOS refused to help. Please advise where can I find the relevant manual for running those cPanel commands Thanks Regards0 -
Hi Jurassic, Tried again running following steps. 1. Installed CentOS 8 on another old 120G SSD 2. Setup - connected network at booting automatically. Last time connect network manually after booting up CentOS 8 3. On TEST mode - Removed /home, extending /root to take up the whole SSD 4. On TEST mode - Ran # curl -o latest -L http://httpupdate.cpanel.net/latest && sh latest :hostname testserver.domain.com
installing cPanel. No warning popup other than localhost.localdomain unable to work. Need a domain to work. This time I could work on both 1. GUI Mode and login as root. Unable to login as USER. I suppose it is because /home removed ? 2. Test Mode - login both as root and as USER Router IP - 192.168.1.112 But I couldn't start cPanel running; on local PC Firefox nor on remote PC Firefox. Warning: Server not found On remote PC, ping 192.168.1.112 works Any advice. Thanks Regards0 -
If you were able to access the server as root, could you complete the installation normally? If so, I would expect the WHM URL to work properly. 0 -
You really don't want a GUI on cPanel. My "guess" would be that the default CentOS firewall may be there/installed. Try: service firewalld stop
And then see if you can access cPanel. That stops the firewall service. It will start again if you reboot the server.0 -
Hi ffeingol, Thanks for advice. I ran all commands to install cPanel on TEXT mode. The installer is GUI CentOS 8. # service firewall stop Redirecting to /bin/systemctl stop firewall.service Failed to stop firewall.service: Unit firewall.service not loaded.
On remote PC Firefox ran;
On Terminal; $ ping 192.168.1.112PING 192.168.1.112 (192.168.1.112) 56(84) bytes of data. 64 bytes from 192.168.1.112: icmp_seq=1 ttl=64 time=0.287 ms 64 bytes from 192.168.1.112: icmp_seq=2 ttl=64 time=0.249 ms 64 bytes from 192.168.1.112: icmp_seq=3 ttl=64 time=0.284 ms ....
Regards0 -
It still sounds like there may be a firewall issue, or a problem on your local network if you aren't able to reach that specific port. Ping is just looking to see if ICMP packets are responding on the network, while the WHM login is looking for traffic over a specific port. 0 -
Hi Jurassic, Tried again. Before I left out d at end of firewall # service firewalld stop This time no complaint popup On remote PC Firefox ran;
Still failed Regards0
Please sign in to leave a comment.
Comments
16 comments