HowtoForge provides user-friendly Linux tutorials.

  • Security Testing your Apache Configuration with Nikto

    Author: xenlabTags: , Comments: 10

    Security Testing your Apache Configuration with Nikto  By now you've got the perfect setup for your new Ubuntu 6.0.6 (Dapper Drake) box. You may have even followed the excellent Intrusion Detection and Prevention with BASE and Snort tutorial. And as an added precaution you installed DenyHosts to prevent hack attempts via ssh. But now that you've got your new LAMP server on the internet, how can you tell that your new web server is secure? You test it, of course!

    read more... | add comment | view as pdf | print

  • How To Monitor A System With Sysstat On Centos 4.3

    Author: Quantact-TimTags: , Comments: 8

    How To Monitor A System With Sysstat On Centos 4.3 A common task for System Administrators is to monitor and care for a server. That's fairly easy to do at a moment's notice, but how to keep a record of this information over time?  One way to monitor your server is to use the Sysstat package. Sysstat is actually a collection of utilities designed to collect information about the performance of a linux installation, and record them over time.

    read more... | add comment | view as pdf | print

  • Securing the CentOS Perfect Setup with Bastille

    Author: treedTags: , Comments: 1

    Securing the CentOS Perfect Setup with Bastille This article shows how to secure a CentOS server using psad, Bastille, and some other tweaks. psad is a tool that helps detect port scans and other suspicious traffic, and the Bastille hardening program locks down an operating system, proactively configuring the system for increased security and decreasing its susceptibility to compromise.

    read more... | add comment | view as pdf | print

  • Linux GPRS/EDGE via Bluetooth HOWTO

    Author: tdiTags: Comments: 6

    Linux GPRS/EDGE via Bluetooth HOWTOIn this guide I will show you howto configure internet access through GPRS/EDGE, using bluetooth connection with your GSM phone. I am using gentoo and Nokia 6310i phone, but this will work with any distribution and any bluetooth capable phone.

    read more... | add comment | view as pdf | print

  • LDAP Authentication In Linux

    Author: tdiTags: Comments: 10

    LDAP Authentication In Linux This howto will show you howto store your users in LDAP and authenticate some of the services against it. I will not show howto install particular packages, as it is distribution/system dependant. I will focus on "pure" configuration of all componenets needed to have LDAP authentication/storage of users. The howto assumes somehow, that you are migrating from a regular passwd/shadow authentication, but it is also suitable for people who do it from scratch.

    read more... | add comment | view as pdf | print

  • Invalid or corrupt certificate error code -8182, how can i fix it?

    apache Author: adminTags: Comments: 0

    You can re-generate the ISPConfig SSL certificate like this: openssl genrsa -des3 -passout pass:yourpassword -out /root/ispconfig/httpd/conf/ssl.key/server.key2 1024 openssl req -new -passin pass:yourpassword -passout pass:yourpassword -key /root/ispconfig/httpd/conf/ssl.key/server.key2 -out /root/ispconfig/httpd/conf/ssl.csr/server.csr -days 365 openssl req -x509 -passin pass:yourpassword -passout pass:yourpassword -key /root/ispconfig/httpd/conf/ssl.key/server.key2 -in /root/ispconfig/httpd/conf/ssl.csr/server.csr -out /root/ispconfig/httpd/conf/ssl.crt/server.crt -days 365

    read more... | add comment | view as pdf | print

  • Where's the ISPConfig configuration file?

    apache Author: adminTags: Comments: 0

    It's /home/admispconfig/ispconfig/lib/config.inc.php.

    read more... | add comment | view as pdf | print

  • How do I search for a term in a file?

    apache Author: adminTags: Comments: 0

    With the grep command. If you want to find out if the term user is in /etc/httpd/conf/httpd.conf, you would run grep -i user /etc/httpd/conf/httpd.conf (-i makes the search case-insensitive). Normally grep does not tell you the line number where it finds the term. If you want to find out the line number, run grep -n -i user /etc/httpd/conf/httpd.conf

    read more... | add comment | view as pdf | print

  • How do I find out who is logged in on my system?

    apache Author: adminTags: Comments: 0

    You can find out about logged in users either by running who (Sample output: server:~# who root pts/0 Nov 12 11:28 (192.168.0.202) ) or w which gives more detailed output: server:~# w 11:29:49 up 2:19, 1 user, load average: 0.02, 0.01, 0.00 USER TTY FROM [email protected] IDLE JCPU PCPU WHAT root pts/0 192.168.0.202 11:28 0.00s 0.08s 0.01s w

    read more... | add comment | view as pdf | print

  • How do I find out which gateway a Linux system is currently using?

    apache Author: adminTags: Comments: 5

    Run route -nee The output will look like this: Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface MSS Window irtt 192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 0 0 0 0.0.0.0 192.168.0.1 0.0.0.0 UG 0 0 0 eth0 0 0 0 0.0.0.0 192.168.0.1 0.0.0.0 UG 0 0 0 eth0 0 0 0 This means that the system with the IP address 192.168.0.100 is using 192.168.0.1 as gateway.

    read more... | add comment | view as pdf | print