Archive

Posts Tagged ‘Linux’

mount: unknown filesystem type ‘iso9660′

March 17th, 2010

If you are running Ubuntu jeOS and selected the minimal VMWare installation option you may find that you receive the following error when you attempt to mount a CDROM using the sudo mount /cdrom command from the command line:

mount: unknown filesystem type 'iso9660'

This is because the kernel does not have iso9660 (cdrom filesystem) support built-in. To fix the problem you just need to upgrade your kernel by running the following commands as root from the command line:

aptitude update
aptitude upgrade

then restart your machine by running the following command:

shutdown -r now

Once you’ve restarted you should now find that you can mount CDROM’s by using mount /cdrom command.

Cameron Operating Systems , , ,

How to mirror your websites using rsync on Linux.

January 15th, 2010

I’ve been given the task at work to mirror all of our websites on-to our local development server. I knew instantly that I needed to use something like rsync but was unsure how to use it. Also rsync runs over SSH and requires human intervention to enter the login password for the remote server over SSH. As I want the mirror to update daily I would need to setup a cron job but that could not work as the rsync command rqquires someone to type in a password.

After Googling I found this fantastic article at How to Forge: Mirror Your Web Site With rsync. It gives an extensive step-by-step guide on how to setup mirroring using rsync, configuring the servers so that rsync does not require a password when connecting to remote server, and how to setup the cron jobs.

Cameron Networking, Operating Systems , , , , ,

How to copy files & folders from server to server in Linux

January 14th, 2010

Found a fantastic guide at crucialp.com on how to copy files in Linux from one server to another using various techniques including SCP, rsync and tar (over SSH).

Check it out:  How to Copy Files Across a Network/Internet in UNIX/LINUX (Redhat, Debian, FreeBSD, etc) – scp tar rsync

Cameron Networking, Operating Systems , ,