Archive for August, 2009

Configure Apache2 with PHP5 and SSL User Authentication

#apt-get install apache2
#apt-get install openssl ssl-cert
#apt-get install libapache2-mod-php5 php5-cli php5-common php5-cgi
#openssl req $@ -new -x509 -days 365 -nodes -out /etc/apache2/apache.pem -keyout /etc/apache2/apache.pem

output

Country Name (2 letter code) [AU]:BD
State or Province Name (full name) [Some-State]:
Locality Name (eg, city) []:London
Organization Name (eg, company) [Internet Widgits Pty Ltd]:Debian
Organizational Unit Name (eg, section) []:
Common Name (eg, YOUR name) []:
Email Address []:
#chmod 600 /etc/apache2/apache.pem
#vi /etc/apache2/ports.conf
NameVirtualHost *:80
Listen 80
<IfModule mod_ssl.c>
# SSL name based virtual hosts are not yet supported, therefore no
# NameVirtualHost statement here
Listen 443
</IfModule>
Enable SSL Support
If you want to enable SSL support for your apache web server you need to use the following comamnd
#a2enmod ssl
#/etc/init.d/apache2 force-reload
#/etc/init.d/apache2 restart

Configuring SSL Certificate to Virtual Hosts in Apache2
First you need to edit the
#vi /etc/apache2/sites-available/default     file change first 2 line
NameVirtualHost *

to
NameVirtualHost *:80
NameVirtualHost *:443
# /etc/init.d/apache2 reload

Apache ssl authentication
#tar zxvf apache2-ssl.tar.gz
#cp ssleay.cnf /usr/share/apache2/
#mkdir /etc/apache2/ssl
#cd /etc/apache2/ssl/
#/usr/local/src/apache2-ssl-certificate
#cd /etc/apache2/sites-available/
#a2ensite default*
#a2ensite ssl
#/etc/init.d/apache2 restart

DocumentRoot 

cat /etc/apache2/httpd.conf
#<VirtualHost mail.abcbd.com:80>
#ServerName 207.74.244.245
#ServerAlias mail.*
#ServerAdmin postmaster@abcbd.com
#DocumentRoot /var/www/
#</VirtualHost>
Web Interface CGI and User Authentication
# vi /etc/apache2/sites-available/squint

<Directory "/var/www/squint">
AllowOverride None
Order allow,deny
Allow from all
AuthName "Browsing Status"
AuthType Basic
AuthUserFile /var/www/squint/htpasswd.users
Require valid-user
</Directory>

#cd /etc/apache2/sites-available/
# a2ensite squint
# /etc/init.d/apache2 reload

Create and add the first Nagios user for the web interface
#htpasswd -c /var/www/squint/htpasswd.users rasel
NOTE: The "-c" in the above command creates the htpasswd.users file and add nagiosadmin as a user.
Any new user should be added with the above command without the "-c"

Leave a comment

E1 Crossover Cable

E1 Crossover Cable Diagram

1—————-4

2—————-5

3—————-3

4—————-1

5—————-2

6—————6

7—————7

8—————8

E1 straight
Exactly the same as Ethernet straight. If you think about the name, its actually quite logical and so it happens that both sides have the same order.

Leave a comment

Protected: Debian Qmail and Server Information

This content is password protected. To view it please enter your password below:

Leave a comment

Collection Site

http://www.stockbangladesh.com/
http://www.btcl.gov.bd/
http://www.btcl.net.bd/bd_search.php
http://www.doc-pdf.com
http://whois.webhosting.info/
http://www.pimpmysearch.com  (google)

Blog

http://hyperphp.com
https://www.blogger.com/start
http://mahamuddhk.blogspot.com/

Software (free)

