31 Aug

Installing DC++ in Linux

LinuxDCPP is a linux client for the DirectConnect protocol. This is how you install it…


#Get the code
sudo cvs -d:pserver:anonymous@cvs.linuxdcpp.berlios.de:/cvsroot/linuxdcpp login
cvs -z3 -d:pserver:anonymous@cvs.linuxdcpp.berlios.de:/cvsroot/linuxdcpp co linuxdcpp
#Install Dependencies..
yum -y install scons
#Compile and install
cd linuxdcpp
scons
scons install

[tags]linux, software,dc++,client,scons,install,direct,connect[/tags]

24 Aug

Backup All Databases in MySQL

Backup all files in /var/lib/mysql to another folder

To restore, stop mysqld if it is running

service stop mysqld

Move all database files back to /var/lib/mysql. Make sure that all the folder and files in that folder belongs to mysql

chown -R mysql.mysql /var/lib/mysql

Try starting mysql

service start mysqld

11 Aug

Create CD Image

These commands can be used to create an image of a CD/DVD/HDD. You can also use some GUI tool like K3B to do this. Use one any of the three commands…


dd if=/dev/cdrom of=cd_image.iso
cat /dev/cdrom >image.iso
readcd dev=device f=image.raw

[tags]cd, command, dd, dvd, image, iso,linux,raw[/tags]