Installa Sentora Web Hosting su Ubuntu 22.04|20.04|18.04
Benvenuti nell'articolo di oggi su come installare e configurare il pannello di hosting web Sentora, costruito sulle solide basi di ZPanel dal team originale per fornire un robusto pannello di controllo di hosting web open source per ISP di piccole e medie dimensioni. Questo strumento è stato creato per semplificare l'amministrazione generale del web hosting e per offrirti una facile gestione dei siti Web e dei dati dei clienti.
Puoi utilizzare il negozio di componenti aggiuntivi di Sentora per installare temi, moduli e altre localizzazioni di terze parti. Sentora può essere un'alternativa perfetta alle offerte commerciali come Cpanel, DirectAdmin e Plesk per gli ISP piccoli e medi alla ricerca di una piattaforma economicamente vantaggiosa e altamente personalizzabile.
Stiamo eseguendo questa installazione su un nuovo sistema Linux Ubuntu 22.04 con le seguenti configurazioni hardware.
- RAM
$ free -h
total used free shared buff/cache available
Mem: 3.7Gi 524Mi 2.9Gi 1.0Mi 284Mi 3.0Gi
Swap: 0B 0B 0B-
- processore
$ lscpu
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Address sizes: 40 bits physical, 48 bits virtual
Byte Order: Little Endian
CPU(s): 2
On-line CPU(s) list: 0,1
Vendor ID: GenuineIntel
Model name: Intel Xeon Processor (Skylake, IBRS)
CPU family: 6
Model: 85
Thread(s) per core: 1
Core(s) per socket: 2
Socket(s): 1
Stepping: 4
- Spazio sul disco
$ df -hT
Filesystem Type Size Used Avail Use% Mounted on
tmpfs tmpfs 382M 748K 381M 1% /run
/dev/sda1 ext4 38G 3.6G 33G 10% /
tmpfs tmpfs 1.9G 0 1.9G 0% /dev/shm
tmpfs tmpfs 5.0M 0 5.0M 0% /run/lock
/dev/sda15 vfat 253M 142K 252M 1% /boot/efi
tmpfs tmpfs 382M 0 382M 0% /run/user/0
Inoltre, le seguenti porte aperte dovrebbero essere aperte e disponibili per l'uso da parte della soluzione di web hosting Sentora.
- 20 e 21: FTP
- 25 (TCP): SMTP
- 53 (TCP e UDP): DNS
- 80 (TCP e UDP): HTTP
- 110: POP3
- 143: IMAP
- 443 (TCP e UDP) HTTPS
Preparare l'ambiente
Accedi al tuo sistema Ubuntu e imposta il nome host corretto.
sudo hostnamectl set-hostname hosting.computingforgeeks.net
Modifica il file /etc/hosts
e mappalo di conseguenza.
$ sudo vim /etc/hosts
167.235.68.2 hosting.computingforgeeks.net
Nel tuo server DNS, configura una mappatura del record A sul nome DNS
Aggiorna e aggiorna i pacchetti esistenti.
sudo apt update && sudo apt upgrade -y
Riavviare se necessario.
[ -f /var/run/reboot-required ] && sudo reboot -f
Installa Sentora su Ubuntu
Accedi al tuo server e inizia l'installazione di Sentora e del pannello di gestione del server. Cominciamo con il download dello script che automatizza l'installazione di Sentora su Ubuntu.
wget http://sentora.org/install -O sentora-installer.sh
Avvia ed esegui lo script utilizzando i comandi bash mostrati di seguito.
bash sentora-installer.sh
Il processo di installazione dovrebbe iniziare immediatamente, inizia verificando se i requisiti di installazione sono soddisfatti.
....
############################################################
# Welcome to the Official Sentora Installer v.2.0.1 #
############################################################
Checking that minimal requirements are ok
Detected : Ubuntu 20.04 x86_64
Ok.
-- Installing wget and dns utils required to manage inputs
Selecting previously unselected package dnsutils.
(Reading database ... 37699 files and directories currently installed.)
Preparing to unpack .../dnsutils_1%3a9.16.48-0ubuntu0.20.04.1_all.deb ...
Unpacking dnsutils (1:9.16.48-0ubuntu0.20.04.1) ...
Setting up dnsutils (1:9.16.48-0ubuntu0.20.04.1) ...
...
Fornisci il sottodominio per il pannello Sentora, se è stato impostato correttamente in precedenza è solo per confermare e premere
=== Informations required to build your server ===
The installer requires 2 pieces of information:
1) the sub-domain that you want to use to access Sentora panel,
- do not use your main domain (like domain.com)
- use a sub-domain, e.g panel.domain.com
- or use the server hostname, e.g server1.domain.com
- DNS must already be configured and pointing to the server IP
for this sub-domain
2) The public IP of the server.
Enter the sub-domain you want to access Sentora panel: hosting.computingforgeeks.net
Rileverà l'indirizzo IP del tuo server pubblico, se non è corretto aggiornalo per continuare con l'installazione.
The public IP of the server is 167.235.68.2. Its local IP is
For a production server, the PUBLIC IP must be used.
Enter (or confirm) the public IP for this server: 167.235.68.2
Tenterà la risoluzione DNS dal nome host fornito al suo indirizzo IP. Se tutto è ok procedi con l'installazione di Sentora.
OK: DNS successfully resolves hosting.computingforgeeks.net to 167.235.68.2
All is ok. Do you want to install Sentora now (y/n)? y
Successivamente è necessario fornire i dettagli di contatto come richiesto dall'installatore.
# -------------------------------------------------------------------------------
--- Please Enter vaild contact info for the Sentora system admin or owner below:
Enter Full name: Josphat Mutai
Enter admin email: j[email
Enter Phone Number: +25499999999
Enter Street Address: Nairobi
Enter City, State or Province: Nairobi
Enter Postal code: 00606
Enter Country: Kenya
Dopo pochi secondi o minuti Sentora dovrebbe essere attivo e funzionante su Ubuntu Linux.
...
Daemon run complete! (13:54 11th Mar 2024 UTC)
-- Installing Logrotate
chattr: Operation not supported while reading flags on /etc/resolv.conf
# -------------------------------------------------------------------------------
--- Updating Admin contact Info...
mysql: [Warning] Using a password on the command line interface can be insecure.
mysql: [Warning] Using a password on the command line interface can be insecure.
--- Done Updating admin contact info.
# -------------------------------------------------------------------------------
--- Restarting Services
Restarting mysql...
Restarting apache2...
Restarting Postfix...
Restarting Dovecot...
Restarting CRON...
Restarting Bind9/Named...
Restarting Proftpd...
Restarting ATD...
--- Finished Restarting Services....
Alla fine, sullo schermo vengono stampati i dettagli di accesso a Sentora come URL, nome utente e password. Riceverai anche importanti password utente del database MySQL.
########################################################
Congratulations Sentora has now been installed on your
server. Please review the log file left in /root/ for
any errors encountered during installation.
Login to Sentora at http://hosting.computingforgeeks.net
Sentora Username : zadmin
Sentora Password : ZBMDckceVJO5zTy2
MySQL Root Password : zFrG8OB92CenLuYN
MySQL Postfix Password : JZNsisMJBXSeBtEP
MySQL ProFTPd Password : 2GOO5egKpl7ZfT8U
MySQL Roundcube Password : 0aD8wW621y13M5MA
(theses passwords are saved in /root/passwords.txt)
########################################################
Restart your server now to complete the install (y/n)? y
È anche possibile l'accesso alle password stampate sullo schermo in una fase successiva. I contenuti sono archiviati nella directory home dell'utente root e denominati passwords.txt.
$ cat passwords.txt
Server IP address : 167.235.68.2
Panel URL : http://hosting.computingforgeeks.net
zadmin Password : B4wyi2w4yHBC2tU3
MySQL Root Password : VoEJ3BmkLfOszBuG
MySQL Postfix Password : S7xwwjOeP3mSWtjH
MySQL ProFTPd Password : WGc7wRgZ8ogYWXW1
MySQL Roundcube Password : PFtCsDhZRVwsfW3y
Accedi a Sentora dalla dashboard web
Visita il tuo server nel browser web all'indirizzo http://serverfqdn. Inserisci il nome utente e la password dell'amministratore forniti dopo il processo di configurazione.
Panoramica generale del pannello di web hosting Sentora.
Per applicare il certificato Let's Encrypt SSL per il sottodominio utilizzato da Sentora, vai a Gestione domini –> Sencrypt SSL
Seleziona "Crittografia " in "Crea un nuovo certificato SSL del dominio ".
Scegli il dominio dall'elenco e "Crittografa " per ottenere il certificato SSL configurato per il dominio.
Verranno inoltre forniti i dettagli della scadenza del certificato in uso (Let's Encrypt).
Carica la pagina Sentora su https per confermare se il certificato è valido.
Leggi la documentazione ufficiale di Sentora per comprendere più a fondo i suoi prodotti e i suoi prezzi.