http://www.ddlspot.com/phpmaker-v6.1.0.0-download-67901.html  (free download)
http://www.xlinesoft.com/phprunner/php-database.htm  (phprunner site)
http://www.hkvstore.com/phpmaker/default.asp  (phpmaker 6 code maker)
http://www.sharewareconnection.com/php-mysql-wizard-php-code-generator-for-mysql-.htm (php form maker)
http://www.freedownloadmanager.org/download.htm
http://www.opensourcewindows.org/   (open source free soft)
http://www.filehippo.com/  (audio video plear)
http://www.10001downloads.com/
http://www.foxitsoftware.com  (pdf soft)
http://www.flashget.com
http://www.mozilla.com/en-US/firefox/all-beta.html
http://www.uvnc.com/
http://www.openoffice.org/
http://www.freedownloadscenter.com/Search/folder_guard.html
http://gparted.sourceforge.net/livecd.php  ( disk partition)

Driver

http://www.giga-byte.com/Support/Motherboard/Driver_Model.aspx?ProductID=2693

antivirus

http://free.avg.com/download-avg-anti-virus-free-edition
http://www.9antivirus.com/category/antivirus-update/macafee
http://www.free-av.com

Network

http://www.filesovermiles.com/   (browser to browser file sharing)
http://www.meebo.com/
http://www.dumeter.com
http://www.ookla.com/gallery/
http://www.speedtest.net/
http://www.seriall.com/
http://www.iptools.com
http://www.mxtoolbox.com
http://www.dnsgoodies.com/
http://www.networksolutions.com/
http://www.whatismyproxy.com/
http://www.whatismyip.com
http://www.proxydetect.com/
http://www.hidemyass.com/    (online browsing test)
http://joubonjatra.com/forums/
http://www.spamhaus.org/pbl/
http://earth.google.com/
http://pack.google.co.uk
http://www.pidgin.im/download/
http://www.teamviewer.com/index.aspx
https://secure.logmein.com/loggedout.asp  (Remote login)
http://www.rdesktop.org    (linux to windows pc  remote log in)

apple computer

http://www.ucs.ed.ac.uk/email/clients/SetupAppleMail.html
http://portforward.com/networking/static-Mac10.4.htm
http://www.sonic.net/support/ss/mac/osx/panther/broadband/
http://www.apple.com/safari

vista computer

http://resnet.ucsc.edu/configinfo/vista/
http://www.nu2.nu/pebuilder/

Education

http://www.about.com/     (Learn something)
http://www.oracle-base.com
http://iselfschooling.com
http://www.psoug.org/      (pl/sql, php coder)
http://www.orafaq.com/      (oracle best site for learning)
http://tldp.org/HOWTO
http://www.togaware.com/linux/survivor/Contents.html (debian web book)
http://www.ebooks-space.com/
http://www.univ.cc/world.php
http://www.isi.edu/nsnam/
http://computer.howstuffworks.com/nat.html
http://webopedia.com
http://www.w3schools.com
http://www.w3helps.com
http://tldp.org/LDP/abs/html/abs-guide.html   (shell Script learning book)
http://www.cs.cf.ac.uk/Dave/PERL/perl_caller.html   (perl learning tutorial)

Script

http://script.wareseeker.com/free-qedoc-quiz-maker-2.02/ (many thing here)
http://mysqlfm.sourceforge.net/  (Mysql Form maker output php)
http://sourceforge.net/projects/mysqlfm      (php form maker)
http://www.sourcecodeonline.com/sources/php.html  (khaled Bhai)
http://www.cyberciti.biz/
http://www.webpage-maker.com
http://many-ebooks.blogspot.com/
http://tldp.org/LDP/abs/html/system.html
http://www.freeos.com/guides/lsst/
http://www.cyberciti.biz/tips/change-linux-or-unix-system-password-using-php-script.html
http://www.cyberciti.biz/tips/shell-script-to-watch-the-disk-space.html
http://www.php.net/shell_exec
http://www.php.net/manual/en/function.system.php
http://2bits.com/articles/logwatcher-restart-apache-after-a-segmentation-fault.html
http://en.kioskea.net/forum/affich-17105-html-code-in-shell-script (html code in shell script)

Joomla

http://help.joomla.org/content/category/12/116/125
http://docs.joomla.org/Category:Tutorials
http://www.joomla.org/download.html
http://docs.joomla.org/Beginners

WordPress

http://wordpress.org/
http://codex.wordpress.org/Main_Page

wordpress (theme)

