How to install Java SDK (1.6) and Apache Ant (1.7) on CentOS Rumi, November 18, 2011November 18, 2011 I had enough with some package managers or alternative ways of installing Java on a server which is running CentOS (RHEL) 4.4 . I think the most straight forward way is the following. I promise by the end of this post you will have Java and Apache Ant running on… Continue Reading
How to setup an OpenLDAP server on Debian or Ubuntu Rumi, November 18, 2011November 18, 2011 Most enterprises use LDAP as interface to their company structure database. In the Microsoft world is Active Directory the implementation for LDAP. Under Linux is OpenLDAP the common choice for admins. Such LDAP directories are tree based. OpenLDAP is the reference implementation for LDAP v3. The JNDI API inside the… Continue Reading
Enable Directory Listing in Nginx Webserver Rumi, October 1, 2011 Here is a simple way to enable directory listing in Nginx Webserver. I have a subdomain repository.wowtutorial.org and i want repository.wowtutorial.org to have ability to listing a directory. All we need to do just modify the vhosts or nginx.conf Add autoindex on; Please see the example below Example : #nano… Continue Reading
Nginx Virtualhost Example Rumi, October 1, 2011 Two Virtual Hosts, Serving Static Files http { index index.html; server { server_name www.domain1.com; access_log logs/domain1.access.log main; root /var/www/domain1.com/htdocs; } server { server_name www.domain2.com; access_log logs/domain2.access.log main; root /var/www/domain2.com/htdocs; } } Continue Reading
Linux Distributions Rumi, September 20, 2011 A must read to learn and know the origins of different flavors of Linux distros. You'l end up wondering 'why didn't I notice this before?…' 🙂 http://en.wikipedia.org/wiki/List_of_Linux_distributions http://www.webmin.com/support.html Continue Reading
PowerDNS Cache dump in CSV Rumi, September 17, 2011 The objective is simple, a periodic cron cache dump of powerdns recursor on a setup. 1. create a shell code as below using nano- #nano /usr/local/bin/pdns-cache-dump.sh #!/bin/sh DAY=`/bin/date +%Y%m%d` TFILE="/var/log/pdns-cache/$(basename $0).$DAY.csv" rec_control dump-cache $TFILE echo "cache dump completed, dump script by rumi (hasan.emdad@mango.com.bd)" Continue Reading
Virtuabox: Quick installation on Debian Linux Rumi, September 17, 2011 step-1 ====== install debian step-2 ======= checking if 'synaptic' 'gedbi' are installted step-3 ====== install xrdp for remote installation step-4 ======== installing webmin Continue Reading
endian firewall community defaul root password Rumi, September 13, 2011 I do not like to read whole documentation to get the default password, it is wasting of time, so I use google to do it. But it was rather hard do find the default password for endian firewall (Yes, I've just installed it for testing purposes). So: login: root… Continue Reading
endian: How to configure the OpenVPN client on a Linux workstation Rumi, September 13, 2011 Go to VPN > OpenVPN Server Download the CA certificate using the link Download CA Certificate Save the certificate locally as, lets say, /home/user/cacert.pem Start the OpenVPN client using the following command line: openvpn –client –pull –comp-lzo –nobind –dev tap0 –ca /home/user/cacert.pem –auth-user-pass –remote your.remote.efw Continue Reading
Installing Gnome on Debian 5 Rumi, September 11, 2011September 11, 2011 The GNOME Desktop task is what is installed by Debian-Installer's Desktop "task" (unless you picked another DesktopEnvironment !). To install it, first make sure that tasksel and aptitude: apt-get install aptitude tasksel Then, install the gnome task: tasksel install gnome-desktop –new-install Continue Reading