Convert Centos 8 to Centos 8 stream – Install CWP control panel in Centos 8 stream

by Sandeep B.

In this tutorial we’ll Convert Centos 8 to Centos 8 Stream and install CWP control panel in it. It is pretty easy to convert centos 8 to stream just follow few basic steps and you’re ready to go.

Since CWP Declared that it will fully support centos 8 stream edition and Dependencies are maintain by CWP repo i.e. you didn’t need to worry about stability of the OS it will provided delayed updated via there own repo and its a good news, obviously you’ve option to select there repo and stream base repo for delayed updates and regular updates respectively.

Without wasting too much time let get started . Ensure you’ve install centos 8 on your server if it is not stream edition then convert it via this commands :

**if CWP is already installed just follow Step 1 and Step 3

Step 1

To upgrade, install centos-release-stream package from extras repository:

dnf install centos-release-stream
dnf swap centos-{linux,stream}-repos
mv /etc/yum.repos.d/CentOS-AppStream.repo /etc/yum.repos.d/CentOS-AppStream.repo.bak  
mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.bak  
rpm -e --nodeps qt5-qtbase qt5-qtbase-common qt5-qtbase-gui  
sed -i 's/enabled=0/enabled=1/g' /etc/yum.repos.d/CentOS-Stream-PowerTools.repo  
dnf distro-sync 

**if you see “No such file or directory” during “mv” command execution ignore that same for “error: package qt5-* is not installed” can be safely ignored

If you get error after running “dnf distro-sync” then just run this two commands :

dnf clean packages
dnf update

If you still have issue then run update with nobest then allowerasing pipe :

dnf clean packages
dnf update --nobest
dnf update --allowerasing

After that you’ll see upgrading process is now started wait for the upgrade completion, then check the Centos version via this command :

cat /etc/centos-release

eg :

[root@mysterydata ~]# cat /etc/centos-release
CentOS Stream release 8

it means you’ve upgraded to stream and Centos 8 is ready to be used.

REBOOT the server

Step 2

Now you need to follow this command to install cwp in Centos 8 stream :

dnf install epel-release -y
dnf install wget screen -y
cd /usr/local/src
wget http://centos-webpanel.com/cwp-el8-latest
sh cwp-el8-latest

Official CWP instruction : CLICK here

Step 3

Install dependencies :

yum install oniguruma oniguruma-devel gcc make gcc-c++ cpp kernel-headers.x86_64 libxml2-devel openssl-devel bzip2-devel libjpeg-devel libpng-devel freetype-devel openldap-devel postgresql-devel aspell-devel net-snmp-devel libxslt-devel libc-client-devel libicu-devel gmp-devel curl-devel libmcrypt-devel pcre-devel sqlite-devel libdb-devel enchant-devel libXpm-devel mysql-devel readline-devel libedit-devel recode-devel libtidy-devel libtool-ltdl-devel libwebp libwebp-devel expat expat-devel  cmake libmemcached libmemcached-devel

Then create symlink for cmake :

ln -s /usr/bin/cmake /usr/bin/cmake3

DONE

Check out this less then 8 minutes video it covers all centos 8 convert to stream and installation of cwp in centos 8 stream :

** view in 1080p for details.

If you get issues upgrading to stream version then you can check our forum instructions too :

https://forum.mysterydata.com/topic/89/convert-centos-8-to-centos-8-stream

If this post helps you in any way please consider a donation

Donate with PayPal :

md-donate

You may also like

2 comments

Vassilis June 2, 2021 - 2:35 pm

Any plans for CWP to officially support AlmaLinux?

Reply
Sandeep B. June 2, 2021 - 6:49 pm

its already working, I’ve checked it and CWP is working fine in Alma, but it seems slow than centos 8 stream.

Reply

Leave a Comment