Month: December 2009

Install anything in Linux

To install any package via the command line in debian, redhat, slackware and suse linux, you can use the following; ========================================== For the debian (ubuntu, knoppix, etc) distro variants; apt-get install package_name sudo apt-get install nmap iftop ntop audacious sudo dpkg -i nmap..deb search package: sudo aptitude search nmap To Update/Update a package: sudo apt-get…


Install eAccelerator on PHP 5.3

To install eAccelerator, use the following command sequence; wget http://bart.eaccelerator.net/source/0.9.6/eaccelerator-0.9.6-rc1.tar.bz2 tar -xjf eaccelerator-0.9.6-rc1.tar.bz2 -C /usr/local/ cd /usr/local/eaccelerator-0.9.6-rc1/ phpize ./configure make && make install To install the shared extensions: /usr/local/lib/php/extensions/no-debug-non-zts-20090626/ To search for the absolute path of the php.ini file php -i | grep ini Configuration File (php.ini) Path => /usr/local/lib Loaded Configuration File => /usr/local/lib/php.ini…


Install cherokee in Centos/Fedora/Redhat

Cherokee is a very fast, flexible and easy to configure Web Server. It supports the widespread technologies nowadays: FastCGI, SCGI, PHP, CGI, SSI, TLS and SSL encrypted connections, Virtual hosts, Authentication, on the fly encoding, Load Balancing, Apache compatible log files, Data Base Balancing, Reverse HTTP Proxy, Traffic Shaper, Video Streaming and much more. A…


Install Memcached on Redhat / CentOS

Memcached is very fast caching system for MySQL. It uses libevent or epoll (Linux runtime) to scale to any number of open connections and uses non-blocking network I/O. Required Packages 1. memcached : High Performance, Distributed Memory Object Cache. 2. memcached-selinux : SELinux policy module supporting memcached. 3. perl-Cache-Memcached : Perl client for memcached. 4….


Enable EPEL (Extra Packages for Enterprise Linux) Repository

For Red Hat Enterprise Linux / CentOS Linux Q. How do I enable EPEL (Extra Packages for Enterprise Linux) repo and install the packages under RHEL / CentOS Linux? A. EPEL (Extra Packages for Enterprise Linux) is a volunteer-based community effort from the Fedora project to create a repository of high-quality add-on packages that complement…


Retty

Retty (short for “remote tty”) makes TCP connections available as pseudo ttys. It allows you to use access servers with direct access to the modems (such as Cisco NAS) as ordinary dial-out modems for faxing, sending sms or visiting BBS’. It offers functionality similar to Cisco’s Dialout Utility, but on GNU/Linux instead of Windows. It…


Open source hardware 2009

I just has to post this. “MAKE’s yearly open source hardware guide is now online with over 125 projects in 19 categories. The creators of all of these projects have decided to publish completely all the source, schematics, firmware, software, bill of materials, parts list, drawings, and ‘board’ files to recreate the hardware. They also…


Inserting code in your WordPress blog

Hi, I have been playing with this option for many months to try and get code to display properly in the posts. I was using the code: ***code goes in here*** which was giving me the look seen in this post: I am now using the CodeColorer Word Press plugin which provides the following features:…


Simple CLI reminder

Here is a simple one liner to aid you in remembering certain tasks you need to complete. This command will create a popup on screen (tested using Debian based distros) as a reminder to complete the job assigned; echo “DISPLAY=$DISPLAY xmessage remember to reset account ips” | at 03:00 In the command (echo “DISPLAY=$DISPLAY xmessage…


Install Java/Tomcat

How to Install Java and Apache Tomcat on a Centos 5 server; Question: How do I install Tomcat on Centos? Answer: In order to install Tomcat on Centos you first need to install Java. Both free and non-free packages are required for the installation. The non-free packages do not cost money however you must download…