http://www.cciecandidate.com/?p=483
you don’t have to buy a full rack anymore because of Dynamips, which effectively allows you to run IOS on your PC
http://www.google.com/search?q=dynamips
http://www.internetworkexpert.com/resources/iosonpc.htm
http://www.ipflow.utc.fr/index.php/Cisco_7200_Simulator
http://dynagen.org/
Device Driver Related Links a good stuff
http://kerneltrap.org/node/7636
http://www.google.co.in/search?q=developing+device+drivers+linux&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a
http://lwn.net/Kernel/LDD3/
This blog serves as a backup of my Linux bookmarks.So if you try any thing try at your own risk.
Monday, April 26, 2010
Some good links and sources.list for debian
Advanced Bash scripting Guide
http://linuxreviews.org/beginner/abs-guide/en/c15534.html
Top 10 Open Source Project Management softwares
http://www.cyberciti.biz/tips/open-source-project-management-software.html
Xen cut from RHEL
http://www.zimbio.com/Linux/articles/B6d2qVPi3rX/Xen+Cut+from+RHEL+6
RHEL 6 released
http://www.h-online.com/open/news/item/First-public-pre-release-version-of-Red-Hat-Enterprise-Linux-6-983426.html
Company behind KVM
http://en.wikipedia.org/wiki/Qumranet
White house with Drupal
http://www.h-online.com/open/news/item/WhiteHouse-gov-open-sources-custom-Drupal-code-983713.html
Qumranet
http://investing.businessweek.com/businessweek/research/stocks/private/snapshot.asp?privcapId=23941978
Some thing went above head
http://fbflex.wordpress.com/2008/05/02/howto-setting-up-a-continous-integration-server-for-grails-with-hudson-on-vmware/
Virtualizing without virtualizing
http://www.imsc.res.in/~kapil/goodies/schroot.html
Video Tutorials for Linux
http://www.zimbio.com/Linux/articles/Auj-9yU9Yfd/Video+tutorial+Linux+computer+based+training
Xen cut from Red Hat
http://www.zimbio.com/Linux/articles/B6d2qVPi3rX/Xen+Cut+from+RHEL+6
How to install / setup TightVNC on Debian / Ubuntu Tutorial
http://www.zimbio.com/Linux/articles/lA4qecuC6Lc/How+install+setup+TightVNC+Debian+Ubuntu+Tutorial
Linux Security Cookbook
http://www.cyberciti.biz/tips/linux-security.html
20 best practises for SSH
http://www.cyberciti.biz/tips/linux-unix-bsd-openssh-server-best-practices.html
Great Link about Shell scripting
http://linuxreviews.org/beginner/abs-guide/en/c12548.html
Darwin Streaming Server
http://ubuntuforums.org/showthread.php?t=651556
Darwin streaming server under Linux
http://www.xtreamlab.net/howtos/broadcast/servers/darwin/howto_setup_darwin_streaming_server_on_linux.html
Ten tips for choosing a streaming server
http://www.streamingmedia.com/Articles/ReadArticle.aspx?ArticleID=64740
Which is best streaming server for Linux
http://www.google.com/search?hl=en&q=which+is+best+streaming+server+for+debian&aq=f&aqi=&aql=&oq=&gs_rfai=
http://wiki.dennyhalim.com/super-easy-debian-webcam-streaming-server
Build Your Own Video Community With Lighttpd And FlowPlayer (Debian Etch)
http://www.howtoforge.com/video_streaming_lighttpd_flowplayer
http://www.engadget.com/2005/11/29/how-to-stream-almost-anything-using-vlc/
Streaming with VLC
http://www.howtoforge.com/forums/showthread.php?t=1454
Addon to watch Live HTTP header
https://addons.mozilla.org/en-US/firefox/addon/3829
Computer Forensics Linux
http://www.deftlinux.net/
Internet Protocols analyser
http://www.xplico.org/about
This site had a lot of resources and pointed to a lot of things must visit
Some web and networking tools
http://sites.google.com/site/networkingtoolsinfosite/
OpenVPN
http://openvpn.net/index.php/open-source/overview.html
http://wiki.uniformserver.com/index.php/Reverse_Proxy_Server:_mod_proxy_html
Following links are related to Xen management tools
Some blog links
http://www.unix-tutorials.com/search.php?act=search&term=Xen+Cluster+Management+With+Ganeti+On+Debian+Etch&page=11
https://www.redhat.com/courses/rh318_red_hat_enterprise_virtualization/details/
http://www.mjmwired.net/kernel/Documentation/00-INDEX
Some books
http://www.mjmwired.net/kernel/Documentation/kernel-docs.txt
http://www.linuxjournal.com/article/1287
http://www.redhat.com/v/swf/rhev/demo.html
Xen management tool Ovirt How to use it
http://www.ovirt.org/docs/Using_the_oVirt_Server_Suite_User_Interface/Adding-and-Removing-Physical-Hosts.html
Red Hats KVM
http://www.linux-kvm.com/content/intro-rhev-video-redhat-summit-2009
Exim FAQ
http://www.exim.org/exim-html-4.40/doc/html/FAQ.html
Official squeeze repository
http://www.linuxquestions.org/questions/linux-newbie-8/debian-squeeze-repositories-709694/
A great Link from NASA
http://www.nasa.gov/mission_pages/hubble/servicing/SM4/main/all_behindScenes_vids.html
Searching packages on apt
http://www1.apt-get.org/search.php
Boot logs to enable always
http://www.go2linux.org/bootlogd-to-read-boot-console-messages
######################
deb http://ftp.us.debian.org/debian/ lenny main
deb-src http://ftp.us.debian.org/debian/ lenny main
deb http://security.debian.org/ lenny/updates main contrib
deb-src http://security.debian.org/ lenny/updates main contrib
deb http://ftp.us.debian.org/debian/ lenny non-free
deb http://ftp.us.debian.org/debian/ lenny contrib
deb http://download.webmin.com/download/repository sarge contrib
###################
Squeeze sources list obtained here
http://www.linuxquestions.org/questions/linux-newbie-8/debian-squeeze-repositories-709694/
## Debian Squeeze sources.list
## Debian security updates:
deb http://security.debian.org/ squeeze/updates main contrib non-free
deb-src http://security.debian.org/ squeeze/updates main contrib non-free
## Debian.org:
deb http://ftp.debian.org/debian/ squeeze main contrib non-free
deb-src http://ftp.debian.org/debian/ squeeze main contrib non-free
## Debian Official Repository Mirror squeeze:
deb ftp://debian.oregonstate.edu/debian/ squeeze main contrib non-free
deb-src ftp://debian.oregonstate.edu/debian/ squeeze main contrib non-free
deb ftp://debian.oregonstate.edu/debian/ squeeze-proposed-updates main contrib non-free
deb-src ftp://debian.oregonstate.edu/debian/ squeeze-proposed-updates main contrib non-free
## Debian NL mirror:
deb http://ftp.nl.debian.org/debian squeeze main contrib non-free
deb-src http://ftp.nl.debian.org/debian squeeze main contrib non-free
## Debian DE mirror:
deb http://ftp.de.debian.org/debian squeeze main contrib non-free
deb-src http://ftp.de.debian.org/debian squeeze main contrib non-free
## Debian US mirror:
deb ftp://ftp.us.debian.org/debian/ squeeze main contrib non-free
deb-src ftp://ftp.us.debian.org/debian/ squeeze main contrib non-free
## Wine repositories:
deb http://www.lamaresh.net/apt squeeze main
## Opera webbrowser:
deb http://deb.opera.com/opera/ squeeze non-free
## Tor:
# deb http://mirror.noreply.org/pub/tor squeeze main
## moblock: mobloquer http://moblock-deb.sourceforge.net
## gpg --keyserver wwwkeys.eu.pgp.net --recv 9072870B
## gpg --export --armor 9072870B | sudo apt-key add -
# deb http://moblock-deb.sourceforge.net/debian squeeze main
## Quoted cause of index failure
# deb-src http://moblock-deb.sourceforge.net/debian squeeze main
## EFTel mirror updates
deb http://mirror.eftel.com/debian squeeze main non-free contrib
deb-src http://mirror.eftel.com/debian squeeze main non-free contrib
## Debian.hands.com squeeze:
deb http://debian.hands.com/debian/ squeeze main non-free contrib
deb-src http://debian.hands.com/debian/ squeeze main non-free contrib
## Debian Multimedia squeeze:
deb http://mirror.home-dn.net/debian-multimedia squeeze main
## All testing repositories:
## Debian.org testing:
deb ftp://ftp.debian.org/debian testing main contrib non-free
deb-src ftp://ftp.debian.org/debian testing main contrib non-free
## Debian Official Repository Mirror testing:
deb ftp://debian.oregonstate.edu/debian/ testing main contrib non-free
deb-src ftp://debian.oregonstate.edu/debian/ testing main contrib non-free
## Austrian testing mirror:
deb http://ftp.au.debian.org/debian/ testing main non-free contrib
deb-src http://ftp.au.debian.org/debian/ testing main non-free contrib
## Debian Unofficial:
## For more info visit http://debian-unofficial.org/
deb http://ftp.debian-unofficial.org/debian testing main contrib non-free restricted
deb-src http://ftp.debian-unofficial.org/debian testing main contrib non-free restricted
## Debian Multimedia - Christian Marrillat repository:
deb http://www.debian-multimedia.org testing main
deb-src http://www.debian-multimedia.org testing main
## Google software repository:
## http://www.google.com/linuxrepositories/apt.html
## (wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add - )
## or (gpg --keyserver subkeys.pgp.net --recv A040830F7FAC5991 && gpg --export --armor A040830F7FAC5991 | sudo apt-key add - )
## Quoted cause of index failure
# deb http://dl.google.com/linux/deb/ testing non-free
## Debian.hands.com testing:
deb http://debian.hands.com/debian/ testing main non-free contrib
deb-src http://debian.hands.com/debian/ testing main non-free contrib
## Debian Multimedia testing:
deb http://mirror.home-dn.net/debian-multimedia testing main
## Compiz / Compiz-Fusion testing:
## Quoted cause of index failure
# deb http://download.tuxfamily.org/osrdebian testing compiz-fusion-git
# deb http://download.tuxfamily.org/shames/debian-lenny/desktopfx/testing/ ./
## All expirimental repositories:
## Debian experimental US mirror:
# deb http://ftp.us.debian.org/debian/ experimental main contrib non-free
# deb http://www.debian-multimedia.org experimental main
## All unstable repositories:
## Compiz / Compiz-Fusion unstable:
## Quoted cause of index failure
# deb http://download.tuxfamily.org/osrdebian unstable compiz-fusion-git
# deb http://download.tuxfamily.org/shames/debian-lenny/desktopfx/unstable/ ./
## Legacy, obsoleted repositories:
## XFCE repositories:
## Squeeze not available yet
# deb http://www.debian-desktop.org/pub/linux/debian/xfce46 lenny xfce460
# deb-src http://www.debian-desktop.org/pub/linux/debian/xfce46 lenny xfce460
## Virtual box (not OSE but SUN)
## Squeeze not available yet
## Quoted cause of index failure
# deb http://download.virtualbox.org/virtualbox/debian lenny non-free
## Kirya Unofficial Debian packages:
## Squeeze not available yet
## Testing is linked to lenny and results in compatibility errors (old lenny = testing)
## http://packages.kirya.net/
# deb http://packages.kirya.net/debian/ lenny main contrib non-free
# deb-src http://packages.kirya.net/debian/ lenny main contrib non-free
http://linuxreviews.org/beginner/abs-guide/en/c15534.html
Top 10 Open Source Project Management softwares
http://www.cyberciti.biz/tips/open-source-project-management-software.html
Xen cut from RHEL
http://www.zimbio.com/Linux/articles/B6d2qVPi3rX/Xen+Cut+from+RHEL+6
RHEL 6 released
http://www.h-online.com/open/news/item/First-public-pre-release-version-of-Red-Hat-Enterprise-Linux-6-983426.html
Company behind KVM
http://en.wikipedia.org/wiki/Qumranet
White house with Drupal
http://www.h-online.com/open/news/item/WhiteHouse-gov-open-sources-custom-Drupal-code-983713.html
Qumranet
http://investing.businessweek.com/businessweek/research/stocks/private/snapshot.asp?privcapId=23941978
Some thing went above head
http://fbflex.wordpress.com/2008/05/02/howto-setting-up-a-continous-integration-server-for-grails-with-hudson-on-vmware/
Virtualizing without virtualizing
http://www.imsc.res.in/~kapil/goodies/schroot.html
Video Tutorials for Linux
http://www.zimbio.com/Linux/articles/Auj-9yU9Yfd/Video+tutorial+Linux+computer+based+training
Xen cut from Red Hat
http://www.zimbio.com/Linux/articles/B6d2qVPi3rX/Xen+Cut+from+RHEL+6
How to install / setup TightVNC on Debian / Ubuntu Tutorial
http://www.zimbio.com/Linux/articles/lA4qecuC6Lc/How+install+setup+TightVNC+Debian+Ubuntu+Tutorial
Linux Security Cookbook
http://www.cyberciti.biz/tips/linux-security.html
20 best practises for SSH
http://www.cyberciti.biz/tips/linux-unix-bsd-openssh-server-best-practices.html
Great Link about Shell scripting
http://linuxreviews.org/beginner/abs-guide/en/c12548.html
Darwin Streaming Server
http://ubuntuforums.org/showthread.php?t=651556
Darwin streaming server under Linux
http://www.xtreamlab.net/howtos/broadcast/servers/darwin/howto_setup_darwin_streaming_server_on_linux.html
Ten tips for choosing a streaming server
http://www.streamingmedia.com/Articles/ReadArticle.aspx?ArticleID=64740
Which is best streaming server for Linux
http://www.google.com/search?hl=en&q=which+is+best+streaming+server+for+debian&aq=f&aqi=&aql=&oq=&gs_rfai=
http://wiki.dennyhalim.com/super-easy-debian-webcam-streaming-server
Build Your Own Video Community With Lighttpd And FlowPlayer (Debian Etch)
http://www.howtoforge.com/video_streaming_lighttpd_flowplayer
http://www.engadget.com/2005/11/29/how-to-stream-almost-anything-using-vlc/
Streaming with VLC
http://www.howtoforge.com/forums/showthread.php?t=1454
Addon to watch Live HTTP header
https://addons.mozilla.org/en-US/firefox/addon/3829
Computer Forensics Linux
http://www.deftlinux.net/
Internet Protocols analyser
http://www.xplico.org/about
This site had a lot of resources and pointed to a lot of things must visit
Some web and networking tools
http://sites.google.com/site/networkingtoolsinfosite/
OpenVPN
http://openvpn.net/index.php/open-source/overview.html
http://wiki.uniformserver.com/index.php/Reverse_Proxy_Server:_mod_proxy_html
Following links are related to Xen management tools
Some blog links
http://www.unix-tutorials.com/search.php?act=search&term=Xen+Cluster+Management+With+Ganeti+On+Debian+Etch&page=11
https://www.redhat.com/courses/rh318_red_hat_enterprise_virtualization/details/
http://www.mjmwired.net/kernel/Documentation/00-INDEX
Some books
http://www.mjmwired.net/kernel/Documentation/kernel-docs.txt
http://www.linuxjournal.com/article/1287
http://www.redhat.com/v/swf/rhev/demo.html
Xen management tool Ovirt How to use it
http://www.ovirt.org/docs/Using_the_oVirt_Server_Suite_User_Interface/Adding-and-Removing-Physical-Hosts.html
Red Hats KVM
http://www.linux-kvm.com/content/intro-rhev-video-redhat-summit-2009
Exim FAQ
http://www.exim.org/exim-html-4.40/doc/html/FAQ.html
Official squeeze repository
http://www.linuxquestions.org/questions/linux-newbie-8/debian-squeeze-repositories-709694/
A great Link from NASA
http://www.nasa.gov/mission_pages/hubble/servicing/SM4/main/all_behindScenes_vids.html
Searching packages on apt
http://www1.apt-get.org/search.php
Boot logs to enable always
http://www.go2linux.org/bootlogd-to-read-boot-console-messages
######################
deb http://ftp.us.debian.org/debian/ lenny main
deb-src http://ftp.us.debian.org/debian/ lenny main
deb http://security.debian.org/ lenny/updates main contrib
deb-src http://security.debian.org/ lenny/updates main contrib
deb http://ftp.us.debian.org/debian/ lenny non-free
deb http://ftp.us.debian.org/debian/ lenny contrib
deb http://download.webmin.com/download/repository sarge contrib
###################
Squeeze sources list obtained here
http://www.linuxquestions.org/questions/linux-newbie-8/debian-squeeze-repositories-709694/
## Debian Squeeze sources.list
## Debian security updates:
deb http://security.debian.org/ squeeze/updates main contrib non-free
deb-src http://security.debian.org/ squeeze/updates main contrib non-free
## Debian.org:
deb http://ftp.debian.org/debian/ squeeze main contrib non-free
deb-src http://ftp.debian.org/debian/ squeeze main contrib non-free
## Debian Official Repository Mirror squeeze:
deb ftp://debian.oregonstate.edu/debian/ squeeze main contrib non-free
deb-src ftp://debian.oregonstate.edu/debian/ squeeze main contrib non-free
deb ftp://debian.oregonstate.edu/debian/ squeeze-proposed-updates main contrib non-free
deb-src ftp://debian.oregonstate.edu/debian/ squeeze-proposed-updates main contrib non-free
## Debian NL mirror:
deb http://ftp.nl.debian.org/debian squeeze main contrib non-free
deb-src http://ftp.nl.debian.org/debian squeeze main contrib non-free
## Debian DE mirror:
deb http://ftp.de.debian.org/debian squeeze main contrib non-free
deb-src http://ftp.de.debian.org/debian squeeze main contrib non-free
## Debian US mirror:
deb ftp://ftp.us.debian.org/debian/ squeeze main contrib non-free
deb-src ftp://ftp.us.debian.org/debian/ squeeze main contrib non-free
## Wine repositories:
deb http://www.lamaresh.net/apt squeeze main
## Opera webbrowser:
deb http://deb.opera.com/opera/ squeeze non-free
## Tor:
# deb http://mirror.noreply.org/pub/tor squeeze main
## moblock: mobloquer http://moblock-deb.sourceforge.net
## gpg --keyserver wwwkeys.eu.pgp.net --recv 9072870B
## gpg --export --armor 9072870B | sudo apt-key add -
# deb http://moblock-deb.sourceforge.net/debian squeeze main
## Quoted cause of index failure
# deb-src http://moblock-deb.sourceforge.net/debian squeeze main
## EFTel mirror updates
deb http://mirror.eftel.com/debian squeeze main non-free contrib
deb-src http://mirror.eftel.com/debian squeeze main non-free contrib
## Debian.hands.com squeeze:
deb http://debian.hands.com/debian/ squeeze main non-free contrib
deb-src http://debian.hands.com/debian/ squeeze main non-free contrib
## Debian Multimedia squeeze:
deb http://mirror.home-dn.net/debian-multimedia squeeze main
## All testing repositories:
## Debian.org testing:
deb ftp://ftp.debian.org/debian testing main contrib non-free
deb-src ftp://ftp.debian.org/debian testing main contrib non-free
## Debian Official Repository Mirror testing:
deb ftp://debian.oregonstate.edu/debian/ testing main contrib non-free
deb-src ftp://debian.oregonstate.edu/debian/ testing main contrib non-free
## Austrian testing mirror:
deb http://ftp.au.debian.org/debian/ testing main non-free contrib
deb-src http://ftp.au.debian.org/debian/ testing main non-free contrib
## Debian Unofficial:
## For more info visit http://debian-unofficial.org/
deb http://ftp.debian-unofficial.org/debian testing main contrib non-free restricted
deb-src http://ftp.debian-unofficial.org/debian testing main contrib non-free restricted
## Debian Multimedia - Christian Marrillat repository:
deb http://www.debian-multimedia.org testing main
deb-src http://www.debian-multimedia.org testing main
## Google software repository:
## http://www.google.com/linuxrepositories/apt.html
## (wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add - )
## or (gpg --keyserver subkeys.pgp.net --recv A040830F7FAC5991 && gpg --export --armor A040830F7FAC5991 | sudo apt-key add - )
## Quoted cause of index failure
# deb http://dl.google.com/linux/deb/ testing non-free
## Debian.hands.com testing:
deb http://debian.hands.com/debian/ testing main non-free contrib
deb-src http://debian.hands.com/debian/ testing main non-free contrib
## Debian Multimedia testing:
deb http://mirror.home-dn.net/debian-multimedia testing main
## Compiz / Compiz-Fusion testing:
## Quoted cause of index failure
# deb http://download.tuxfamily.org/osrdebian testing compiz-fusion-git
# deb http://download.tuxfamily.org/shames/debian-lenny/desktopfx/testing/ ./
## All expirimental repositories:
## Debian experimental US mirror:
# deb http://ftp.us.debian.org/debian/ experimental main contrib non-free
# deb http://www.debian-multimedia.org experimental main
## All unstable repositories:
## Compiz / Compiz-Fusion unstable:
## Quoted cause of index failure
# deb http://download.tuxfamily.org/osrdebian unstable compiz-fusion-git
# deb http://download.tuxfamily.org/shames/debian-lenny/desktopfx/unstable/ ./
## Legacy, obsoleted repositories:
## XFCE repositories:
## Squeeze not available yet
# deb http://www.debian-desktop.org/pub/linux/debian/xfce46 lenny xfce460
# deb-src http://www.debian-desktop.org/pub/linux/debian/xfce46 lenny xfce460
## Virtual box (not OSE but SUN)
## Squeeze not available yet
## Quoted cause of index failure
# deb http://download.virtualbox.org/virtualbox/debian lenny non-free
## Kirya Unofficial Debian packages:
## Squeeze not available yet
## Testing is linked to lenny and results in compatibility errors (old lenny = testing)
## http://packages.kirya.net/
# deb http://packages.kirya.net/debian/ lenny main contrib non-free
# deb-src http://packages.kirya.net/debian/ lenny main contrib non-free
mod_rewrite etc on apache2
http://www.v7n.com/forums/marketing-forum/23093-faq-mod_rewrite-301-401-redirects-optimizing-apache-more.html
http://www.howtoforge.com/howtos/apache
http://www.howtoforge.com/how-to-set-up-an-ssl-vhost-under-apache2-on-ubuntu-9.10-debian-lenny
http://dir.gmane.org/gmane.comp.apache.user
Apache2 wiki
http://wiki.apache.org/httpd/
Faq
http://httpd.apache.org/docs/2.2/faq/
Documentation of Apache2
http://httpd.apache.org/docs/2.2/
Users mailing list Apache2
http://httpd.apache.org/userslist.html
http://dir.gmane.org/gmane.comp.apache.user
http://www.howtoforge.com/howtos/apache
http://www.howtoforge.com/how-to-set-up-an-ssl-vhost-under-apache2-on-ubuntu-9.10-debian-lenny
http://dir.gmane.org/gmane.comp.apache.user
Apache2 wiki
http://wiki.apache.org/httpd/
Faq
http://httpd.apache.org/docs/2.2/faq/
Documentation of Apache2
http://httpd.apache.org/docs/2.2/
Users mailing list Apache2
http://httpd.apache.org/userslist.html
http://dir.gmane.org/gmane.comp.apache.user
Network stuff from kernel newbies and port forwarding
Debian administration article
http://techpubs.spinlocksolutions.com/dklar/debian.html
A good discussion which gives a lot of links for network block etc
http://permalink.gmane.org/gmane.linux.kernel.kernelnewbies/33542
Some network
Anatomy of Network stack
http://www.ibm.com/developerworks/linux/library/l-linux-networking-stack/
http://www.ibm.com/developerworks/linux/library/l-linux-kernel/
SSH forwarding
http://www.linuxjournal.com/article/5462#comment-351277
https://help.ubuntu.com/community/Internet/ConnectionSharing
Some nice articles on Linux to be shared.
http://www.redhat.com/magazine/022aug06/features/webserver/
http://www.linuxhomenetworking.com/wiki/index.php/Quick_HOWTO_:_Ch03_:_Linux_Networking
Internet connection sharing Ubuntu
http://ubuntuforums.org/showthread.php?p=3713684
Cygwin SSH from windows
http://sources.redhat.com/cygwin/
Port forwarding in a restricted environment
http://polishlinux.org/apps/ssh-tunneling-to-bypass-corporate-firewalls/
Awesome tricks by X forwarding totem etc
http://polishlinux.org/apps/ssh-tricks/
http://en.wikipedia.org/wiki/HTTP_tunnel points to above article really a nice article with good explanation.
http://your-freedom.net/
By passing internet censorship
Tunnel SSH over HTTP
Just in case you need documentation
http://www.freebsd.org/cgi/man.cgi?query=ssh
Some basic doc
http://www.ssh.com/support/documentation/online/ssh/adminguide/32/Port_Forwarding.html
Online port scan
http://www.seomastering.com/port-scanner.php
http://nmap-online.com/
http://my-addr.com/
http://techpubs.spinlocksolutions.com/dklar/debian.html
A good discussion which gives a lot of links for network block etc
http://permalink.gmane.org/gmane.linux.kernel.kernelnewbies/33542
Some network
Anatomy of Network stack
http://www.ibm.com/developerworks/linux/library/l-linux-networking-stack/
http://www.ibm.com/developerworks/linux/library/l-linux-kernel/
SSH forwarding
http://www.linuxjournal.com/article/5462#comment-351277
https://help.ubuntu.com/community/Internet/ConnectionSharing
Some nice articles on Linux to be shared.
http://www.redhat.com/magazine/022aug06/features/webserver/
http://www.linuxhomenetworking.com/wiki/index.php/Quick_HOWTO_:_Ch03_:_Linux_Networking
Internet connection sharing Ubuntu
http://ubuntuforums.org/showthread.php?p=3713684
Cygwin SSH from windows
http://sources.redhat.com/cygwin/
Port forwarding in a restricted environment
http://polishlinux.org/apps/ssh-tunneling-to-bypass-corporate-firewalls/
Awesome tricks by X forwarding totem etc
http://polishlinux.org/apps/ssh-tricks/
http://en.wikipedia.org/wiki/HTTP_tunnel points to above article really a nice article with good explanation.
http://your-freedom.net/
By passing internet censorship
Tunnel SSH over HTTP
Just in case you need documentation
http://www.freebsd.org/cgi/man.cgi?query=ssh
Some basic doc
http://www.ssh.com/support/documentation/online/ssh/adminguide/32/Port_Forwarding.html
Online port scan
http://www.seomastering.com/port-scanner.php
http://nmap-online.com/
http://my-addr.com/
Wednesday, April 14, 2010
Drupal Debian
you have to edit the /etc/apache2/apache2.conf and, at the end of the file, add:
# added servername to avoid the could not determine fqdn error
servername myserver
place your server name in place of myserver.
it worked for me.
http://tgrove.com/2007/12/02/httpd-apr_sockaddr_info_get-failed-for-hostname/
# added servername to avoid the could not determine fqdn error
servername myserver
place your server name in place of myserver.
it worked for me.
http://tgrove.com/2007/12/02/httpd-apr_sockaddr_info_get-failed-for-hostname/
Monday, April 12, 2010
Apache2 as a proxy server,Squid links
DNS Caveats and Issues Regarding DNS and Apache
http://httpd.apache.org/docs/1.3/dns-caveats.html
Apache IP based Virtual Host support
http://httpd.apache.org/docs/2.0/vhosts/ip-based.html
http://www.devshed.com/c/a/Administration/Using-Apache-As-A-Proxy-Server/6/
http://www.debianhelp.co.uk/virtualhosts.htm
Apache module mod_proxy
http://httpd.apache.org/docs/1.3/mod/mod_proxy.html
Great tutorial about Reverse Proxy of Apache2.
http://www.apachetutor.org/admin/reverseproxies
http://www.howtoforge.com/apache_reverse_proxy_ispconfig
Tutorial from IBM about reverse proxy
http://www.ibm.com/developerworks/opensource/library/wa-lampsec/index.html
A problem coming in configuring hostnames
http://www.ducea.com/2006/08/07/how-to-change-the-hostname-of-a-linux-system/
http://jblevins.org/computing/linux/hostname
==========================================
The NameVirtualHost yada yada error
some X-Forwarded-For logs
http://www.apacheweek.com/
http://en.wikipedia.org/wiki/X-Forwarded-For
http://devcentral.f5.com/weblogs/macvittie/archive/2008/06/02/3323.aspx
Guide by passing internet sensorship
http://civisec.org/guides/everyones-guides
Good guide about Squid
http://wiki.squid-cache.org/SquidFaq/ConfiguringSquid#head-3518b69c63e221cc3cd7885415e365ffaf3dd27f
====================
Some variables we need to know are
http://www.theregister.co.uk/2001/11/14/doityourself_internet_anonymity/
http://httpd.apache.org/docs/1.3/dns-caveats.html
Apache IP based Virtual Host support
http://httpd.apache.org/docs/2.0/vhosts/ip-based.html
http://www.devshed.com/c/a/Administration/Using-Apache-As-A-Proxy-Server/6/
http://www.debianhelp.co.uk/virtualhosts.htm
Apache module mod_proxy
http://httpd.apache.org/docs/1.3/mod/mod_proxy.html
Great tutorial about Reverse Proxy of Apache2.
http://www.apachetutor.org/admin/reverseproxies
http://www.howtoforge.com/apache_reverse_proxy_ispconfig
Tutorial from IBM about reverse proxy
http://www.ibm.com/developerworks/opensource/library/wa-lampsec/index.html
A problem coming in configuring hostnames
http://www.ducea.com/2006/08/07/how-to-change-the-hostname-of-a-linux-system/
http://jblevins.org/computing/linux/hostname
==========================================
The NameVirtualHost yada yada error
some X-Forwarded-For logs
http://www.apacheweek.com/
http://en.wikipedia.org/wiki/X-Forwarded-For
http://devcentral.f5.com/weblogs/macvittie/archive/2008/06/02/3323.aspx
Guide by passing internet sensorship
http://civisec.org/guides/everyones-guides
Good guide about Squid
http://wiki.squid-cache.org/SquidFaq/ConfiguringSquid#head-3518b69c63e221cc3cd7885415e365ffaf3dd27f
====================
Some variables we need to know are
http://www.theregister.co.uk/2001/11/14/doityourself_internet_anonymity/
Saturday, April 10, 2010
Setting up IPTABLES Dom0 Debian Xen
http://permalink.gmane.org/gmane.linux.hardware.dell.poweredge/38423
Some improvement in Xen FAQ
http://wiki.xensource.com/xenwiki/XenFaq
dom0_mem=875M
Squid set up
http://www.freeos.com/articles/2516/
Novell article for NAT etc on Xen
http://www.novell.com/communities/node/4094/xen-network-bridges-explained-with-troubleshooting-notes
Some good information is here
http://lists.xensource.com/archives/html/xen-users/2006-02/msg00030.html
http://www.howtoforge.com/perfect_xen_setup_debian_ubuntu_p6
Following text is on this link
http://lists.us.dell.com/pipermail/linux-poweredge/2010-April/041936.html
How do I test whether network-script is running or not in Xen Dom0.
I have a Debian Lenny Dom0.Running Xen on it and 4 virtual hosts on it.
I am currently setting up a proxy server in Dom0 which DomU's will be
able to use.The problem is before I go on to set NAT I wanted to test
bridges.
So I renamed the bridge in /etc/xen/xend-config.sxp
Code:
(network-script 'network-bridge bridge=ABCD')
but when I do a reboot or xend restart and do following
Code:
openworld:/etc/xen# brctl show
bridge name bridge id STP enabled interfaces
eth2 8000.0026b9824238 no peth2
vif1.0
vif2.0
vif3.0
vif4.0
openworld:/etc/xen#
the bridge is not renamed to ABCD above output is showing eth2 which
is not even default.
So I doubt that the script network-bridge has not been called so that
it renames the bridge or there is some thing else I should look for.
I had set up a dummy network interface on Dom0
dummy0
modprobe dummy0
then in Dom0 /etc/network/interfaces
added the ip to dummy interface.
in network-bridge netdev=dummy0') was set so that it was used.
brctl was showing this dummy and then a simple POSTROUTING configuration.
As following
Generated by iptables-save v1.4.2 on Mon Apr 12 00:26:28 2010
*nat
:PREROUTING ACCEPT [6947:1405079]
:POSTROUTING ACCEPT [259:36832]
:OUTPUT ACCEPT [37:2077]
-A POSTROUTING -s 172.21.100.0/24 -j MASQUERADE
COMMIT
# Completed on Mon Apr 12 00:26:28 2010
# Generated by iptables-save v1.4.2 on Mon Apr 12 00:26:28 2010
*mangle
:PREROUTING ACCEPT [381404:326958136]
:INPUT ACCEPT [6810:754933]
:FORWARD ACCEPT [405217:330924920]
:OUTPUT ACCEPT [1715:334655]
:POSTROUTING ACCEPT [406680:331235857]
COMMIT
# Completed on Mon Apr 12 00:26:28 2010
# Generated by iptables-save v1.4.2 on Mon Apr 12 00:26:28 2010
*filter
:INPUT ACCEPT [90483:38271495]
:FORWARD ACCEPT [538682:367785045]
:OUTPUT ACCEPT [48797:6397869]
-A FORWARD -s 172.21.100.152/32 -m physdev --physdev-in vif1.0 -j ACCEPT
-A FORWARD -p udp -m physdev --physdev-in vif1.0 -m udp --sport 68 --dport 67 -j ACCEPT
-A FORWARD -s 172.21.100.154/32 -m physdev --physdev-in vif2.0 -j ACCEPT
-A FORWARD -p udp -m physdev --physdev-in vif2.0 -m udp --sport 68 --dport 67 -j ACCEPT
-A FORWARD -s 172.21.100.153/32 -m physdev --physdev-in vif3.0 -j ACCEPT
-A FORWARD -p udp -m physdev --physdev-in vif3.0 -m udp --sport 68 --dport 67 -j ACCEPT
-A FORWARD -s 172.21.100.151/32 -m physdev --physdev-in vif5.0 -j ACCEPT
-A FORWARD -p udp -m physdev --physdev-in vif5.0 -m udp --sport 68 --dport 67 -j ACCEPT
COMMIT
# Completed on Mon Apr 12 00:26:28 2010
~
~
Sol
My general technique for seeing what's up with the script in a case like
this is to insert at the top:
set -x
exec &>/tmp/network-script$$
Then you'll get a file with the pid on the end every time it's executed,
with an exec trace. Don't forget to clean up the /tmp files and the
script when done.
Some one is talking here not read myself completely how helpful is it.
http://article.gmane.org/gmane.comp.emulators.xen.user/56768
Port Forwarding on IPTABLES
http://www.debian-administration.org/articles/73
http://www.hackorama.com/network/portfwd.shtml
http://www.linuxquestions.org/questions/linux-networking-3/how-to-ssh-to-computers-on-lan-from-a-proxy-that-has-public-ip-801810/
Some more IPTABLE rules
http://oceanpark.com/notes/firewall_example.html
http://www.linuxhomenetworking.com/wiki/index.php/Quick_HOWTO_:_Ch14_:_Linux_Firewalls_Using_iptables
Hands on guide to Debian
http://techpubs.spinlocksolutions.com/dklar/debian.html
You can try SSHD filter
http://www.google.co.in/search?sourceid=chrome&ie=UTF-8&q=sshdfilter
Some improvement in Xen FAQ
http://wiki.xensource.com/xenwiki/XenFaq
dom0_mem=875M
Squid set up
http://www.freeos.com/articles/2516/
Novell article for NAT etc on Xen
http://www.novell.com/communities/node/4094/xen-network-bridges-explained-with-troubleshooting-notes
Some good information is here
http://lists.xensource.com/archives/html/xen-users/2006-02/msg00030.html
http://www.howtoforge.com/perfect_xen_setup_debian_ubuntu_p6
Following text is on this link
http://lists.us.dell.com/pipermail/linux-poweredge/2010-April/041936.html
How do I test whether network-script is running or not in Xen Dom0.
I have a Debian Lenny Dom0.Running Xen on it and 4 virtual hosts on it.
I am currently setting up a proxy server in Dom0 which DomU's will be
able to use.The problem is before I go on to set NAT I wanted to test
bridges.
So I renamed the bridge in /etc/xen/xend-config.sxp
Code:
(network-script 'network-bridge bridge=ABCD')
but when I do a reboot or xend restart and do following
Code:
openworld:/etc/xen# brctl show
bridge name bridge id STP enabled interfaces
eth2 8000.0026b9824238 no peth2
vif1.0
vif2.0
vif3.0
vif4.0
openworld:/etc/xen#
the bridge is not renamed to ABCD above output is showing eth2 which
is not even default.
So I doubt that the script network-bridge has not been called so that
it renames the bridge or there is some thing else I should look for.
I had set up a dummy network interface on Dom0
dummy0
modprobe dummy0
then in Dom0 /etc/network/interfaces
added the ip to dummy interface.
in network-bridge netdev=dummy0') was set so that it was used.
brctl was showing this dummy and then a simple POSTROUTING configuration.
As following
Generated by iptables-save v1.4.2 on Mon Apr 12 00:26:28 2010
*nat
:PREROUTING ACCEPT [6947:1405079]
:POSTROUTING ACCEPT [259:36832]
:OUTPUT ACCEPT [37:2077]
-A POSTROUTING -s 172.21.100.0/24 -j MASQUERADE
COMMIT
# Completed on Mon Apr 12 00:26:28 2010
# Generated by iptables-save v1.4.2 on Mon Apr 12 00:26:28 2010
*mangle
:PREROUTING ACCEPT [381404:326958136]
:INPUT ACCEPT [6810:754933]
:FORWARD ACCEPT [405217:330924920]
:OUTPUT ACCEPT [1715:334655]
:POSTROUTING ACCEPT [406680:331235857]
COMMIT
# Completed on Mon Apr 12 00:26:28 2010
# Generated by iptables-save v1.4.2 on Mon Apr 12 00:26:28 2010
*filter
:INPUT ACCEPT [90483:38271495]
:FORWARD ACCEPT [538682:367785045]
:OUTPUT ACCEPT [48797:6397869]
-A FORWARD -s 172.21.100.152/32 -m physdev --physdev-in vif1.0 -j ACCEPT
-A FORWARD -p udp -m physdev --physdev-in vif1.0 -m udp --sport 68 --dport 67 -j ACCEPT
-A FORWARD -s 172.21.100.154/32 -m physdev --physdev-in vif2.0 -j ACCEPT
-A FORWARD -p udp -m physdev --physdev-in vif2.0 -m udp --sport 68 --dport 67 -j ACCEPT
-A FORWARD -s 172.21.100.153/32 -m physdev --physdev-in vif3.0 -j ACCEPT
-A FORWARD -p udp -m physdev --physdev-in vif3.0 -m udp --sport 68 --dport 67 -j ACCEPT
-A FORWARD -s 172.21.100.151/32 -m physdev --physdev-in vif5.0 -j ACCEPT
-A FORWARD -p udp -m physdev --physdev-in vif5.0 -m udp --sport 68 --dport 67 -j ACCEPT
COMMIT
# Completed on Mon Apr 12 00:26:28 2010
~
~
Sol
My general technique for seeing what's up with the script in a case like
this is to insert at the top:
set -x
exec &>/tmp/network-script$$
Then you'll get a file with the pid on the end every time it's executed,
with an exec trace. Don't forget to clean up the /tmp files and the
script when done.
Some one is talking here not read myself completely how helpful is it.
http://article.gmane.org/gmane.comp.emulators.xen.user/56768
Port Forwarding on IPTABLES
http://www.debian-administration.org/articles/73
http://www.hackorama.com/network/portfwd.shtml
http://www.linuxquestions.org/questions/linux-networking-3/how-to-ssh-to-computers-on-lan-from-a-proxy-that-has-public-ip-801810/
Some more IPTABLE rules
http://oceanpark.com/notes/firewall_example.html
http://www.linuxhomenetworking.com/wiki/index.php/Quick_HOWTO_:_Ch14_:_Linux_Firewalls_Using_iptables
Hands on guide to Debian
http://techpubs.spinlocksolutions.com/dklar/debian.html
You can try SSHD filter
http://www.google.co.in/search?sourceid=chrome&ie=UTF-8&q=sshdfilter
Thursday, April 8, 2010
Virtualization with Debian
To create image
xen-create-image --hostname=vignettes --size=150GB --swap=4096Mb --ip=172.21.100.151 --memory=2048 --arch=amd64 --role=udev --force --install-method=debootstrap --install-source=/root/inscd/
xen-create-image --hostname=education --size=114GB --swap=6144Mb --ip=172.21.100.152 --memory=3072 --arch=amd64 --role=udev --force --install-method=debootstrap --install-source=/root/inscd/
xen-create-image --hostname=social --size=98GB --swap=2048Mb --ip=172.21.100.153 --memory=1024 --arch=amd64 --role=udev --force --install-method=debootstrap --install-source=/root/inscd/
xen-create-image --hostname=ocw --size=52GB --swap=2048Mb --ip=172.21.100.154 --memory=1024 --arch=amd64 --role=udev --force --install-method=debootstrap --install-source=/root/inscd/
xm console
You will see messages
xm shutdown vignettes
vignettes:~# exit
logout
Debian GNU/Linux 5.0 vignettes hvc0
INIT: Switching to runlevel: 0
INIT: Sending processes the TERM signal
Saving the system clock.
Cannot access the Hardware Clock via any known method.
Use the --debug option to see the details of our search for an access method.
Stopping enhanced syslogd: rsyslogd.
Asking all remaining processes to terminate...done.
All processes ended within 1 seconds....done.
Deconfiguring network interfaces...done.
Cleaning up ifupdown....
Deactivating swap...done.
Will now halt.
[ 310.169142] xen console-0: xenbus_dev_shutdown: device/console/0: Initialising != Connected, skipping
[ 310.490258] System halted.
You can confirm if it has stopped.
Following error messages were encountered while installing vim
Since release 150, udev requires that support for the CONFIG_SYSFS_DEPRECATED
feature is disabled in the running kernel.
Please upgrade your kernel before or while upgrading udev.
AT YOUR OWN RISK, you can force the installation of this version of udev
WHICH DOES NOT WORK WITH YOUR RUNNING KERNEL AND WILL BREAK YOUR SYSTEM
AT THE NEXT REBOOT by creating the /etc/udev/kernel-upgrade file.
There is always a safer way to upgrade, do not try this unless you
understand what you are doing!
So a clean sources.list file is needed.
Common errors
Before I
xm create or path to domain
I mixed domain
http://news.gmane.org/gmane.comp.emulators.xen.user/cutoff=56544
http://bit.ly/9o1w7z
Error 2
You appear to have a missing vif-script, or network-script, in the
Xen configuration file /etc/xen/xend-config.sxp
Please fix this and restart Xend, or your guests will not be able
to use any networking!
An ebook
http://xen.markmail.org/message/6bs47e45aprzbk5x?q=A+Hands-On+Guide+to+the+Art+of+Virtualization
xen-create-image --hostname=vignettes --size=150GB --swap=4096Mb --ip=172.21.100.151 --memory=2048 --arch=amd64 --role=udev --force --install-method=debootstrap --install-source=/root/inscd/
xen-create-image --hostname=education --size=114GB --swap=6144Mb --ip=172.21.100.152 --memory=3072 --arch=amd64 --role=udev --force --install-method=debootstrap --install-source=/root/inscd/
xen-create-image --hostname=social --size=98GB --swap=2048Mb --ip=172.21.100.153 --memory=1024 --arch=amd64 --role=udev --force --install-method=debootstrap --install-source=/root/inscd/
xen-create-image --hostname=ocw --size=52GB --swap=2048Mb --ip=172.21.100.154 --memory=1024 --arch=amd64 --role=udev --force --install-method=debootstrap --install-source=/root/inscd/
xm console
You will see messages
xm shutdown vignettes
vignettes:~# exit
logout
Debian GNU/Linux 5.0 vignettes hvc0
INIT: Switching to runlevel: 0
INIT: Sending processes the TERM signal
Saving the system clock.
Cannot access the Hardware Clock via any known method.
Use the --debug option to see the details of our search for an access method.
Stopping enhanced syslogd: rsyslogd.
Asking all remaining processes to terminate...done.
All processes ended within 1 seconds....done.
Deconfiguring network interfaces...done.
Cleaning up ifupdown....
Deactivating swap...done.
Will now halt.
[ 310.169142] xen console-0: xenbus_dev_shutdown: device/console/0: Initialising != Connected, skipping
[ 310.490258] System halted.
You can confirm if it has stopped.
Following error messages were encountered while installing vim
Since release 150, udev requires that support for the CONFIG_SYSFS_DEPRECATED
feature is disabled in the running kernel.
Please upgrade your kernel before or while upgrading udev.
AT YOUR OWN RISK, you can force the installation of this version of udev
WHICH DOES NOT WORK WITH YOUR RUNNING KERNEL AND WILL BREAK YOUR SYSTEM
AT THE NEXT REBOOT by creating the /etc/udev/kernel-upgrade file.
There is always a safer way to upgrade, do not try this unless you
understand what you are doing!
So a clean sources.list file is needed.
Common errors
Before I
xm create
I mixed domain
http://news.gmane.org/gmane.comp.emulators.xen.user/cutoff=56544
http://bit.ly/9o1w7z
Error 2
You appear to have a missing vif-script, or network-script, in the
Xen configuration file /etc/xen/xend-config.sxp
Please fix this and restart Xend, or your guests will not be able
to use any networking!
An ebook
http://xen.markmail.org/message/6bs47e45aprzbk5x?q=A+Hands-On+Guide+to+the+Art+of+Virtualization
Wednesday, April 7, 2010
Compiling Xen from sources on Debian
Some one explained me in detail on community so I am forwarding same here
This guide will explicate in detail about the procedure for compiling
vanilla kernel from source and customize it according to your hardware
specifications and then compiling latest XEN from source and patching
it with Linux.
First install these packages:
sudo apt-get install iproute bridge-utils gcc make gettext
sudo apt-get install libcurl4-openssl-dev è openssl
sudo apt-get install python-dev zlib1g-dev bcc libsdl-dev pciutils-dev
è zlib
First we will compile latest XEN Hypervisor from source.
Go to http://www.xen.org/products/xen_source.html and download the
latest XEN hypervisor from there. [Version 3.4.1 at the time of
writing the guide]
Xen 3.4.1 is available WITH and WITHOUT 2.6.18 dom0 kernel. We need
the version without dom0 linux because we will compile our own vanilla
kernel.
I am seting up XEN 3.4.1 on amd64 hardware and running debian
distribution on it with upgraded kernel.
My hardware specifications:
unme -a
Linux -04 2.6.31.4-user-kvm-vanilla #1 SMP Wed Oct 21 16:35:11 BST
2009 x86_64 GNU/Linux
Build / Install Xen
1. mkdir /home/tapas/xen
2. cd /home/tapas/xen
3. tar -xzf xen-3.4.1
4. cd xen-3.4.1
5. make xen
6. make install-xen
7. make tools
8. make install-tools
Build Vanilla kernel
Now we will build th PV_Ops Kernel. The Vanilla kernel source will be
downloaded from Jeremy's tree. Jeremy's git tree on kernel.org
contains the pv_ops dom0 patches. If we use Jeremy's tree then we do
not any extra patches to bind XEN with kernel source.
1. mkdir /home/tapas/linux
2. cd /home/tapas/linux
3. git clone git://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git
4. linux-2.6-xen
5. cd linux-2.6-xen
6. git checkout origin/xen/master -b xen/master
7. make menuconfig [see Note below]
8. make-kpkg clean
9. CONCURRENCY_LEVEL=N fakeroot make-kpkg --initrd
--append-to-version=-custom kernel_image kernel_headers
10. This will make the debian packages in the parent directory which
you can install
Note: Please choose the following xen specific optiions in kernel configuration.
Processor type and features ---> Subarchitecture Type (PC-compatible)
---> (X) Enable Xen compatible kernel
Bus options (PCI etc.) ---> [*] PCI support
[*] Xen PCI Frontend
[ ] Xen PCI Frontend
Debugging (NEW)
Device Drivers ---> XEN ---> [*] Privileged Guest (domain 0)
<*> Backend driver support (NEW)
<*> Block-device
backend driver (NEW)
<*> Block-device tap
backend driver (NEW)
<*> Network-device
backend driver (NEW)
(8) Maximum
simultaneous transmit requests (as a power of 2) (NEW)
[ ] Pipelined
transmitter (DANGEROUS) (NEW)
< > Network-device
loopback driver (NEW)
<*> PCI-device
backend driver (NEW)
PCI Backend
Mode (Virtual PCI) --->
[ ] PCI
Backend Debugging (NEW)
< >
TPM-device backend driver (NEW)
SCSI backend driver (NEW)
< > TPM-device backend driver (NEW)
SCSI backend driver (NEW)
Block-device frontend driver
Network-device frontend driver
Network-device frontend driver
acceleration for Solarflare NICs (NEW)
SCSI frontend driver (NEW)
<*> User-space granted page access driver (NEW)
<*> Framebuffer-device frontend driver (NEW)
<*> Keyboard-device frontend driver (NEW)
[*] Disable serial port drivers (NEW)
<*> Export Xen attributes in sysfs (NEW)
(256) Number of guest devices (NEW)
Xen version compatibility (3.0.4
and later) --->
After xen confiuration, please make sure that .config has the
following parameter configuration:
* CONFIG_XEN=y
* CONFIG_XEN_MAX_DOMAIN_MEMORY=32
* CONFIG_XEN_SAVE_RESTORE=y
* CONFIG_XEN_DOM0=y
* CONFIG_XEN_PRIVILEGED_GUEST=y
* CONFIG_XEN_PCI=y
* CONFIG_PCI_XEN=y
* CONFIG_XEN_BLKDEV_FRONTEND=m
* CONFIG_NETXEN_NIC=m
* CONFIG_XEN_NETDEV_FRONTEND=m
* CONFIG_XEN_KBDDEV_FRONTEND=m
* CONFIG_HVC_XEN=y
* CONFIG_XEN_FBDEV_FRONTEND=m
* CONFIG_XEN_BALLOON=y
* CONFIG_XEN_SCRUB_PAGES=y
* CONFIG_XEN_DEV_EVTCHN=y
* CONFIG_XEN_BACKEND=y
* CONFIG_XEN_BLKDEV_BACKEND=y
* CONFIG_XEN_NETDEV_BACKEND=y
* CONFIG_XENFS=y
* CONFIG_XEN_NETDEV_BACKEND=y
* CONFIG_XENFS=y
* CONFIG_XEN_COMPAT_XENFS=y
* CONFIG_XEN_XENBUS_FRONTEND=m
Install these debian packages using
sudo dpkg -i
Add the following line to /etc/fstab
none /proc/xen xenfs defaults 0 0
and reboot the machine.
After installing the debian packages, the Grub Entry will look like
the following:
title Xen 3.4.1 / Debian GNU/Linux, kernel 2.6.31.4-tapas-xen-4
root (hd0,0)
kernel /boot/xen-3.4.1.gz
module /boot/vmlinuz-2.6.31.4-tapas-xen-4 root=/dev/sda1 ro
console=tty0
module /boot/initrd.img-2.6.31.4-tapas-xen-4
Hope that will help.
If you want to look at original post then here is a link
http://article.gmane.org/gmane.comp.emulators.xen.user/52705/match=xen+sources
http://www.linuxtopia.org/online_books/linux_virtualization/xen_3.0_user_guide/linux_virualization_xen_user_43.html
Note that file-backed VBDs may not be appropriate for backing I/O-intensive domains. File-backed VBDs are known to experience substantial slowdowns under heavy I/O workloads, due to the I/O handling by the loopback block device used to support file-backed VBDs in dom0. Better I/O performance can be achieved by using either LVM-backed VBDs (Section 6.3) or physical devices as VBDs (Section 6.1).
This guide will explicate in detail about the procedure for compiling
vanilla kernel from source and customize it according to your hardware
specifications and then compiling latest XEN from source and patching
it with Linux.
First install these packages:
sudo apt-get install iproute bridge-utils gcc make gettext
sudo apt-get install libcurl4-openssl-dev è openssl
sudo apt-get install python-dev zlib1g-dev bcc libsdl-dev pciutils-dev
è zlib
First we will compile latest XEN Hypervisor from source.
Go to http://www.xen.org/products/xen_source.html and download the
latest XEN hypervisor from there. [Version 3.4.1 at the time of
writing the guide]
Xen 3.4.1 is available WITH and WITHOUT 2.6.18 dom0 kernel. We need
the version without dom0 linux because we will compile our own vanilla
kernel.
I am seting up XEN 3.4.1 on amd64 hardware and running debian
distribution on it with upgraded kernel.
My hardware specifications:
unme -a
Linux -04 2.6.31.4-user-kvm-vanilla #1 SMP Wed Oct 21 16:35:11 BST
2009 x86_64 GNU/Linux
Build / Install Xen
1. mkdir /home/tapas/xen
2. cd /home/tapas/xen
3. tar -xzf xen-3.4.1
4. cd xen-3.4.1
5. make xen
6. make install-xen
7. make tools
8. make install-tools
Build Vanilla kernel
Now we will build th PV_Ops Kernel. The Vanilla kernel source will be
downloaded from Jeremy's tree. Jeremy's git tree on kernel.org
contains the pv_ops dom0 patches. If we use Jeremy's tree then we do
not any extra patches to bind XEN with kernel source.
1. mkdir /home/tapas/linux
2. cd /home/tapas/linux
3. git clone git://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git
4. linux-2.6-xen
5. cd linux-2.6-xen
6. git checkout origin/xen/master -b xen/master
7. make menuconfig [see Note below]
8. make-kpkg clean
9. CONCURRENCY_LEVEL=N fakeroot make-kpkg --initrd
--append-to-version=-custom kernel_image kernel_headers
10. This will make the debian packages in the parent directory which
you can install
Note: Please choose the following xen specific optiions in kernel configuration.
Processor type and features ---> Subarchitecture Type (PC-compatible)
---> (X) Enable Xen compatible kernel
Bus options (PCI etc.) ---> [*] PCI support
[*] Xen PCI Frontend
[ ] Xen PCI Frontend
Debugging (NEW)
Device Drivers ---> XEN ---> [*] Privileged Guest (domain 0)
<*> Backend driver support (NEW)
<*> Block-device
backend driver (NEW)
<*> Block-device tap
backend driver (NEW)
<*> Network-device
backend driver (NEW)
(8) Maximum
simultaneous transmit requests (as a power of 2) (NEW)
[ ] Pipelined
transmitter (DANGEROUS) (NEW)
< > Network-device
loopback driver (NEW)
<*> PCI-device
backend driver (NEW)
PCI Backend
Mode (Virtual PCI) --->
[ ] PCI
Backend Debugging (NEW)
< >
TPM-device backend driver (NEW)
< > TPM-device backend driver (NEW)
acceleration for Solarflare NICs (NEW)
<*> User-space granted page access driver (NEW)
<*> Framebuffer-device frontend driver (NEW)
<*> Keyboard-device frontend driver (NEW)
[*] Disable serial port drivers (NEW)
<*> Export Xen attributes in sysfs (NEW)
(256) Number of guest devices (NEW)
Xen version compatibility (3.0.4
and later) --->
After xen confiuration, please make sure that .config has the
following parameter configuration:
* CONFIG_XEN=y
* CONFIG_XEN_MAX_DOMAIN_MEMORY=32
* CONFIG_XEN_SAVE_RESTORE=y
* CONFIG_XEN_DOM0=y
* CONFIG_XEN_PRIVILEGED_GUEST=y
* CONFIG_XEN_PCI=y
* CONFIG_PCI_XEN=y
* CONFIG_XEN_BLKDEV_FRONTEND=m
* CONFIG_NETXEN_NIC=m
* CONFIG_XEN_NETDEV_FRONTEND=m
* CONFIG_XEN_KBDDEV_FRONTEND=m
* CONFIG_HVC_XEN=y
* CONFIG_XEN_FBDEV_FRONTEND=m
* CONFIG_XEN_BALLOON=y
* CONFIG_XEN_SCRUB_PAGES=y
* CONFIG_XEN_DEV_EVTCHN=y
* CONFIG_XEN_BACKEND=y
* CONFIG_XEN_BLKDEV_BACKEND=y
* CONFIG_XEN_NETDEV_BACKEND=y
* CONFIG_XENFS=y
* CONFIG_XEN_NETDEV_BACKEND=y
* CONFIG_XENFS=y
* CONFIG_XEN_COMPAT_XENFS=y
* CONFIG_XEN_XENBUS_FRONTEND=m
Install these debian packages using
sudo dpkg -i
Add the following line to /etc/fstab
none /proc/xen xenfs defaults 0 0
and reboot the machine.
After installing the debian packages, the Grub Entry will look like
the following:
title Xen 3.4.1 / Debian GNU/Linux, kernel 2.6.31.4-tapas-xen-4
root (hd0,0)
kernel /boot/xen-3.4.1.gz
module /boot/vmlinuz-2.6.31.4-tapas-xen-4 root=/dev/sda1 ro
console=tty0
module /boot/initrd.img-2.6.31.4-tapas-xen-4
Hope that will help.
If you want to look at original post then here is a link
http://article.gmane.org/gmane.comp.emulators.xen.user/52705/match=xen+sources
http://www.linuxtopia.org/online_books/linux_virtualization/xen_3.0_user_guide/linux_virualization_xen_user_43.html
Note that file-backed VBDs may not be appropriate for backing I/O-intensive domains. File-backed VBDs are known to experience substantial slowdowns under heavy I/O workloads, due to the I/O handling by the loopback block device used to support file-backed VBDs in dom0. Better I/O performance can be achieved by using either LVM-backed VBDs (Section 6.3) or physical devices as VBDs (Section 6.1).
Time Zones
tzconfig is deprecated
openworld:~# dpkg-reconfigure tzdata
http://lifehacker.com/124804/geek-to-live--how-to-assign-a-domain-name-to-your-home-web-server
openworld:~# dpkg-reconfigure tzdata
http://lifehacker.com/124804/geek-to-live--how-to-assign-a-domain-name-to-your-home-web-server
Tuesday, April 6, 2010
LVMs on Debian and LAN Issue Got Xen up and running
updated the firm ware on R710 it is on Debian site here is a link
http://packages.debian.org/lenny/all/firmware-bnx2/download
after that it showed the lan card detected
Here is a link in case you want to know some one else had faced
similar problem and they have claimed it worked for them on R710 for
Debian
http://lists.us.dell.com/pipermail/linux-poweredge/2009-April/039119.html
I have also manually added the firmware as he mentioned on the above link.
http://linuxdevcenter.com/pub/a/linux/2006/04/27/managing-disk-space-with-lvm.html
LVMs on Debian
http://www.debian-administration.org/articles/410
http://www.faqs.org/docs/Linux-HOWTO/LVM-HOWTO.html#AEN120
http://www.howtoforge.com/linux_lvm_p3
http://www.ibm.com/developerworks/linux/library/l-lvm/
If you have not installed using LVM Pvcreate is not working
http://www.howtoforge.com/forums/showthread.php?t=39401
this is what is actually required
http://wiki.xensource.com/xenwiki/DebianDomU
[code]
openworld:~# man vgchange
openworld:~# vgchange -a n lvmxen
0 logical volume(s) in volume group "lvmxen" now active
openworld:~# pvscan
PV /dev/sda5 VG lvmxen lvm2 [93.13 GiB / 93.13 GiB free]
PV /dev/sda6 lvm2 [93.13 GiB]
PV /dev/sda7 lvm2 [93.13 GiB]
PV /dev/sda8 lvm2 [93.13 GiB]
Total: 4 [372.54 GiB] / in use: 1 [93.13 GiB] / in no VG: 3 [279.40 GiB]
openworld:~# vgremove lvmxen
Volume group "lvmxen" successfully removed
openworld:~# pvscan
PV /dev/sda5 lvm2 [93.13 GiB]
PV /dev/sda6 lvm2 [93.13 GiB]
PV /dev/sda7 lvm2 [93.13 GiB]
PV /dev/sda8 lvm2 [93.13 GiB]
Total: 4 [372.54 GiB] / in use: 0 [0 ] / in no VG: 4 [372.54 GiB]
openworld:~#
[/code]
TO activate and remove etc
http://tldp.org/HOWTO/LVM-HOWTO/removevgs.html
http://wiki.hetzner.de/index.php/Xen_on_Debian_Lenny_using_the_additional_IPs_%28EQ_Series%29
Careful following link used Etch
http://etbe.coker.com.au/2007/01/01/installing-xen-domu-on-debian-etch/
My post
http://search.gmane.org/?query=xen%20from%20sources&author=tapas%40abhitech.com
http://article.gmane.org/gmane.comp.emulators.xen.user/52705/match=xen+sources
Moving on to DomU after creating LVMs
http://wiki.hetzner.de/index.php/Xen_on_Debian_Lenny_using_the_additional_IPs_%28EQ_Series%29
http://www.howtoforge.com/virtualization-with-xen-on-debian-lenny-amd64
Since I used LVMs so
http://www.howtoforge.com/virtualization-with-xen-on-debian-lenny-amd64-p2
http://packages.debian.org/lenny/all/firmware-bnx2/download
after that it showed the lan card detected
Here is a link in case you want to know some one else had faced
similar problem and they have claimed it worked for them on R710 for
Debian
http://lists.us.dell.com/pipermail/linux-poweredge/2009-April/039119.html
I have also manually added the firmware as he mentioned on the above link.
http://linuxdevcenter.com/pub/a/linux/2006/04/27/managing-disk-space-with-lvm.html
LVMs on Debian
http://www.debian-administration.org/articles/410
http://www.faqs.org/docs/Linux-HOWTO/LVM-HOWTO.html#AEN120
http://www.howtoforge.com/linux_lvm_p3
http://www.ibm.com/developerworks/linux/library/l-lvm/
If you have not installed using LVM Pvcreate is not working
http://www.howtoforge.com/forums/showthread.php?t=39401
this is what is actually required
http://wiki.xensource.com/xenwiki/DebianDomU
[code]
openworld:~# man vgchange
openworld:~# vgchange -a n lvmxen
0 logical volume(s) in volume group "lvmxen" now active
openworld:~# pvscan
PV /dev/sda5 VG lvmxen lvm2 [93.13 GiB / 93.13 GiB free]
PV /dev/sda6 lvm2 [93.13 GiB]
PV /dev/sda7 lvm2 [93.13 GiB]
PV /dev/sda8 lvm2 [93.13 GiB]
Total: 4 [372.54 GiB] / in use: 1 [93.13 GiB] / in no VG: 3 [279.40 GiB]
openworld:~# vgremove lvmxen
Volume group "lvmxen" successfully removed
openworld:~# pvscan
PV /dev/sda5 lvm2 [93.13 GiB]
PV /dev/sda6 lvm2 [93.13 GiB]
PV /dev/sda7 lvm2 [93.13 GiB]
PV /dev/sda8 lvm2 [93.13 GiB]
Total: 4 [372.54 GiB] / in use: 0 [0 ] / in no VG: 4 [372.54 GiB]
openworld:~#
[/code]
TO activate and remove etc
http://tldp.org/HOWTO/LVM-HOWTO/removevgs.html
http://wiki.hetzner.de/index.php/Xen_on_Debian_Lenny_using_the_additional_IPs_%28EQ_Series%29
Careful following link used Etch
http://etbe.coker.com.au/2007/01/01/installing-xen-domu-on-debian-etch/
My post
http://search.gmane.org/?query=xen%20from%20sources&author=tapas%40abhitech.com
http://article.gmane.org/gmane.comp.emulators.xen.user/52705/match=xen+sources
Moving on to DomU after creating LVMs
http://wiki.hetzner.de/index.php/Xen_on_Debian_Lenny_using_the_additional_IPs_%28EQ_Series%29
http://www.howtoforge.com/virtualization-with-xen-on-debian-lenny-amd64
Since I used LVMs so
http://www.howtoforge.com/virtualization-with-xen-on-debian-lenny-amd64-p2
Subscribe to:
Posts (Atom)