GNU/Linux >> Linux Esercitazione >  >> Panels >> Panels

Come installare CyberPanel con OpenLiteSpeed ​​su Ubuntu 20.04

In questo tutorial, spiegheremo in dettaglio come installare CyberPanel con OpenLiteSpeed ​​come server web su Ubuntu 20.04 OS.

CyberPanel è un pannello di controllo basato su OpenLiteSpeed ​​progettato con una GUI intuitiva, per semplificare il lavoro a sviluppatori e amministratori di sistema. CyberPanel è un pannello di controllo che offre alcune fantastiche funzionalità come CSF Firewall, script di installazione per CMS e può funzionare su più sistemi operativi come Linux, Windows, Mac OS e così via. Openlite speed è un server web open source che offre un'elevata sicurezza prestazioni, utilizzato per la gestione del traffico enorme per il sito web. CyberPanel con la combinazione OpenLiteSpeed ​​offre prestazioni molto potenti per il sito web.

L'installazione di CyberPanel con OpenLiteSpeed ​​è un processo molto semplice e diretto. Iniziamo!

Prerequisiti

  • Nuova installazione di Ubuntu 20.04
  • Privilegi utente:utente root o non root con privilegi sudo
  • VPS con almeno 2 GB di RAM (il nostro piano VPS NVMe 2)

Passaggio 1.Aggiorna il sistema

Prima di iniziare con l'installazione di CyberPanel insieme a OpenLiteSpeed, dobbiamo aggiornare il sistema:

sudo apt update -y && sudo apt upgrade -y

Passaggio 2.Rimuovi le installazioni non necessarie

Poiché CyberPanel ha una propria struttura e inoltra sul server OpenLiteSpeed, è necessario rimuovere il server Web predefinito, il server database, l'agente di trasferimento della posta predefinito e il server IMAP e POP3 predefinito se sono già installati e i loro servizi sono attivi e funzionanti. Innanzitutto, devi interrompere i servizi prima di rimuoverli.

sudo systemctl stop mysql.service
sudo systemctl stop apache2.service
sudo systemctl stop dovecot.service
sudo systemctl stop postfix.service

Una volta fermati, puoi rimuovere le installazioni con i comandi seguenti:

sudo apt-get remove -y mysql-server apache2 dovecot-core postfix

Dopo aver rimosso le installazioni non necessarie, riavvia il sistema per rendere effettive le modifiche.

shutdown -r now

Passaggio 3.Installa CyberPanel con OpenLiteSpeed

Innanzitutto, dobbiamo scaricare lo script di installazione.

 cd /opt
wget -O installer.sh https://cyberpanel.net/install.sh

Una volta scaricato lo script di installazione, dobbiamo renderlo eseguibile.

chmod +x installer.sh

Infine, possiamo eseguire lo script con il comando seguente:

sh installer.sh

Una volta eseguito lo script di installazione, dovrai selezionare le opzioni disponibili durante l'installazione del pannello:

Seleziona l'opzione Installa CyberPanel inserendo 1 alla richiesta.

root@vps:/opt# sh installer.sh
curl is already the newest version (7.68.0-1ubuntu2.7).
wget is already the newest version (1.20.3-1ubuntu2).
The following packages were automatically installed and are no longer required:
  apache2-data apache2-utils libexttextcat-2.0-0 libexttextcat-data liblua5.3-0 ssl-cert
Use 'apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.
Initializing...
Fetching latest data from CyberPanel server...
This may take few seconds...
Branch name fetched...v2.1.2
Checking root privileges...
You are runing as root...
Valid IP detected...
Checking server location...
Desktop OS not detected. Proceeding
System: Ubuntu 20 detected...

Checking virtualization type...
Synchronizing state of named.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install disable named
Removed /etc/systemd/system/multi-user.target.wants/named.service.
Removed /etc/systemd/system/bind9.service.
Created symlink /etc/systemd/system/named.service → /dev/null.

named process detected, disabling...


Initialized...

CyberPanel Installer v2.1.2

1. Install CyberPanel.

2. Exit.

  Please enter the number[1-2]: 1

Nel passaggio successivo seleziona l'opzione Installa CyberPanel con OpenLiteSpeed ​​inserendo 1 alla richiesta.

CyberPanel Installer v2.1.2

RAM check : 125/3931MB (3.18%)

Disk check : 3/29GB (11%) (Minimal 10GB free space)

1. Install CyberPanel with OpenLiteSpeed.

2. Install Cyberpanel with LiteSpeed Enterprise.

3. Exit.


Please enter the number[1-3]: 1

Il passaggio successivo consiste nell'installare il servizio completo per CyberPanel.

Install Full service for CyberPanel? This will include PowerDNS, Postfix and Pure-FTPd.

Full installation [Y/n]: Y

Per MySQL remoto, inserisci N

Do you want to setup Remote MySQL? (This will skip installation of local MySQL)

(Default = No) Remote MySQL [y/N]: N

Premi Invio per selezionare l'ultima versione disponibile.

Press Enter key to continue with latest version or Enter specific version such as: 1.9.4 , 2.0.1 , 2.0.2 ...etc

