Finding old debian etch iso

Finding ’s was little crucial when things doesn’t work well during upgrades. Especially when the drives go wrong and you have to continue running the good old distribution, better keep a copy of the ’s.

Here I found those ISO’s to get going.

http://ftp.ch.debian.org/debian-cd/4.0_r7/i386/iso-cd/

http://iso.linuxquestions.org/debian/debian-gnulinux-4.0r1-etch/

Tags: , ,

Installing Debian Lenny VM on Citrix XEN

If you’re trying to install Debian Lenny on a XEN VM you might end up with the following error no matter which debian repository you use to install. can’t download file (/dists/lenny/main/installer-i386/20090123lenny1/images/netboot/xen/vmlinuz) Resolution: Smiplest way to install lenny on xenserver5.5 is "install from URL:http://mirrors.cn99.com/debian/". The above URL works perfectly on Citrix XENSERVER 5.5. Otherwise you […]

Fix:Unable to ping veth device on proxmox

Virtual Ethernet devices of the OpenVZ VM’s inside ProxMox is connected to a bridge. After installing ProxMox and creating virtual nodes, I found that public ips allocated inside VM’s were not reachable to world.

A quick fix for this issue is to ensure that Proxy ARP and IP Forwarding is configured fine.

Check these lines:

# ifconfig vzbr0 0
# echo 1 > /proc/sys/net/ipv4/conf/vzbr0/forwarding
# echo 1 > /proc/sys/net/ipv4/conf/vzbr0/proxy_arp

You can read more information about OpenVZ Virtual Ethernet devices in bridge mode configuration check this link.

Fix: VirtualMin Suexec command configured to run under /var/www

This is a very common issue found in VirtualMin

The Suexec command on your system is configured to only run scripts under /var/www, but the Virtualmin base directory is /home. CGI and PHP scripts run as domain owners will not be executed.

To resolve this you will have to recompile apache with /home as a base directory for mod_suexec module. Or, mount /var/www as mount if you want to keep the configuration unchanged.

An alternate solution is to disable “Automatic SuExec directive” under VirtualMin’s System Settings -> Server Template.
virtual_min_solution

This should resolve the issue.

Installing webmin – web administration tool for Ubuntu/Debian

Looking for a web administration tool for your system? Try out Webmin. One of the very basic tools to manage your system.

webadmin_web4

You can download the webmin package for different OS’s from the official website webmin.com.

Once you have the .deb package for Ubuntu/Debian, you will be prompted to install some dependencies. So first get the dependencies installed.  Here are some dependencies which I needed on my laptop. (This may vary from machine to machine.. Nothing to worry rest of the packages can also be installed very easily with the intelligent installer aptitude)

$sudo aptitude  install libnet-ssleay-perl libauthen-pam-perl libio-pty-perl libmd5-perl

Now, go ahead and install the webmin .deb file which you had downloaded earlier to finish installation.

$sudo dpkg -i webmin_1.x_all.deb

Now, you’re all set to drive your system the way you want it through a simple web interface. Access webmin via your browser by typing the following URL

https://127.0.0.1:10000

(PS: Its not http://)

If you’re prompted for a security certificate accept it to get the webmin interface. Now you will be prompted for Username and Password. Enter your system’s user name and password to start with.

For those who need more out of this here are the key words: usermin, virtualmin … continue digging more..

Webmin.com

Webmin is a web-based interface for system administration for Unix. Using any modern web browser, you can setup user accounts, Apache, DNS, file sharing and much more. Webmin removes the need to manually edit Unix configuration files like /etc/passwd, and lets you manage a system from the console or remotely. See the standard modules page for a list of all the functions built into Webmin, or check out the screenshots.

Changing hostname on Debian

Hostname is stored in /etc/hostname file on Debian. This file is read at the boot time and  name is setup using the init script /etc/init.d/hostname.sh

To make changes to the hostname, first edit this file as follows:

#sudo gedit /etc/hostname

Once you’re done editing the hostname, save the file  and run the following command to set the hostname.

#sudo /etc/init.d/hostname.sh start

Now, check and confirm your hostname.

SSHFS – ssh based filesystem client

All I needed is to access my home directory hosted on a server quickly on a secure channel. FTP/Web based access were bit irritating as I could not read some of the IRC logs stored in unicode with ease. I quickly thought of installing and mounting the remote direct via sshfs (Secure Shell File System). Cool.. It just works.

To install it on my ubuntu box I used aptitude as follows

#sudo aptitude install sshfs

Once its done, all I need to do is to provide the remote hostname, directory to be mounted and the destination directory as the mount point. Check the syntax below.

#sshfs @servername/ip:/home/

This will prompt you for the SSH password. Once you’re authenticated, you will be able to access the files easily just like a normal folder. Its so convenient over FTP. Try it out today.

From man page: SSHFS (Secure  Shell FileSystem) is a file system for Linux (and other operating systems with a FUSE implementation, such as Mac OS X or FreeBSD) capable of operating on files on a remote computer using just a secure shell login on the remote computer. On the local computer where  the  SSHFS is  mounted,  the  implementation makes use of the FUSE (Filesystem in Userspace) kernel module. The practical effect of this is that the end user can seamlessly interact with remote files being securely served over SSH just as if they were local files on his/her computer. On the remote  computer the SFTP subsystem of SSH is used.