Computers

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

How to add contrib and non-free repository in Debian GNU/Linux

Debian GNU/Linux is probably the only Linux distro that has the largest software repository. However the default installation for Debian only includes the ‘main’ repository which is directly maintained by the Debian community and fulfills the Debian Free Software Guidelines (DFSG). The two other repositories ‘contrib’ and ‘non-free’ are not enabled by default as it […]

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

Linux Package Manager Cheat Sheet Reference Chart

Linux comes in many flavors or distros, and each distro handles software installation differently from one another. Most GNU/Linux distro uses a package management system to manage software updates/instalation/removal in order to help users administer their Linux systems. However, many of these package management system has different interface and commands, as such users from Ubuntu […]

Computers, GNU/Linux, Internet Stuff, Open Source, Other Operating System, Tips & Guides, Ubuntu/Debian

How to optimize MySQL tables automatically using cron

Busy websites which has a lot of insert/delete transactions may introduce fragmentation in MySQL tables. Fortunately, users and optimize mysql tables with ‘OPTIMIZE TABLE’ command, but how to execute it automatically? Here’s how: The mysql-client package in Ubuntu installation comes with a tool called mysqlcheck which is handy for optimizing table in mysql. This command […]

Computers, security, Server, Tips & Guides

How to secure server from SYN-flood attack using iptables

SYN-flood attack is commonly utilized as a mean to disrupt network communication and it is a form of (Distributed Denial-of-Service) DDOS attack. RFC4987 details common mitigation to deal with SYN-flood attack. However in this post, I’m going to share you the method that I use to reduce the risk of SYN-flood attack from my department […]

Computers, security, Server

Please update/patch and secure Litespeed web server

Due to the widespread of Litespeed 0-day attack which has affected local websites, it’s imperative for all sysadmin and website operator to patch/update and upgrade the security of the Litespeed web server. This attack is dangerous particularly because the attacker can gain shell access with the same privileges of the web server or the user […]

Computers, GNU/Linux, Ubuntu/Debian

How to Enable Outgoing Keyserver port with iptables firewall

Keyserver is used for storing and distributing OpenGPG keys. The Ubuntu project also maintains its own keyserver ( http://keyserver.ubuntu.com ) for distributing public-key to users. keyserver uses HKP Keyserver protocol which listens on port 11371 Here’s how to enable the keyserver port on iptables: [bash] iptables -A OUTPUT -p tcp -d <key server ip> –dport […]

GNU/Linux, Internet Stuff, Open Source, security, Server, Ubuntu/Debian

How to Hide Apache2 and PHP version without using mod_security in Ubuntu Linux

Although security by obscurity is not the best policy to protect your IS assets, but it is still useful to thwarts simple network scanner or newbie crackers. Note: This tip is written for Ubuntu Linux, the steps is similar to other GNU/Linux distro, albeit with a slight variant. Hiding Apache2 version Edit /etc/apache2/apache2.conf Add these […]

Computers, Personal Life, Personal Project, Tips & Guides

Public Domain vs Open Source License, which to choose ?

*Note that I’m not a legal expert or an attorney, this is just based on my personal experience and internet search* There are people who asked me about why bother to release a piece of software or code under Open Source License instead of putting it in Public Domain. First of all it is a […]

GNU/Linux, Internet Stuff, Server, Ubuntu/Debian

Ubuntu 11.10 Oneiric Ocelot Preview Video – New Theme and Window Switcher

Here is a Youtube video preview showcasing Ubuntu 11.10 Oneiric Ocelot (daily-live) new Theme (Ambiance) and a New Window Switcher Oneiric Ocelot is due to be released in October 2011 and the Daily Live ISO can be downloaded from – http://cdimage.ubuntu.com/daily-live/current/

hardware, Internet Stuff, Server

3 Reasons Behind why I Hate CPanel Web Hosting

Adding Subdomain / Domain creates a subdirectory Adding Subdomain, and add-on Domain is a pain-in-the-ass as it creates a subdirectory in the root web directory, meaning that any web-users can abuse this by adding trailing subdirectory ‘subdomain’ http://yourdomain.com/subdomain/ to access http://subdomain.yourdomain.com/ Outdated Pre-package Software Cpanel came with outdated pre-packaged software, PHP, MySQL and PostgreSQL and […]

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

Limiting the number of connections to SSH Server using Iptables

This is the quickest way to limit the number of connection to your SSH server with iptables. [bash] sudo /sbin/iptables -A INPUT -p tcp –syn –dport 22 -m connlimit –connlimit-above 5 -j REJECT [/bash] This will only allow up to 5 concurrent connections to the SSH server, subsequent connections will be rejected by iptables, thus […]

Computers, security, Server, Tips & Guides

How to Secure SSH server from Brute-Force and DDOS with Fail2ban ( Ubuntu )

Fail2ban is a security tool used for preventing brute-force attack and Distributed Denial of Service (DDoS) attack to your GNU/Linux box. Fail2ban monitors failed login attempts and subsequently blocks the ip address from further logins. Although Fail2ban can also be used to secure other services in Ubuntu server, in this post, I will only focus […]

Computers, Internet Stuff, Mercurial, Server, Subversion-Git-Mecurial-Version-Control

Google Code Hosting now supports Git!

Great news to all developers out there! Google Code hosting service now supports Git in addition to Subversion (SVN) and Mercurial. Probably the top Google Code wishlish, I’m sure open source developers appreciates Google decision to offer Git support on its free open source code hosting service. New and existing projects may continue to use […]

Scroll to Top