http://www.freewordpressthemesite.com/
http://www.freshwap.net/forums/e-books-tutorials/118038-building-wordpress-blog-people-want-read.html

Oscommerce

http://www.zencart.com/

PHP Framework

http://www.phpeveryday.com/articles/CodeIgniter-Introduction-to-CodeIgniter-Framework-P147.html

Online Jobs

http://www.joomlancers.com/
http://oDesk.com (free Reg)
http://www.getafreelancer.com/ (free Reg)
http://www.scriptlance.com    (free reg)
http://www.rentacoder.com/RentACoder/DotNet/default.aspx
http://www.elance.com/p/landing/buyer.html
http://freelancerstory.blogspot.com/

Server

http://poptop.sourceforge.net/dox/debian-howto.phtml  (pptpd server)
http://www.go2linux.org/
http://christoph.fuchs.cc/openvpn/      (vpn in text mode debian)
http://www.persianadmins.com/swf/openvpn-server.htm    (vpn video tutorial)
http://howto.landure.fr/gnu-linux/debian-4-0-etch-en/install-and-setup-openvpn-on-debian-4-0-etch  (open vpn)
http://www.howtoforge.com/howto_linux_systemimager
http://www.linuxhomenetworking.com/
http://www.debianhelp.co.uk
http://us1.samba.org/samba/
http://www.wampserver.com/en/download.php
http://www.trap17.com/index.php/phpmyadmin-password-does-not-work_t61017.html  (password change in phpmyadmin)
http://sourceforge.net/projects/xampp/
http://www.trap17.com/index.php/xampp-virtual-hosts-failing_t42756.html (windows online browsing)
http://www.apachefriends.org/en/xampp-linux.html
http://www.webmin.com/download.html
http://tldp.org/HOWTO/LDAP-HOWTO/
http://www.tldp.org/LDP/solrhe/Securing-Optimizing-Linux-RH-Edition-v1.3/
http://www.mikrotik.com/documentation//manual_2.7/Basic/Basic.html
http://lomu.homelinux.org/qmail.html #vpopmail
http://debianitas.net/doc/comos/Qmail+Vpopmail+MySql/html/qmail-vpop-mysql.html
http://learnlinux.tsf.org.za/courses/build/electives/ch03s03.html
http://www.tutorialized.com/view/tutorial/EasyPHP-Install-Guide/1037   (Easy Php detail)
http://www.zftutorials.com/zend-framework-installation-configuration/   (Zend Framework )

Bandwidth and Monitor

http://www.howtoforge.com/monitoring-multiple-systems-with-munin-debian-etch  (munin monitor server)
http://bandwidthd.sourceforge.net/
http://www.ledge.co.za/software/squint/
http://www.netmonitoring.org/nagios/install-and-configure-nagios-2x-on-debian-40-with-apache/ (nagios in debian 4)
http://homepage.mac.com/duling/halfdozen/Nagios-Howto-p1.html (nagios configure step)
http://www.cacti.net/index.php
http://docs.cacti.net/?q=node/3   (manual)
http://www.howtoforge.com/cacti_ispconfig     (cacti install)
http://www.jffnms.org/  (network monitor and maintainance)
http://www.ubuntugeek.com/install-and-configure-cacti-monitoring-tool-in-ubuntu-810-intrepid-ibex-server.html (step by step)
http://www.cyberciti.biz/nixcraft/linux/docs/uniqlinuxfeatures/mrtg/  (mrtg in Redhat 5)

Apache