Inserisci s per impostare la tua password complessa, per l'utente amministratore.

Please choose to use default admin password 1234567, randomly generate one (recommended) or specify the admin password?
Choose [d]fault, [r]andom or [s]et password: [d/r/s] s
Please enter your password: YourStrongPassword
Password: Confirm Password: YourStrongPassword

Nel passaggio successivo, seleziona per installare il processo Memcached.

Do you wish to install Memcached process and its PHP extension?
Please select [Y/n]: Y

Dopo Memcached, seleziona per installare anche il processo Redis.

Do you wish to install Redis process and its PHP extension?
Please select [Y/n]:Y

Seleziona Sì per configurare un WatchDog. Dopo questo passaggio, il processo di installazione di CyberPanel si avvierà automaticamente e dovrai concedere del tempo per il completamento. Di solito ci vogliono fino a 30 minuti.

Would you like to set up a WatchDog (beta) for Web service and Database service ?
The watchdog script will be automatically started up after installation and server reboot
If you want to kill the watchdog , run watchdog kill
Please type Yes or no (with capital Y, default Yes): Y

Una volta completata l'installazione, dovresti ricevere il seguente output. Dopo l'installazione, si consiglia di riavviare il server.

###################################################################
                CyberPanel Successfully Installed

                Current Disk usage : 8/29GB (31%)

                Current RAM  usage : 325/3931MB (8.27%)

                Installation time  : 0 hrs 49 min 0 sec

                Visit: https://YourServerIpAdress:8090
                Panel username: admin
                Panel password: *****
---------------------------------------------------------------------------------
                Visit: https://YourServerIpAdress:7080
                WebAdmin console username: admin
                WebAdmin console password: qYqJCl7pq58Uh
---------------------------------------------------------------------------------
                Visit: https://YourServerIpAdress:8090/rainloop/?admin
                Rainloop Admin username: admin
                Rainloop Admin password: KviPafcVSCl
---------------------------------------------------------------------------------
             Run cyberpanel help to get FAQ info
             Run cyberpanel upgrade to upgrade it to latest version.
             Run cyberpanel utility to access some handy tools .

              Website : https://www.cyberpanel.net
              Forums  : https://forums.cyberpanel.net
              Wikipage: https://docs.cyberpanel.net
              Docs    : https://cyberpanel.net/docs/

            Enjoy your accelerated Internet by
                CyberPanel & OpenLiteSpeed
###################################################################
If your provider has a network-level firewall
Please make sure you have opened following port for both in/out:
TCP: 8090 for CyberPanel
TCP: 80, TCP: 443 and UDP: 443 for webserver
TCP: 21 and TCP: 40110-40210 for FTP
TCP: 25, TCP: 587, TCP: 465, TCP: 110, TCP: 143 and TCP: 993 for mail service
TCP: 53 and UDP: 53 for DNS service
Would you like to restart your server now? [y/N]: y

Passaggio 4. Accedi alla GUI di CyberPanel

Per accedere all'Interfaccia Web di CyberPanel, visitare il seguente link:

https://YourServerIPAddress:8090/

Dovresti vedere la seguente schermata:

Inserisci l'amministratore nome utente e password impostati in precedenza durante l'installazione di CyberPanel. Premi sul pulsante blu "Accedi pulsante ".

Dopo aver effettuato correttamente l'accesso, verrai reindirizzato alla GUI del CyberPanel come descritto nell'immagine seguente:

È tutto. Hai installato correttamente CyberPanel con OpenLiteSpeed ​​su Ubuntu 20.04. Se per qualche motivo trovi difficoltà nell'installazione, puoi sempre contattare il nostro supporto tecnico e loro faranno il resto per te. Siamo disponibili 24 ore su 24, 7 giorni su 7.

Se ti è piaciuto questo post su come installare CyberPanel con OpenLiteSpeed ​​su Ubuntu VPS, condividilo con i tuoi amici sui social network usando i pulsanti a sinistra o lascia semplicemente una risposta qui sotto. Grazie.

Vedi correlati:

  • Come configurare WordPress Multisite con OpenLiteSpeed ​​su Ubuntu 20.04
  • Come installare Magento 2.4 con OpenLiteSpeed ​​su Ubuntu 20.04


Panels
  1. Come installare CyberPanel su Ubuntu 18.04 LTS

  2. Come installare e configurare CyberPanel su Ubuntu 18.04

  3. Come installare R su Ubuntu 16.04

  4. Come installare LAMP con PHP 7.4 su Ubuntu 20.04

  5. Come installare PHP 7.4 con Nginx su Ubuntu 20.04

Come installare OpenLiteSpeed ​​su Ubuntu 16.04

Come installare WordPress con OpenLiteSpeed ​​su Ubuntu 16.04 LTS

Come installare CyberPanel su Ubuntu 18.04 LTS

Come installare CyberPanel su Ubuntu 20.04 LTS

Come installare il server Web OpenLiteSpeed ​​su Ubuntu?

Come installare OpenLiteSpeed ​​su Ubuntu 20.04