HomeArchive by category "Install"

Tutorial SSL Gratis Let’s Encrypt di Ubuntu 16.04 + Nginx (Digitalocean)

Tutorial SSL Gratis Let’s Encrypt di Ubuntu 16.04 + Nginx (Digitalocean)
Posted in : Install on by : kenc0ur
Tags: , , , , ,

Sebelum melakukan langkah di bawah ini pastikan situs Anda sudah bisa diakses lewat http, jika belum bisa cara mengaturnya bisa ikuti panduan Konfigurasi LEMP (Linux Ubuntu 16.04 + Nginx + MySQL 5.7 + PHP 7) 1. Install Let’s Encrypt Langkah ini hanya perlu dilakukan 1x untuk tiap server/droplet. Jika anda sudah pernah memasang sertifikat ssl
Read more

Cara Setting GeoIP dengan Nginx di Ubuntu 16.04 (VPS DigitalOcean)

Cara Setting GeoIP dengan Nginx di Ubuntu 16.04 (VPS DigitalOcean)
Posted in : Install on by : kenc0ur
Tags: , , , , , , ,

Cek apakah Nginx sudah support geoip [code]nginx -V[/code] Hasilnya kurang lebih: root@server1:~# nginx -V nginx version: nginx/1.10.0 (Ubuntu) built with OpenSSL 1.0.2g-fips 1 Mar 2016 TLS SNI support enabled configure arguments: –with-cc-opt=’-g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2′ –with-ld-opt=’-Wl,-Bsymbolic-functions -fPIE -pie -Wl,-z,relro -Wl,-z,now’ –prefix=/usr/share/nginx –conf-path=/etc/nginx/nginx.conf –http-log-path=/var/log/nginx/access.log –error-log-path=/var/log/nginx/error.log –lock-path=/var/lock/nginx.lock –pid-path=/run/nginx.pid –http-client-body-temp-path=/var/lib/nginx/body –http-fastcgi-temp-path=/var/lib/nginx/fastcgi –http-proxy-temp-path=/var/lib/nginx/proxy –http-scgi-temp-path=/var/lib/nginx/scgi –http-uwsgi-temp-path=/var/lib/nginx/uwsgi
Read more

Konfigurasi LEMP (Linux Ubuntu 16.04 + Nginx + MySQL 5.7 + PHP 7)

Konfigurasi LEMP (Linux Ubuntu 16.04 + Nginx + MySQL 5.7 + PHP 7)
Posted in : Install on by : kenc0ur
Tags: , , , , , , , , ,

LEMP singkatan dari Linux, Nginx (dibaca: Engine X), MySQL, PHP Install MySQL 5.7 apt-get -y install mysql-server mysql-client To secure the database server and remove the anonymous user and test database, run the mysql_secure_installation command. mysql_secure_installation Enter password for user root:

Cara Install + Setting Nginx, MySQL, dan PHP 5 di Ubuntu

Posted in : Install on by : kenc0ur
Tags: , , ,

Setting firewall terlebih dahulu: ufw allow ssh ufw allow http ufw logging off ufw enable Install MySQL: apt-get update apt-get install mysql-server Install PHP 5: apt-get install php5-fpm php-pear php5-common php5-mysql php-apc php5-gd php5-curl Edit /etc/php5/fpm/php.ini lalu di bagian bawah tambahkan: [apc] apc.write_lock = 1 apc.slam_defense = 0 Edit /etc/php5/fpm/pool.d/www.conf lalu cari code ini: listen
Read more

Cara Menginstall ElasticSearch di Ubuntu

Posted in : Install on by : kenc0ur
Tags: , , ,

install Java JRE yg headless. Kalo lupa, cari pakai: apt-cache search jre Kemudian install: apt-get install openjdk-7-jre-headless Download ElasticSearch dari http://www.elasticsearch.org/overview/elkdownloads/ wget https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-1.2.1.deb Install file yang tadi di download: dpkg -i elasticsearch-1.2.1.deb Tes apakah ElasticSearch sudah terintall dengan benar: curl -XGET localhost:9200 *Catatan tambahan: Cara menjalankan elasticsearch: sudo /etc/init.d/elasticsearch start