Posted by: sutrisno | October 7, 2014

Installasi OpenLitespeed pada CentOS 6.5

Tutorial ini dibuat berdasarkan CentOS 6.5

openlites

OpenLitespeed adalah webserver alternatif selain Apache dan NGINX.
Update dahulu yum
– yum upgrade
– rpm -ivh http://rpms.litespeedtech.com/centos/litespeed-repo-1.1-1.el6.noarch.rpm
– yum install openlitespeed
– /usr/local/lsws/bin/lswsctrl start
Selesai! OpenLitespeed pun sudah berjalan. Untuk membuktikannya, buka alamatip:8088
Masuk ke OpenLitespeed Control Panel melalui https://alamatip:7080
Jika menemui masalah dalam proses compile PHP di OpenLitespeed Control Panel, jalankan perintah berikut ini untuk menginstall library yang hilang:

– yum install gcc bison re2c openssl-devel bzip2-devel curl-devel libpng-devel libmcrypt libmcrypt-devel

Paramameter yang digunakan saat compile PHP? Gunakan parameter dibawah ini (Parameter yang biasa digunakan)

‘–with-mysql’ ‘–with-mysqli’ ‘–with-mysql-sock=/var/lib/mysql/mysql.sock’ ‘–with-zlib’ ‘–with-gd’ ‘–enable-shmop’ ‘–enable-sockets’ ‘–enable-sysvmsg’ ‘–enable-sysvsem’ ‘–enable-sysvshm’ ‘–enable-mbstring’ ‘–with-iconv’ ‘–with-litespeed’ ‘–with-curl’ ‘–enable-zip’ ‘–with-bz2’ ‘–enable-bcmath’ ‘–enable-calendar’ ‘–enable-ftp’ ‘–enable-exif’ ‘–with-openssl’ ‘–with-xmlrpc’ ‘–enable-inline-optimization’ ‘–enable-xml’ ‘–with-mcrypt’ ‘–with-mhash’

atau default bawaanya

mcache dan zencache di ceklist

setelah selesai
buka terminalnya
– /usr/local/lsws/phpbuild/buildphp_manual_run.sh

jika error lihat
misalnya
yum install libxml2-devel
yum install libtool

========================


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Categories

%d bloggers like this: