GNU/Linux

Stuff about GNU/Linux distro, tips and tricks or information

GNU/Linux

Get Free cronjob from Cron-Job.org!

Cronjob or CRON is an important tool to perform automated / schedule task for web application. Some shared hosting company may limit (or completely disable) the cron service functionality leading to some web application unable to perform periodic / automated task. Luckily there’s website such as Cron-Job.org which offers free cron-job to those who aren’t able […]

GNU/Linux, security, Ubuntu/Debian

How to Update Nmap scanner database

Nmap (or Network Mapper) is probably the most popular network mapper around. However if you are running a very stable long-term support server, there are chances that your nmap database installation isn’t keep up to that. Updating Nmap database Nmap detection database consists of these files: nmap-os-db nmap-mac-prefixes nmap-payloads nmap-protocols nmap-rpc nmap-service-probes nmap-services What you […]

Open Source, Tips & Guides, Ubuntu/Debian

Automatically generate gallery with llgal

LLGAL (llgal) is an tool which can automatically generate gallery on your website. llgal is handy if you want to generate photo album out of photos organized in directories/folders. Running llgal from the console is easy as typing the llgal command at the root directory of your photos. llgal –exif –li -L -R –title “Album […]

GNU/Linux, security, Ubuntu/Debian

crack zip password with cracker-ng

Cracking zip password can be made easy with cracker-ng Installation Installation is simple, assuming you use Debian, Ubuntu or any other similar operating system : $ git clone https://github.com/BoboTiG/cracker-ng.git $ cd cracker-ng # For testers and contributors, always work with on the devel branch: $ git checkout devel $ make Cracking Cracking is relatively simple, […]

Computers, GNU/Linux, Open Source, Python, Ubuntu/Debian

Nano command for search and replace

I spend most of my time with headless Ubuntu server or Raspbian (a Debian derivatives distro for Raspberry Pi). So naturally I use ‘nano’ to edit various configurations files and Python Scripts. Here are several ‘nano’ shortcuts for your references Searching CTRL-W : search text string ALT-W : repeat search ALT-B : Backward search Search and Replace CTRL-\  […]

Computers, GNU/Linux, hardware, Open Source, Other Downloads, Server, Ubuntu/Debian

A Bash script for sending telegram messages in Linux

Would it be nice to be able to receive notification from your Linux system in Telegram? I’ve come up with a rudimentary bash script which lets you integrate the telegram-cli into your own script which is useful for sending messages or notification within automated process to your Telegram account. The bash script is very useful […]

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 […]

Computers, security, Server, SSH, Ubuntu/Debian

How to Hide OpenSSH Ubuntu version from Nmap and other scanners

In Ubuntu or Debian, a default OpenSSH server will display OpenSSH version alongside with Ubuntu/Debian distribution banner: $ telnet repeater.my 172.16.91.20 22 Trying 172.16.91.20… Connected to 172.16.91.20. Escape character is ‘^]’. SSH-2.0-OpenSSH_6.6.1p1 Ubuntu-2ubuntu2 You can hide the identifying part of Ubuntu-2ubuntu2 from the server banner by editing /etc/ssh/sshd_config file, and adding “DebianBanner no” either at […]

httpd, nginx, Server, Ubuntu/Debian, Web Server

Install NGINX with PageSpeed using *.deb for Ubuntu LTS (AMD64)

Hello there, I’ve made an easily installable *.deb NGINX package with PageSpeed. The package is made for Ubuntu LTS on AMD64 machine. Ubuntu 14.04 LTS – nginx 1.8.0 with PageSpeed nginx-full_1.8.0-1+trusty1-mypapitubuntu4_amd64.deb Full package nginx-extras_1.8.0-1+trusty1-mypapitubuntu4_amd64.deb Extra package Ubuntu 14.04 LTS – nginx 1.8.0 with PageSpeed: Other Package nginx-common_1.8.0-1+trusty1-mypapitubuntu4_all.deb nginx_1.8.0-1+trusty1-mypapitubuntu4_all.deb nginx-doc_1.8.0-1+trusty1-mypapitubuntu4_all.deb Installing nginx-extras or nginx-full is as […]

GNU/Linux, security

An easy way to Install OpenVPN in CentOS – snippet

Source: https://zulfah.my/files/openvpnsetup/vpn_install.txt Got this while surfing the internet. A no brainer way to install and setup OpenVPN in CentOS. The only thing left is to open port 1194/udp 1337/udp from firewall / router yum update -y && yum -y install nano unzip wget gcc make rpm-build autoconf.noarch zlib-devel pam-devel openssl-devel cd /home wget http://dl.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm && […]

httpd, nginx, Server, Ubuntu/Debian

How to test if PageSpeed module is running (on NGINX)

You can run a simple test using curl to verify whether the PageSpeed module is running or not on NGINX. curl -I -X GET {ip addresss | web address} curl -I -X GET 192.168.1.47 The output would come out something like this… You will see “X-Page-Speed” header with its version (in my case its “1.9.32.4-7251“) […]

httpd, nginx, Open Source, Server, Tips & Guides, Ubuntu/Debian

How to install NGINX with PageSpeed module in Ubuntu LTS / Debian

UPDATE: You can now install NGINX with PageSpeed in Ubuntu LTS with deb package: https://blog.mypapit.net/2015/08/install-nginx-with-pagespeed-using-deb-for-ubuntu-lts-amd64.html INSTALLING NGINX USING UBUNTU APT-GET SOURCE PageSpeed modules are open source modules developed by Google Inc that can perform website optimization to ensure faster site delivery, automatically. PageSpeed module is not included in NGINX installation in Ubuntu or Debian. So […]

GNU/Linux, Server, SSH, Ubuntu/Debian

How to change timezone in Ubuntu / Debian from command-line

This guide assumes that you use Ubuntu or Debian-based GNU/Linux distro. There are two ways to change timezone from bash command line. sudo dpkg-reconfigure tzdata or, sudo ln -sf /usr/share/zoneinfo/Asia/Kuala_Lumpur /etc/localtime You can also specify other timezone in the second method, for example: sudo ln -sf /usr/share/zoneinfo/GMT /etc/localtime or for Eastern Standard Time (US) sudo […]

Scroll to Top