pryce
March 2, 2023, 5:20pm
1
Does anyone know, why in some installation the cyberpanel file of swap memory is not created?
Installation with memory created automatically:
In another installation, with exactly the same specifications and operating system, the swap was not created automatically and I had to create manually.
Why this? In some installations it is created automatically and in others it is not.
Hello @pryce
Which version of ubuntu is this ?
pryce
March 2, 2023, 8:56pm
3
Hello Jose,
on this server currently is Ubuntu 22.04.2 LTS.
But also in version 20.04 the same thing happens.
Not that this is a problem (I guess - don’t know much about).
But what made me curious is the “why” in some installations this is created automatically and in others not.
I had to do swap creation manually in this my last installation (I do this because csf indicates as fix).
pryce
March 3, 2023, 6:29am
4
A few hours ago I had another installation that did not create the swap space…
Ubuntu 20.04.5 LTS (GNU/Linux 5.4.0-144-generic x86_64)
CyberPanel v2.3 Build 3
4 VCPU - AMD Milan - Epyc 7003
8 GB RAM
80 GB NVME
And also, again the CSF was not installed and nor showed the option to install (as it should be by default)…
I will have to do manually as I published in a previous post.
Hello,
To manually install CSF, follow the steps below:
Access the folder…
cd /usr/src
Clean…
rm -fv csf.tgz
Download CSF…
wget https://download.configserver.com/csf.tgz
Prepare…
tar -xzf csf.tgz
Back to folder
cd csf
Install…
sh install.sh
Configure…
nano /etc/csf/csf.conf
Change TESTING = "1" to TESTING = "0" and restart ‘CTRL + O’ | Enter to save and ‘CTRL + X’ to exit
Restart CSF…
csf -r
Check status…
systemctl status csf
This should be ok and working.