http://www.howtoforge.com/installing-lighttpd-with-php5-and-mysql-support-on-debian-lenny   (php enable in debian)
http://www.howtoforge.com/linux_apache2_ssl_php5_zendoptimizer_ioncubeloader  (httpd , php ,ssl)
http://www.securityfocus.com/infocus/1818    (ssl authhentication)
http://www.hardwaresecrets.com/article/436/2
http://httpd.apache.org/download.cgi
http://www.filewatcher.com/m/php-5.0.4.tar.gz.5839214.0.0.html  (php-5.0.4 soft link)
http://www.lighttpd.net/   (same as apache
http://www.cyberciti.biz/tips/redhat-enterprise-linux-lighttpd-fastcgi-php.html
http://forum.lighttpd.net/topic/326  (check lightpd.conf )
http://bluescripts.net/tag/lighttpd/    (installation instruction with error message)
http://www.ninjakode.no/blog/index.php/oppsett-av-lighttpd-med-php5-cgi/  (lighttpd in debian)
http://howto.landure.fr/gnu-linux/debian-4-0-etch-en/install-lighttpd-and-php-5-on-debian-4-0-etch
http://www.howtoforge.com/benchmark-apache2-vs-lighttpd-images
http://forum.lighttpd.net/topic/802    (foram lighttpd )
http://czarism.com/debian-ubuntu-apache2-and-openssl-https    (collect shankar da)

http://ubuntuforums.org/showpost.php?p=4417014&postcount=380   (collect shankar da)

http://www.debianadmin.com/install-and-configure-apache2-with-php5-and-ssl-support-in-debian-etch.html

PHP

http://www.php.net/docs.php
http://bowe.id.au/michael/isp/vpopmail-mysql.htm

MySQL

http://www.cyberciti.biz/tips/recover-mysql-root-password.html

http://downloads.mysql.com/archives.php    (vesion wise download)
http://www.mysql.com/downloads/index.html
http://mirror.provenscaling.com/mysql/enterprise/source/5.0/  (mysql server)
http://www.hardwaresecrets.com/article/436/3

phpmyadmin

http://www.phpmyadmin.net/home_page/index.php
https://sql.sin.khk.be/Documentation.html#quick_install  (phpmyadmin)

FTP

http://linux.softpedia.com/progDownload/ProFTPD-Download-48.html  (proftpd tar file)

Linux SOFT(Debian,Red hat)

http://www.pathname.com/fhs/
http://www.cyberciti.biz/faq/install-firefox3tarbz2-linux/
http://www.cyberciti.biz/faq/install-thunderbird-2-in-linux/
http://www.comptechdoc.org/os/linux/usersguide/linux_ugdhcp.html
http://www.aboutdebian.com
http://wiki.debian.org/Manual-Howto  (sudo user)
http://www.opendocman.com/

Squid

http://linux.softpedia.com/progDownload/Squid-Download-99.html   (squid download site)
http://www.cyberciti.biz/tips/linux-unix-squid-proxy-server-authentication.html
http://www.faqs.org/docs/Linux-HOWTO/Bandwidth-Limiting-HOWTO.html   (squid source install in source)
http://www.sfr-fresh.com/unix/www/squid-3.0.STABLE13-20090220.tar.gz/
http://www.geocities.com/squidrunner_dev/howto.html   (step by step install)
http://www.visolve.com/squid/squid24s1/contents.php
http://www.squid-cache.org/Versions/v3/3.0/cfgman/index.html
http://www.squid-cache.org/Versions/v3/3.0/cfgman/index.html#toc_http_access
http://www.netfilter.org/documentation/HOWTO/NAT-HOWTO.html
http://www.howtoforge.com/monitoring_squid     (Squid Monitor Site)
http://www.chezmoi.dk/how_squid.htm   (delay pools)
http://www.squid-cache.org/Scripts/
http://netmirror.org/mirror/squid-www/Scripts/

Qmail

http://www.inter7.com/vpopmail/qmail-FreeBSD.txt   (qmail from free bsd)
http://shupp.org/toaster/   (like as qmail rocks)
http://www.howtoforge.com/debian_etch_fetchmail     (fetchmail server configure in debian)
http://newbiedoc.sourceforge.net/networking/fetchmail.html   (fetchmail configure)
http://bowe.id.au/michael/isp/webmail-server.htm (vpop with mysql server)
http://www.linuxhomenetworking.com/forums/showthread.php?t=666 (smtp port change)
http://www.linuxhelp.net/guides/qmail/
http://www.qmailrocks.org
http://www.inter7.com/qmailadmin/install.txt  (qmaiadmin configure file)
http://www.binarios.com/miscnotes/qmail.html
http://www.qmail.org/man/
http://www.qmail.org/qmail-manual-html/man5/qmail-users.html
http://www.fehcom.de/qmail/spamcontrol/README_spamcontrol.html
http://support.kavi.com/khelp/kmlm/user_help/html/bounces.html
http://www.fehcom.de/qmail/spamcontrol.html
http://mahinctg.wordpress.com/
http://qmail-support.blogspot.com/
http://articles.techrepublic.com.com/5100-10878_11-5033532.html

