Server

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

security, Server

IPdeny.com – Download collections of Country IP Addresses

IPdeny.com is a service which offers a free collection of Regional and Country IP address blocks list. The IP address blocks is useful for application developer and system administrator to enhance their system. For example, application developer can use the information redirect users from certain countries to regional websites or pages, or a system administrator […]

httpd, nginx, Server, Ubuntu/Debian

How to Optimize and speed up PHP with OPCache

PHP 5.5 and 5.6 comes with OPCache. OPCache speeds up PHP execution by storing precompile bytecode of PHP in shared memory. Taking advantage of fast memory operations compared to hard disk operation, OPCache eliminates the process of having to read PHP scripts from the disk each time whenever a script must be executed. In short, […]

firewall, Internet Stuff, Server, Wordpress

Stop Comment spams with IP Blacklist Cloud

Comment spams is the bane of any website operator that rely on real human interaction. Stopping comment spams by hand is a tedious process especially when comment spam attacks are sophisticated and are launched from Botnet. There are several techniques that can be employed to fight comment spams including behavioral analysis and also IP analysis. […]

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

How to check if your website supports SPDY 3.1

Although Google has announce to drop SPDY support by early February 2016 in favor of HTTP/2, SPDY remains the best HTTP protocol extension to maximize compression and reduce webpage load latency. The current and final SPDY implementation supported by Mozilla Firefox and Google Chrome is SPDY/3.1. In order to check if your webserver supports SPDY […]

GNU/Linux, security, Server, SSH, Ubuntu/Debian

Tips for Securing SSH in Linux Box (Securing SSH Series)

Secured Shell or SSH is a great way to enable a secure login for your UNIX / Linux Box. However there are precaution that you should take in order to properly secure SSH daemon from being scanned or attacked by script kiddies or automated bots. This week I’m going to write a series of article […]

Computers, Desktop, Server

How to remove Amazon Shopping search result from Unity

Hi there, Ubuntu 12.10 Quantal Quetzal is out! However the Dash search functionality includes shopping results retrieved from the internet (namely Amazon), which I personally found annoying. In order to remove that, just run this command: [bash] sudo apt-get remove unity-lens-shopping [/bash] This will remove online shopping search suggestions. Your mile may vary, but from […]

Computers, Desktop, Server

Compact Grub and Remote Login menu: New features that I love in Ubuntu 12.10 Quantal Quetzal

Those who are keeping up with the updates knows that Ubuntu 12.10 Quantal Quetzal has been released yesterday! However now I’m going to share two great features that I like about Ubuntu 12.10 Quantal Quetzal. #1. New GRUB menu that hides old kernel after updates! Now, GRUB menu always display “Ubuntu” with each kernel update. […]

Computers, GNU/Linux, Server, Subversion, Subversion-Git-Mecurial-Version-Control, Tips & Guides, VCS

How to use SVN (Subversion) on Google Code hosting

Google has generously offered free hosting services for free open source developers to host their projects either by using Mercurial, Subversion or git. This blog post touches on the basic on to use SVN to maintain source code repository on Google Code Hosting. Assumptions This tutorial assume that you have : Created an open source […]

Computers, GNU/Linux, Open Source, Server

Generate EAN,UPC,ISBN barcodes in Ubuntu / Debian Linux

‘barcode‘ is a utility in Debian GNU/Linux distribution used for generating common 1-D barcode: EAN-13, EAN-8, UPC, ISBN, code93, code128 & codabar. barcode outputs file in postscript format which can be converted to PDF with the ‘ps2pdf‘ utility Usage: 1. Outputs isbn barcode and converts it to PDF file $ barcode -o barcode.ps -e isbn […]

Computers, Internet Stuff, Server

How to send Email with SMTP using Telnet in GNU/Linux

SMTP is a protocol to send email over the internet and it is documented in RFC821. Sending email using Telnet is straight-forward if you know how to do it. telnet smtp.example.com 25 MAIL FROM: <example_from @ example.com> RCPT TO: <example_to @ example.com> DATA From: [John Doe] <example_from @ example.com> To: [Jane Doe] <example_to @ example.com> […]

Scroll to Top