Author: Julian's
How to automount hard disks on boot in Ubuntu
Automounting hard disks and partitions in Ubuntu This guide is tested to be working 100% in Ubuntu 18.04, but you should have no problems what-so-ever in Ubuntu 17.10 and above. Step 1) Go to “Activities” and launch “Disks”. Launching Disks from App Menu Step 2) Select the hard disk or the…
Script Otomatis Restart Service ketika Service Zimbra Down
Pada script sebelumnya, administrator email dapat membuat script sederhana untuk mengecek status service Zimbra dan mengirimkannya pada email. Jika ada service dalam kondisi stopped/not running, administrator email dapat langsung mengeceknya dan melakukan restart service agar sistem dapat berjalan kembali. Berawal dari script tersebut, terpikir suatu ide untuk mengotomatiskan restart service apabila salah…
HTTP ERROR 404 Problem accessing /public/error.jsp. Reason: /public/error.jsp
I've just restored a compromised customerDo a quick search under the usual jetty folders: find /opt/zimbra/jetty/ -type f -name *jsp -mtime -30 If you find files like:/opt/zimbra/jetty/webapps/zimbra/js/zimbra/csfe/XZimbra.jsp/opt/zimbra/jetty/webapps/zimbra/public/Ajax.jspyou've been hacked.Unlike the previous "zmcat" and "dblaunchs" that actually exploit the vuln and load some sh*t this looks like a bad childish attack.…
Install Lsyncd Freebsd 12
When managing a web server or an application, there are many situations that require synchronization between directories. While a number of tools can help you accomplish this, lsyncd is a strong candidate. This article will discuss how to configure lsyncd to mirror changes between directories on a single machine and how to…
ubuntu releases and apt sources
Ubuntu has more than 20 major releases. Sometimes we need to work with old and end-of-life ones. Here is some useful info on ubuntu releases. Check current release Use command: lsb_release -a And a sample output: No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 14.04.3 LTS Release: 14.04…
Nilai ideal ServerLimit dan MaxClients pada Apache
Pada web server Apache besarnya RAM sangatlah menentukan perfoma website kita, jadi semakin besar RAM maka website kita jadi bisa semakin banyak menerima pengunjung yang datang secara bersamaan. Permasalahan yang sering muncul adalah server kekurangan memory yang mengakibatkan Apache harus menggunakan swap memory (disk) yang berakibat loading website kita menjadi…
Real IP Address For Nginx BEHIND A REVERSE PROXY or HA Proxy
Firstly you need to configure HAProxy to pass the client IP address, which is quite simply done by adding the "forwardfor" and "http-server-close" options to the backend, ensuring that the real client IP reaches the backend web servers via the X-Forwarded-For header. Here is the configuration I'm using for my…
Configure a FreeBSD 10.1 server for hosting Laravel 5.x applications & Git.
Installing a few tools and utilities before we begin… Everyone comes to have their favourite Shell, Editor and set of utilities, and I’m no different… This first section I’m just going to set-up my favourite set of utilities and tools that I use on a regular basis! Setting the correct…
Add GEO IP Fortigate
Description An option is available to add a geography based address scheme. With this type of addressing the geographic region or country can be indicated. The FortiGate unit includes an internal list of countries and IPv4 IP addresses based on historical data from the FortiGuard network. Add Geo IP Address…
Cara Konfigurasi MySql 5.7 Replication Master-Master
Replikasi adalah proses dimana suata data yang tersimpan di dalam database MySql akan otomatis ter-copy secara live ke server kedua (backup). Cara ini dinamakan proses replikasi master-slave, namun cara ini kurang sipp karena apabila master mati maka apabila ada perubahan pada slave server tidak akan berpengaruh pada master server. Karena itu…
A stop job is running to for Mysql Community Server
Error A stop job is running to for Mysql Community Server, Edit /lib/systemd/system/mysql.service change TimeoutSec=600 to TimeoutSec=30
How to Install Memcached on Ubuntu 18.04 & 16.04 LTS
Memcached is a distributed memory object caching system which stored data in memory on key-value basis. It is very useful for optimizing dynamic websites and enabled speed by caching objects in memory. This article will help you to install Memcached with PHP Memcache PECL extension on Ubuntu 18.04, 16.04 and 14.04…