log (linux)

http://www.spitzner.net/swatch.html
http://qmail.jms1.net/logfiles.shtml

Command

http://www.linuxcmd.org/linux_commands_en.html
http://www.hscripts.com/tutorials/linux-commands/chattr.html
http://www.ibm.com/developerworks/linux/library/l-sed2.html (sed)
http://www.cyberciti.biz/faq/linux-write-protecting-a-file/ (chattr)

Mail (Webmail)

http://www.afterlogic.com/products/webmail-pro-php-docs/index.htm

http://www.squirrelmail.org/download.php
http://squirrelmail.org
http://devenix.wordpress.com/2007/11/20/increasing-squirrelmail-maximum-attachment-size/   (attachment size increase)
http://forum.qmailrocks.org/archive/index.php/t-1809.html    (password change successfully)
http://qmailrocks.osmirror.nl/extra/courierpassd.php
http://www.linuxmail.info/squirrelmail-change-password-howto/
http://ilohamail.org/main.php?page=Downloads
http://www.horde.org/download/app/?app=webmail  (horde webmail)
http://marc.info/?l=imp&m=122530286519614&w=2   (error recover)
http://www.horde.org/horde/docs/?f=INSTALL.html  (install step)
http://wiki.debian.org/Horde   (apt install in debain)
http://www.uebimiau.org/
http://www.uebimiau.org/forum/viewtopic.php?f=2&t=27&p=128
http://www.linux.com/archive/feature/134811  (Virtual keyboard)
http://linux.softpedia.com/get/Utilities/Klavier-12349.shtml (virtual keyboard 2)
http://products.secureserver.net/email/email_thTest to see if you can connect to the database:
http://roundcube.net/downloads   (webmail)
http://www.zimbra.com/  (gmail webmail)
http://linux.softpedia.com/progDownload/OpenWebMail-Download-11941.html  (openwebmail)

(
# mysql -h localhost -D horde -u horde -p
Exit mysql with the command ‘exit’
If you can’t connect, look a the throubleshooting guide before continuingunderbird.htm  (mozila thunderbard)

Kernel-site

http://www.kernel.org/pub/linux/kernel/v2.5/

Debian CD (site)

http://cdimage.debian.org/debian-cd/current/i386/iso-cd

Ubuntu CD/DVD

http://releases.ubuntu.com/releases/8.10/

Free BSD  (Site)

http://www.freebsd.org/where.html

RED Hat

http://www.redhat.com/docs

Centos DVD

http://isoredirect.centos.org/centos/5/isos/i386/
http://mirror.averse.net/centos/5.2/isos/i386/

Linux program

http://tomcat.apache.org/

Java

http://plato.acadiau.ca/courses/comp/dsilver/2513/EclipseAndTomcatTutorial/

https://login.yahoo.com/config/login?.done=http://mail.yahoo.com&login=abc@yahoo.com&passwd=abc123

http://hinari-gw.who.int/

http://hinari-gw.who.int/whalecomlocalhost:6001/whalecom0/InternalSite/Validate.asp?user_name=user&password=abc123
http://hinari-gw.who.int/whalecomlocalhost:6001/whalecom0/InternalSite/Validate.asp

http://hinari-gw.who.int?user_name=user&password=abc123

share server

Celendar

http://www.proverbsllc.com/opensource/calendar.php

Leave a comment

Protected: Registration Redundancy Check

This content is password protected. To view it please enter your password below:

Leave a comment

Protected: Stuff Project contain

This content is password protected. To view it please enter your password below:

Leave a comment

Protected: Stuff Infomation Project (include folder)

This content is password protected. To view it please enter your password below:

Leave a comment