Control Web Panel
WebPanel => Installation => Topic started by: venty on January 27, 2025, 10:55:12 AM
-
Hi,
Can anyone please tell me how to set up a server under AL9?
BR
Venty
-
I've posted the basic setup steps here in the forums a couple times.
Here it is again, or you also have options of people that can get the basic installed for you.
You can't have any services installed before installing CWP.
So if Apache is working 'out of the box', you are installing AlmaLinux 9.4 LAMP.
That won't work.
Reimage with the bare AlmaLinux 9.5
Setup your networking, hostname, timzone.
Then:
dnf install dnf-plugins-core
dnf install elrepo-release epel-release -y
dnf config-manager --set-enabled crb
dnf --refresh update
dnf install nano wget ipset ebtables iptables ipset-service uuid uuid-devel libuuid-devel m4 pcre pcre-devel zlib-devel perl-DBD-MySQL perl-IPC-Cmd perl-Pod-Html perl-Sys-Hostname perl-libwww-perl.noarch perl-LWP-Protocol-https.noarch perl-GDGraph libtool s-nail htop sysstat python3-perf ImageMagick ImageMagick-devel nmap make quota cockpit* -y
dnf --refresh update
dnf install clamav* clamd
dnf clean all
cd /usr/local/src
wget http://centos-webpanel.com/cwp-el9-latest
sh cwp-el9-latest
dnf install spamassassin amavis
Reboot
Configure & Start CSF
UPDATE DEPENDENCIES
dnf install php-cli libsodium libsodium-devel php-sodium php-pecl-zip php-pecl-mailparse php-mbstring php-pear php-devel php-pecl-imagick
pecl channel-update pecl.php.net
To updated MariaDB follow:
https://www.alphagnu.com/topic/23-upgrade-mariadb-1011-in-cwp-centos-7-centos-8-stream-almalinux-78-rockylinux-78/ (https://www.alphagnu.com/topic/23-upgrade-mariadb-1011-in-cwp-centos-7-centos-8-stream-almalinux-78-rockylinux-78/)
The one string to re-install MariaDB has been updated, or you'll get an error.
Run this instead:
dnf install MariaDB-server MariaDB-client net-snmp perl-DBD-MySQL --allowerasing
There are other steps, but everyone customizes their servers differently.
-
I've posted the basic setup steps here in the forums a couple times.
Here it is again, or you also have options of people that can get the basic installed for you.
You can't have any services installed before installing CWP.
So if Apache is working 'out of the box', you are installing AlmaLinux 9.4 LAMP.
That won't work.
Reimage with the bare AlmaLinux 9.5
Setup your networking, hostname, timzone.
Then:
dnf install dnf-plugins-core
dnf install elrepo-release epel-release -y
dnf config-manager --set-enabled crb
dnf --refresh update
dnf install nano wget ipset ebtables iptables ipset-service uuid uuid-devel libuuid-devel m4 pcre pcre-devel zlib-devel perl-DBD-MySQL perl-IPC-Cmd perl-Pod-Html perl-Sys-Hostname perl-libwww-perl.noarch perl-LWP-Protocol-https.noarch perl-GDGraph libtool s-nail htop sysstat python3-perf ImageMagick ImageMagick-devel nmap make quota cockpit* -y
dnf --refresh update
dnf install clamav* clamd
dnf clean all
cd /usr/local/src
wget http://centos-webpanel.com/cwp-el9-latest
sh cwp-el9-latest
dnf install spamassassin amavis
Reboot
Configure & Start CSF
UPDATE DEPENDENCIES
dnf install php-cli libsodium libsodium-devel php-sodium php-pecl-zip php-pecl-mailparse php-mbstring php-pear php-devel php-pecl-imagick
pecl channel-update pecl.php.net
To updated MariaDB follow:
https://www.alphagnu.com/topic/23-upgrade-mariadb-1011-in-cwp-centos-7-centos-8-stream-almalinux-78-rockylinux-78/ (https://www.alphagnu.com/topic/23-upgrade-mariadb-1011-in-cwp-centos-7-centos-8-stream-almalinux-78-rockylinux-78/)
The one string to re-install MariaDB has been updated, or you'll get an error.
Run this instead:
dnf install MariaDB-server MariaDB-client net-snmp perl-DBD-MySQL --allowerasing
There are other steps, but everyone customizes their servers differently.
Hi,
When, at what stage of setup should this be done:
https://prnt.sc/p1azgfisxGwq
BR
Venty
-
After you have install CWP and completed the step above that one and have CSF configured.
I always like to get CSF/LFD running as fast as I can on a box to protect it.
-
Hi,
thank you very much..., to upgrade MariaDB, I followed:
https://kb.starburstservices.com/control-web-panel-cwp/control-web-panel-cwp-admin-tutorials/upgrade-mariadb-10-x-to-10-11-with-cwp-on-almalinux-9/
When I executed step 4 and the command dnf clean all . I got the result:
Repository 'mariadb' is missing name in configuration, using id.
70 files removed
is this normal?
And by the way I upgraded to MariaDB 10.11.11, I guess a good choice?
Thanks in advance!
BR
Venty
-
For the
Repository 'mariadb' is missing name in configuration, using id.
Check the MariaDB.repo file.
It should look something like:
[mariadb]
name = MariaDB
baseurl = https://rpm.mariadb.org/10.11/rhel/$releasever/$basearch
gpgkey = https://rpm.mariadb.org/RPM-GPG-KEY-MariaDB
gpgcheck = 1
And then when you run a dnf clean all, it will usually show x file removed.
10.11.11 is the current version, and the 10.11 is a LTS (5 year) supported version.
-
For the
Repository 'mariadb' is missing name in configuration, using id.
Check the MariaDB.repo file.
It should look something like:
[mariadb]
name = MariaDB
baseurl = https://rpm.mariadb.org/10.11/rhel/$releasever/$basearch
gpgkey = https://rpm.mariadb.org/RPM-GPG-KEY-MariaDB
gpgcheck = 1
And then when you run a dnf clean all, it will usually show x file removed.
10.11.11 is the current version, and the 10.11 is a LTS (5 year) supported version.
Hi.
Yes, the MariaDB.repo file looks exactly like this...
File: /etc/yum.repos.d/MariaDB.repo
Light Mode
# MariaDB 10.11 RedHatEnterpriseLinux списък с хранилища - създаден 2025-02-25 16:00 UTC
# https://mariadb.org/download/
[mariadb]
име = MariaDB
# rpm.mariadb.org е динамично огледало, ако предпочитаното от вас огледало е офлайн. Вижте https://mariadb.org/mirrorbits/ за подробности.
# baseurl = https://rpm.mariadb.org/10.11/rhel/$releasever/$basearch
baseurl = https://mirrors.neterra.net/MariaDB/yum/10.11/rhel/$releasever/$basearch
# gpgkey = https://rpm.mariadb.org/RPM-GPG-KEY-MariaDB
gpgkey = https://mirrors.neterra.net/MariaDB/yum/RPM-GPG-KEY-MariaDB
gpgcheck = 1
My question is that when I ran the command, it returned two lines as a result:
Repository 'mariadb' is missing name in configuration, using id.
70 files removed
BR
venty
-
Your pasted version is:
[mariadb]
име = MariaDB
note the Cyrillic mistake for the "name" line. It shouid be:
[mariadb]
name = MariaDB