GNU/Linux >> Linux の 問題 >  >> Panels >> Panels

Ubuntu20.04にOpenLiteSpeedを使用してCyber​​Panelをインストールする方法

このチュートリアルでは、Ubuntu20.04OSにWebサーバーとしてOpenLiteSpeedを使用してCyber​​Panelをインストールする方法を段階的に詳しく説明します。

Cyber​​Panelは、ユーザーフレンドリーなGUIで設計されたOpenLiteSpeedを搭載したコントロールパネルで、開発者やシステム管理者の作業を容易にします。 Cyber​​Panelは、CSFファイアウォール、CMSのインストールスクリプトなどの優れた機能を提供するコントロールパネルであり、Linux、Windows、Mac OSなどの複数のオペレーティングシステムで動作します。Openlitespeedは、高いセキュリティを提供するオープンソースのWebサーバーです。パフォーマンス。Webサイトの大量のトラフィックを処理するために使用されます。 OpenLiteSpeedを組み合わせたCyber​​Panelは、非常に強力なWebサイトパフォーマンスを提供します。

OpenLiteSpeedを使用したCyber​​Panelのインストールは、非常に簡単で簡単なプロセスです。始めましょう!

前提条件

  • Ubuntu20.04の新規インストール
  • ユーザー権限:sudo権限を持つrootまたは非rootユーザー
  • 2GB以上のRAMを搭載したVPS(当社のNVMe 2 VPSプラン)

ステップ1.システムを更新する

OpenLiteSpeedと一緒にCyber​​Panelのインストールを開始する前に、システムを更新する必要があります。

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

ステップ2.不要なインストールを削除する

Cyber​​Panelには独自の構造があり、OpenLiteSpeedサーバー上でリレーするため、デフォルトのWebサーバー、データベースサーバー、デフォルトのメール転送エージェント、およびデフォルトのIMAPサーバーとPOP3サーバーが既にインストールされていて、それらのサービスが稼働している場合は、それらを削除する必要があります。まず、サービスを削除する前にサービスを停止する必要があります。

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

それらを停止したら、以下のコマンドを使用してインストールを削除できます。

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

不要なインストールを削除した後、変更を有効にするためにシステムを再起動します。

shutdown -r now

ステップ3.OpenLiteSpeedを使用してCyber​​Panelをインストールする

まず、インストールスクリプトをダウンロードする必要があります。

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

インストールスクリプトがダウンロードされたら、実行可能にする必要があります。

chmod +x installer.sh

最後に、次のコマンドを使用してスクリプトを実行できます。

sh installer.sh

インストーラスクリプトが実行されたら、パネルのインストール中に使用可能なオプションを選択する必要があります。

1 と入力して、[Cyber​​Panelをインストール]オプションを選択します プロンプトで。

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

次のステップで、 1 と入力して、[OpenLiteSpeedを使用してCyber​​Panelをインストールする]オプションを選択します。 プロンプトで。

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

次のステップは、Cyber​​Panelのフルサービスをインストールすることです。

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

Full installation [Y/n]: Y

リモートMySQLの場合は、 Nと入力します

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

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

、Enterキーを押して、使用可能な最新バージョンを選択します。

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

sと入力します 管理者ユーザー用に独自の強力なパスワードを設定します。

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

次のステップで、Memcachedプロセスのインストールを選択します。

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

Memcachedの後で、Redisプロセスもインストールすることを選択します。

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

[はい]を選択して、WatchDogを設定します。この手順の後、Cyber​​Panelのインストールプロセスが自動的に開始され、完了するまでしばらく待つ必要があります。通常、最大30分かかります。

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

インストールが完了すると、次の出力が表示されます。インストール後、サーバーを再起動することをお勧めします。

###################################################################
                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

ステップ4.Cyber​​PanelGUIにアクセスする

Cyber​​Panel Webインターフェイスにアクセスするには、次のリンクにアクセスしてください。

https://YourServerIPAddress:8090/

次の画面が表示されます。

管理者を入力してください Cyber​​Panelのインストール中に以前に設定したユーザー名とパスワード。青い「サインイン」を押す 」ボタン。

ログインに成功すると、次の図に示すように、Cyber​​PanelのGUIにリダイレクトされます。

それで全部です。 Ubuntu20.04にOpenLiteSpeedを使用してCyber​​Panelを正常にインストールしました。何らかの理由でインストールが難しい場合は、いつでもテクニカルサポートに連絡して、後の作業を代行してください。 24時間年中無休でご利用いただけます。

Ubuntu VPSにOpenLiteSpeedを使用してCyber​​Panelをインストールする方法に関するこの投稿が気に入った場合は、左側のボタンを使用してソーシャルネットワーク上の友達と共有するか、下に返信を残してください。ありがとう。

関連を参照:

  • Ubuntu20.04でOpenLiteSpeedを使用してWordPressマルチサイトを設定する方法
  • Ubuntu20.04にOpenLiteSpeedを使用してMagento2.4をインストールする方法


Panels
  1. Ubuntu16.04にRをインストールする方法

  2. Ubuntu18.04にOpenLiteSpeedでWordPressをインストールする方法

  3. Ubuntu20.04にPostgreSQL9.6をインストールする方法

  1. Ubuntu20.04にOpenLiteSpeedを使用してMagento2.4をインストールする方法

  2. Ubuntu20.04にIcinga2をインストールする方法

  3. Ubuntu20.04にOpenLiteSpeedを使用してVanillaフォーラムをインストールする方法

  1. Ubuntu18.04LTSにCyber​​Panelをインストールする方法

  2. Ubuntu18.04にCyber​​Panelをインストールして構成する方法

  3. Ubuntu16.04にOpenLiteSpeedでWordPressをインストールする