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

WHMサーバーにXVarnishをインストールするにはどうすればよいですか?

xVarnishは、オープンソースの高性能HTTPアクセラレータであり、共有WHMサーバーに最適です。これにより、Varnishキャッシュを、標準のcPanel-WHMサーバーのフロントエンドを最適化するWebサイトとして設定および構成できます。また、cPanelユーザーは、cPanel自体から永続的または一時的にキャッシュを無効にすることができます。このチュートリアルでは、xVarnishプラグインをインストールして有効にする手順を説明します。

xVarnishをインストールする


CentOS7を搭載したWHMサーバーのインストールコマンド


yum install epel-release
rpm --nosignature -i https://repo.varnish-cache.org/redhat/varnish-4.1.el7.rpm
rpm --nosignature -i https://repo.xvarnish.com/xvarnish-repository-1-8.el7.rpm
yum install xvarnish

CentOS6を搭載したWHMサーバーのインストールコマンド

yum install epel-release
 rpm --nosignature -i https://repo.varnish-cache.org/redhat/varnish-4.1.el6.rpm
 rpm --nosignature -i https://repo.xvarnish.com/xvarnish-repository-1-8.el6.rpm
 yum install xvarnish

xVarnishライセンスをアクティブ化


xVarnishプラグインを有効にするには、メールアドレスを使用してxVarnishサイトに登録する必要があります。サインアップすると、xVarnishライセンスマネージャーからアクセス情報がすぐに送信されます。ログインから、任意の数のサーバーのライセンスキーを作成できます。次のコマンドを実行して、xVarnishダッシュボードでのサインインから収集したライセンスキーをアクティブにします。

/usr/local/xvarnish/bin/activate --key 5940da47-77e3-4833-94c1-1117a56f272d

xVarnishを有効にする

xvctl enable xvarnish
xvctl enable https

xVarnishを削除


xVarnishを無効にする

xvctl disable xvarnish
 bash /usr/local/xvarnish/bin/revert-apache.sh

サーバーから完全に削除

yum remove xvarnish xvarnish-vmods varnish varnish-libs
 rm -rI /usr/local/xvarnish

Panels
  1. CentosにMod_Pagespeedをインストールする方法は?

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

  3. DirectAdminサーバーにLaravelをインストールする方法

  1. Cpnginxを介してWHMサーバーにNGINXをインストールする方法は?

  2. Engintronを介してWHMサーバーにNGINXをインストールする方法は?

  3. Ubuntu16.04にGraylogサーバーをインストールする方法

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

  2. UbuntuにRPMパッケージをインストールする方法

  3. Ubuntu16.04にNextCloud13をインストールする方法