Cara install OpenLiteSpeed (OLS), PHP dan MariaDB di CentOS 7

Tutorial cara install OpenLiteSpeed (OLS) di Linux CentOS 7. Buka koneksi SSH dengan akun root dan ikuti langkah berikut:

Tambahkan Repositori

yum install epel-release -y
rpm -ivh http://rpms.litespeedtech.com/centos/litespeed-repo-1.1-1.el7.noarch.rpm

Update sistem

yum update -y

Install OpenLiteSpeed

yum install openlitespeed -y

Install PHP 7.3

yum install lsphp73 lsphp73-apcu lsphp73-common lsphp73-curl lsphp73-mysqlnd lsphp73-dbg lsphp73-imap lsphp73-intl lsphp73-ioncube lsphp73-json lsphp73-ldap lsphp73-msgpack lsphp73-opcache lsphp73-pgsql lsphp73-pspell lsphp73-recode lsphp73-snmp lsphp73-sqlite3 lsphp73-tidy lsphp73-memcached memcached -y

Install MariaDB

yum install mariadb-server -y

Tingkatkan keamanan instalasi MariaDB

mysql_secure_installation

Aktifkan di boot

systemctl enable mariadb

Setelah selesai, Anda bisa login Web Admin Console OLS melalui browser dengan mengakses https://ip-server-anda:7080 masuk dengan user: admin password: 123456, jangan lupa ganti passwordnya

  • Klik WebAdmin Settings > Pilih General
  • Pilih TAB: Users > Edit user admin

Langkah selanjutnya membuat virtualhost atau memnambahkan domain di OpenLiteSpeed.

Leave a Reply

Your email address will not be published. Required fields are marked *