New in CWP Edge-LatestFree with every CWPpro licenceWebsites up to 300x faster

CWP now includes LSPHP, LSAPI-Cache and CWP Cage at no extra cost with all CWPpro licences. The LSAPI-Cache plugin is integrated into our WordPress and other script installers, and CWP Cage gives every user complete isolation. Available now in the CWP Edge-Latest version.

Get CWPpro ›

Attention programmer

Started by dasgrid, March 10, 2024, 04:29:52 AM

Previous topic - Next topic

dasgrid

Hello, I bought the PRO license for the whole year and I have not been able to install CWP due to problems with MariaDB, fix the installation script since none of it works because it cannot find the mariadb repository.

overseer

MariaDB is taking EL7 repositories offline with the imminent EOL of CentOS 7. Please install an LTS version (10.11) of MariaDB before installing CWP.

Starburst

CentOS 7 is EOL.
Allot of the repos for it are going offline, and has nothing to do with CWP.

If you install AlmaLinux 8.x, then CWP you won't have any problems.
Then once installed, follow the Wiki and upgrade MariaDB to 10.11 or higher.

dasgrid

The problem also occurs with Almalinux 8.9. When executing the installation script, it does not find the MariaDB repository.

Starburst

The install script located using:

cd /usr/local/src
wget http://centos-webpanel.com/cwp-el8-latest
sh cwp-el8-latest


Works perfectly fine on AlmaLinux 8.9 with creating the MariaDB 10.4 repo.
Just wish they would change it to 10.11.

You can also edit the file with nano before running it, and change the repo info manually.

cat > /etc/yum.repos.d/mariadb.repo <<EOF
# MariaDB 10.4 CentOS repository list - created 2020-06-23 23:26 UTC
# http://downloads.mariadb.org/mariadb/repositories/
[mariadb]
name = MariaDB
baseurl = http://yum.mariadb.org/10.4/centos8-amd64
module_hotfixes=1
gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB
gpgcheck=1
EOF


Just edit that section with info you get from: https://mariadb.org/download/?t=repo-config
Make sure to select Red Hat Enterprise Linux 8 under the 'Choose a distribution' menu.

If you server isn't able to connect to the MariaDB repo, then something is going on with your network.
Could be your upstream's IP(s) are blocked.

Also maybe trying to set your servers DNS to Google DNS 8.8.8.8 & 8.8.4.4