
Install Castopod on Cloud Panel v1
Installing Castopod on Cloud Panel makes websites administration very easy!
Cloud Panel is said to be “The easiest way to run your PHP App in the Cloud”.
We successfully installed Castopod on Cloud Panel on a 8€/month Scaleway Dedibox server (price varies from day to day depending on demand) and on a 5€/month OVH Public Cloud D2-2.
Cloud Panel is distributed for free but it is not open source. Make sure you accept the License Terms before installing it. Cloud Panel is provided by MGT-COMMERCE GmbH.
According to cloudpanel.io, you will get:
- Easy to use Control Panel
- Up and running within 60 seconds
- Supports all common PHP Apps
- One-Click Let's Encrypt Certificates
- Multiple PHP Versions
- NGINX Support
- Support for all big clouds
- Cloud Functionalities
- Supports > 10 languages
…but also Percona database, Redis cache and much more!
Installing Debian, Cloud Panel and Castopod should take ~30mn, depending on your bandwidth and on your expertise.
Although this requires basic Linux administration skills, all this is very easy.
- Download and install Debian (10+) on your server (with curl, wget and sudo packages).
- You just need one single command line (that will not ask for anything from you) in order to install Cloud Panel CE:
$ curl -sSL https://installer.cloudpanel.io/ce/v1/install.sh | sudo bash
-
When that is done you will see Cloud Panel dashboard on your web browser:
-
Create a new domain.
- Do not forget to set the
Document Root
inpublic/
directory. - Select the
CodeIgniter 4
template. - Select
PHP 8.0
- Do not forget to set the
-
Do not forget to enable HTTPS (with Letsencrypt):
-
Then create a new database:
-
Now download Castopod latest package from https://code.podlibre.org/podlibre/castopod/-/releases on your server (⚠️ make sure you get the package and not the source code).
-
Unzip Castopod package, copy it to the proper directory and change ownership to
clp
user:
-
Open your web browser to your new website, go to
/cp-install
, set your domain name (if you need to update it). Changing the Auth and Admin gateways is highly recommended for security reasons:
-
Provide database informations:
-
Select
Redis
as cache handler:
-
Create your admin account:
-
You’re all set!
-
You may now start podcasting!
If you have several websites using Redis, remember to use a different Redis database for each one (Redis default number of databases is 16, from 0 to 15):
$ echo "cache.redis.database=1" | sudo tee -a /home/cloudpanel/htdocs/podcast1.castopod.demo/.env
Troubleshooting: If you get an error 500 page and do not know how to fix it, check your log file (on CloudPanel it should be in the /home/cloudpanel/logs/
folder) in order to get the full error message.