このチュートリアルでは、Ubuntu18.04VPSにCyberPanelコントロールパネルをインストールおよび構成する方法を段階的に説明します。
CyberPanelは、OpenLiteSpeedをWebサーバーとして使用するオープンソースのWebホスティングコントロールパネルです。 CyberPanelは、速度、セキュリティ、および安定性のために特別に設計された次世代のWebホスティングプラットフォームです。 CyberPanelは完全に無料で、無制限の数のドメイン/サブドメインをサポートします。 CyberPanelには、次のような幅広い機能があります。
- mod_securityの組み込みサポート
- ワンクリックSSL、
- メールの制限
- Rainloop Webメール、LSCache、
- 自動インストーラー、
- Gitなど。
インストールから始めましょう。
前提条件
- rootアクセスが有効になっているUbuntu18.04VPS、またはsudo権限を持つユーザー。これにはSSD2VPSを使用します。
- 最低1GBのRAM(2 GBのRAMを推奨)
- 最小10GBの空きディスク容量(約40 GBの空きディスク容量を推奨)
ステップ1:SSH経由で接続し、OSを更新する
rootユーザー(またはsudo権限を持つユーザー)としてSSHを使用してUbuntuサーバーにログインします。これを行うには、次のコマンドを入力します:
ssh root@Server_IP_Address -p Port_Number
rootユーザーを使用していない場合は、「root」をユーザー名に置き換えることを忘れないでください。また、 Server_IP_Address
を置き換えます およびPort_Number
実際のサーバーのIPアドレスとSSHポート番号を使用します。
ログインしたら、すべてのOSパッケージを利用可能な最新バージョンに更新する必要があります。
apt-get update apt-get upgrade
ステップ2:CyberPanelをダウンロードしてインストールする
OSパッケージのインストールベースを最小限にすることをお勧めします。そのため、Apache、MySQL、Postfix、Dovecotなどを停止してアンインストールし、それらの構成ファイルを削除します。
systemctl stop apache2 systemctl stop mysql systemctl stop postfix systemctl stop dovecot apt-get purge apache2* libapache2* mysql-client* mysql-common* mysql-server* postfix* dovecot* apt-get autoremove apt-get clean rm -rf /var/lib/mysql
これで、CyberPanelインストーラスクリプトの最新バージョンを次のコマンドでダウンロードできます。
cd /opt wget -O installer.sh https://cyberpanel.net/install.sh chmod 755 installer.sh
インストーラースクリプトをダウンロードした後、以下のコマンドを実行してインストールを開始します。
sh installer.sh
インストール中に、一連のプロンプトが表示されます。適切なオプションを選択してインストールを完了します:
Checking root privileges... You are runing on root... Checking OS... Detecting Ubuntu 18.x... Pre-flight check completed... Process check completed...
CyberPanel Installer v2.0 1. Install CyberPanel. 2. Install Addons. 3. Exit. Please enter the number[1-3]: 1
ここで、数字の「1」を入力して[ENTER]を押します。
次のステップは次のようになります。
CyberPanel Installer v2.0 RAM check : 108/985MB (10.96%) Disk check : 4/30GB (15%) (Minimal 10GB free space) 1. Install CyberPanel with OpenLiteSpeed. 2. Install Cyberpanel with LiteSpeed Enterprise. 3. Exit. Please enter the number[1-3]: 1
数字の「1」を入力し、もう一度[ENTER]を押します。
その後、スクリプトは、選択しようとしているパッケージのダウンロードとインストールを開始する必要があります。
Install minimal service for CyberPanel? This will skip PowerDNS, Postfix and Pure-FTPd. Minimal installation [y/N]: N Do you wish to install Postfix? Postfix installation [Y/n]: Y Do you wish to install PowerDNS? PowerDNS installation [Y/n]: Y Do you wish to install Pure-FTPd? Pure-FTPd installation [Y/n]: Y Please choose to use default admin password 1234567, randomly generate one (recommended) or specify the admin password? Choose [d]efault, [r]andom or [s]et password: [d/r/s] d Admin password will be set as 1234567 Replace JS/CSS files to JS Delivr? This may improve panel loading speed in Asia Pacific region... Please select [y/N]: y Install Memcached extension for PHP? Please select [y/N]: y Install LiteSpeed Memcached? Please select [y/N]: y Install Redis extension for PHP? Please select [y/N]: y Install Redis? Please select [y/N]: y
インストールが完了すると、管理者のログオンの詳細が記載された次のような画面が表示されます。
################################################################### CyberPanel Successfully Installed Current Disk usage : 6/30GB (24%) Current RAM usage : 258/985MB (26.19%) Installation time : 0 hrs 56 min 53 sec Visit: https://your_server_IP:8090 Panel username: admin Panel password: 1234567 Please change your default admin password If you need to reset your panel password, please run: adminPass YOUR_NEW_PASSWORD If you change mysql password, please modify file in /etc/cyberpanel/mysqlPassword with new password as well Website : https://www.cyberpanel.net Forums : https://forums.cyberpanel.net Wikipage: https://docs.cyberpanel.net Enjoy your accelerated Internet by CyberPanel & OpenLiteSpeed ###################################################################
ステップ3:CyberPanelにアクセスする
好みのウェブブラウザでhttps://your_server_IP:8090
を指定します 管理者アカウントでログインします。これで、CyberPanelの使用を開始する準備が整いました。
注: 管理者パスワードをリセットすることを忘れないでください–強力なパスワードを使用してください。
上記のダッシュボードから、ドメインの追加、メールアカウント、データベース、FTPアカウントの作成、DNSレコードの追加/変更などを行うことができます。
もちろん、マネージドUbuntu Hostingをご利用の場合は、サーバーにCyberPanelをインストールして構成する必要はありません。管理者に質問し、座ってリラックスしてください。管理者がサーバーにCyberPanelをすぐにインストールして構成します。
PS 。 Ubuntu18.04VPSにCyberPanelをインストールして構成する方法に関するこの投稿が気に入った場合 、投稿の下のボタンを使用してソーシャルネットワークで友達と共有するか、下に返信を残してください。ありがとう。