Posts

apache hide version and php hide version linux

From  http://www.debianadmin.com/apache-tipshide-apache-information-php-software-version.html Apache Tips:Hide Apache Information & PHP software version Posted by Admin on March 1st, 2007 By default, Apache will send version and modules information (e.g., mod_php, mod_perl, mod_ssl) in every HTTP header. If you want to view Apache web server version and sofware of a remove server you follow this procedure telnet www.example.com 80 Trying www.example.com.com… Connected to www.example.com. Escape character is ‘^]’. HEAD / HTTP/1.0 <- after this press 2 times ENTER HTTP/1.1 200 OK Date: Fri, 09 Jan 2007 18:18:26 GMT Server: Apache/2.0.55 (Debian) PHP/5.1.2-1+b1 mod_ssl/2.0.55 OpenSSL/0.9.8b Connection: close Content-Type: text/html; charset=UTF-8 Connection closed by foreign host. In the above example it is showing all the details about your web server and php this is not recommended for security reasons.We need to hide this information with the followi...

tcpserver: fatal: unable to bind: address already used

A problem arised one day, I cannot see my smtp server! Checked on the error of qmail and checked the net for a fix  Problem tcpserver: fatal: unable to bind: address already used tcpserver: fatal: unable to bind: address already used another process is using port 25  netstat -anp |grep LIST  service exim stop then used this command so that it wont run again mv /usr/sbin/exim /usr/sbin/exim.old

CentOS, Postfix, Dovecot, Spamassassin, Postfixadmin, and Squirrelmail

 This is not my howto this is by karlkatzke all credits to him CentOS, Postfix, Dovecot, Spamassassin, Postfixadmin, and Squirrelmail by karlkatzke on May 27th, 2008 What a mouthful. Like most other americans who live on a budget, I’m taking a “staycation” this weekend. What better thing to do than to get my mail server migrated to my new VPS? Well, first, I suppose, I should get the mail server all working on the new VPS… In CentOS, the default Postfix package doesn’t have MySQL support built in. If you’ve got the priorities plugin installed, you’re either going to need to disable it or otherwise work around it so that you get the one from the centosplus repo. Other than that, it’s been made about as easy as it can be… just keep in mind as you’re reading this tutorial that I really loathe administering mail servers and consider it to be a quite onerous chore that’s been made even more onerous by spammers and hackers and script kiddies and what have you. You’ll need to ...

Frozen in time

Image

The Great Escape

VirtualBox Headless Configuration on Ubuntu | Virtualbox for server lucid

Image
Step 1. Install your Linux os (used ubuntu) a. use a lightweight desktop manager if you have only 1 pc (fluxbox) Step 2. Download VirtualBox package at VirtualBox.org a. use your appropriate distribution (on me is dpkg) Step 3. Install VirtualBox ( install your guest os i named my guest xp) Step 4. Install rdesktop   (I have compiled the source since I think its not available on ubuntu repository. make sure you have compiler. Extract the package and $   ./configure $    make (It will show errors if you don't have compilers installed like gcc etc. just download it using apt-get on ubuntu, yum on fedora etc) Step 5. Run VirtaulBox at console VBoxHeadless --startvm XP --vrdp on --vrdpaddress 192.168.1.102 --width 512 Step 6. Run rdesktop 192.168.1.102 Full working Headless VirtualBox * SO HOW CA YOU LEAVE THE SERVER (GUEST OS RUNNING IN BACKGROUND? USE SCREEN! SCREEN(1)            ...