August 2015

httpd, Internet Stuff, nginx, Web Server

Solving “Connection is encrypted using obsolete cipher suite” warning from Chrome

Here is a how to on how to solve the dreaded warning “Your connection is encrypted using obsolete cipher suit” from Google Chrome. Firstly the warning had nothing to do with using cheap or self-signed TLS/SSL security certificate, but it has to do with cipher suite used on the server part. So if you are […]

General

My GPG Public Key (mypapit)

Since there are some people out there who asked about my gpg public key, now I decided to published them on my web. Feel free to send me messages or files using my public-key. KeyID: 0AFAD5F8 Mohammad Hafiz bin Ismail (mypapit) -FYI – mypapit@gmail.com You can get my GPG Public key here… —–BEGIN PGP PUBLIC […]

Server, Tips & Guides

How to send fail2ban notification with Telegram (telegram-cli)

This is a a guide to integrate Telegram messaging service Fail2Ban. With this integration, Fail2Ban notification will be sent through Telegram services. Requirements You need to have Fail2ban installed in your systems. Install or compile “telegram-cli”, refer to this guide to compile telegram-cli or install it from *.deb (Ubuntu LTS) AMD64 Setting Up Fail2Ban with […]

Internet Stuff

How to Install telegram-cli in Ubuntu LTS (*.deb)

I’ve compiled an easy to install Ubuntu *.deb package for telegram-cli. PART 1: List of telegram-cli DEB package binaries telegram-cli_1.0.6-1_amd64.deb Install *.deb package by running this command (on Ubuntu 14.04 LTS Trusty) sudo apt-get -y install libjansson4 sudo dpkg -i telegram-cli_1.0.6-1_amd64.deb Running telegram-cli is as easy as typing telegram-cli PART 2: Running telegram-cli For first […]

Internet Stuff, Tips & Guides

How to build and use telegram-cli client for Linux

You can actually send Telegram message from command-line interface / bash in Linux using an unofficial “telegram-cli“ client by Vitali Valtman (vysheng) Obtaining and Compiling telegram-cli But first, before sending telegram messages, you need to build the client. You may start by installing its dependencies sudo git apt-get install libreadline-dev libconfig-dev libssl-dev lua5.2 liblua5.2-dev libevent-dev […]

Android, httpd, Mobile, nginx, Web Server

How to set Android *.apk mime-type for Nginx web server

Here’s a simple guide on how to add the correct mime-type for Android APK file for Nginx webserver. sudo nano /etc/nginx/mime.types In “mime.types” file, add this line within the “types” block types { … … application/vnd.android.package-archive apk; … … } Restart nginx server sudo service nginx restart Done!

httpd, nginx, Server

Generating TLS/SSL Self Signed Certificate for Nginx in Ubuntu LTS

This post concerns on generating self-signed TLS/SSL certificate for Nginx in Ubuntu LTS and assumes that you’ve configured nginx server with a default site. Step 1: Generate OpenSSL certificate sudo mkdir /etc/nginx/ssl sudo openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /etc/nginx/ssl/nginx.key -out /etc/nginx/ssl/nginx.crt You are about to be asked to enter information that […]

Computers, GNU/Linux, Internet Stuff, Open Source, Ubuntu/Debian

Howto install OwnCloud with NGINX in Ubuntu LTS

OwnCloud is a PHP-based Cloud-storage web application for remote storage with file synchronization capabilities. Step 1 You need to install several packages in order to configure OwnCloud with nginx in your server sudo apt-get -y install nginx-full php5-fpm php5-sqlite Step 2: Download Owncloud Download Owncloud, replace $OWNCLOUD_VER with the latest Owncloud version. export OWNCLOUD_VER=”8.1.0″ cd […]

Scroll to Top