» tagged pages
» logout

sorted by: recent | see : popular
Content Tagged with from + Ubuntu

Howto Download videos from youtube in Ubuntu

youtube-dl is a small command-line program to download videos from YouTube.com.

Install youtube-dl in Ubuntu

(...)
Read the rest of Howto Download videos from youtube in Ubuntu (247 words)


© admin for Ubuntu Geek, 2008. | Permalink | 8 comments | Add to del.icio.us digg
Who's linking ? Technorati BlogPulse Google
Want more on these topics ? Browse the archive of posts filed under General.

Related Articles

Ubuntu: Ubuntu Geek - Ubuntu Tutorials,Howto's,Tips and Tricks

How to install Pidgin 2.4.3 in Ubuntu 7.04 (Feisty Fawn) From source code

How to install Pidgin 2.4.3 in Linux Ubuntu 7.04 Feisty Fawn by compiling its source code(to compile Pidgin source code)

(...)
Read the rest of How to install Pidgin 2.4.3 in Ubuntu 7.04 (Feisty Fawn) From source code (497 words)


© meka4996 for Ubuntu Geek, 2008. | Permalink | 6 comments | Add to del.icio.us digg
Who's linking ? Technorati BlogPulse Google
Want more on these topics ? Browse the archive of posts filed under General.

Related Articles

Ubuntu: Ubuntu Geek - Ubuntu Tutorials,Howto's,Tips and Tricks

How to prevent a package from being updated in Ubuntu

If you want to update all the packages other than one package in your Ubuntu system follow this procedure

There are three ways of holding back packages, with dpkg, aptitude or with dselect.

(...)
Read the rest of How to prevent a package from being updated in Ubuntu (124 words)


© admin for Ubuntu Geek, 2008. | Permalink | One comment | Add to del.icio.us digg
Who's linking ? Technorati BlogPulse Google
Want more on these topics ? Browse the archive of posts filed under Package Mgmt.

Related Articles

Ubuntu: Ubuntu Geek - Ubuntu Tutorials,Howto's,Tips and Tricks

Qemu Ubuntu 8.04.1 with a shared folder

In the following tutorial we show you how to use Qemu to run Ubuntu 8.04.1 from a flash drive, within Windows without rebooting. In addition, you will be able to mount the shared folder on the flash drive and use it between Windows and Ubuntu to share files between the two operating systems. Please [...]

User:malforme: Pen Drive Linux

Jobsuche: "Den Ruf wie Lidl haben wir nicht" - manager-magazin.de

Here are the 100 words most often mispronounced English words ('mispronunciation' among them). There are spelling rules in English even if they are difficult to understand, so pronouncing a word correctly usually does help you spell it correctly.

QEMU: del.icio.us tag/qemu

Howto: Create ISO File From CD/DVD in Ubuntu Gutsy

Have a CD or DVD lying around that you are sick of putting in the drive every time you need something on the disc How about just making an .iso file that you can mount as you need? Or maybe you just want a “master” copy of the media so you can create another copy at a future date.

At any rate it is rather easy to accomplish in Ubuntu:

sudo umount /dev/cdrom dd if=/dev/cdrom of=file.iso bs=1024

You can also do the same with folders:

mkisofs -r -o file.iso /location_of_folder/

Don’t forget to make a checksum:

md5sum file.iso > file.iso.md5

Ubuntu: OnlyUbuntu Tutorials

Howto Disable CTRL-ALT-DEL from shutting down in Ubuntu

If you want to disable CTFL-ALT-DEL from shutting down their server use the following procedure.


For Dapper, and earlier Users

1)If you are using Dapper Drake, or before, you will have to edit /etc/inittab with the editor of your choice.

sudo gedit /etc/inittab

2)Now, look for the line that looks like this:

exec /sbin/shutdown -r now "Control-Alt-Delete pressed"

This is what we want to change. delete whole line. Now, its up to you what you want to do. If you want it to just print a message, and then do nothing, enter this

"CTRL+ALT+DEL is disabled!!"

or any other message of your choice.

If you want it to execute a script, change the line to

exec /path/to/your/script.sh

Thats it! Now, you can leave your server in peace, and not have to worry about anyone pressing CTRL+ALT+DELETE, and shutting it down!

For Edgy,Feisty,Gutsy,Hardy Users

In Edgy, you have to edit /etc/event.d/control-alt-delete. Then, just follow the steps in step 2 of Dapper and Earlier.

Ubuntu: OnlyUbuntu Tutorials

How to Upgrade Ubuntu Server from Feisty (7.04) to Hardy (8.04)

This tutorial will explain how to upgrade Ubuntu Server from Feisty to Hardy

Step 1: Feisty to Gusty Upgrade

first be sure your feisty up-to-date

sudo apt-get update

sudo apt-get upgrade

sudo apt-get dist-upgrade


if everything ok, ready for upgrade to gusty.

nano /etc/apt/source.list

all change "feisty" to "gutsy"

save and exit (ctrl-x, yes)

sudo apt-get update
sudo apt-get dist-upgrade


(one package doesn't upgrade : mailscanner
but this step its fix:
nano /etc/init.d/mailscanner

around 124 line (do_stop function) add 'exit 0'

do_stop()
{ exit 0
# Return
# 0 if daemon has been stopped
# 1 if daemon was already stopped
# 2 if daemon could not be stopped
# other if a failure occurred
start-stop-daemon --stop --retry=TERM/30 --name $NAME
RETVAL="$?"
[ "$RETVAL" = 2 ] && return 2

# Remove lockfile for cronjobs
if [ $RETVAL -eq 0 ]; then
rm -f /var/lock/subsys/mailscanner
touch $stopped_lockfile
fi

}


save and exit.

and re-apply
sudo apt-get dist-upgrade

command. its works. there some warning related with mailscanner but not important (for now)

and reboot

my server is gutsy, now.

step 2. Gutsy to Hardy upgrade

nano /etc/apt/source.list

all change "gutsy" to "hardy"

save and exit (ctrl-x, yes)

sudo apt-get update
sudo apt-get dist-upgrade

one package doesn't upgrade : mailscanner
but no problem

reboot

mailscanner fix:

first backup your mailscanner folder. (/etc/mailscanner)

sudo cp -R /etc/mailscanner /etc/mailscanner_backup


sudo apt-get remove --purge mailscanner

(if removing results same error, around 124 line (do_stop function) add 'exit 0')

wget http://http.us.debian.org/debian/pool/main/m/mailscanner/mailscanner_4.68.8-1_all.deb
sudo dpkg -i mailscanner_4.68.8-1_all.deb

and

nano /etc/default/mailscanner

# Uncomment this line once MailScanner has been fully configured.
#
run_mailscanner=1

save and exit..

replace your backup mailscanner folder (/etc/mailscanner)

sudo cp -R /etc/mailscanner_backup /etc/mailscanner

/etc/init.d/mailscanner start

Ubuntu: OnlyUbuntu Tutorials

How to Upgrade Ubuntu Server from Feisty (7.04) to Hardy (8.04)

This tutorial will explain how to upgrade Ubuntu Server from Feisty to Hardy

Step 1: Feisty to Gusty Upgrade

first be sure your feisty up-to-date

sudo apt-get update

sudo apt-get upgrade

sudo apt-get dist-upgrade


if everything ok, ready for upgrade to gusty.

nano /etc/apt/source.list

all change "feisty" to "gutsy"

save and exit (ctrl-x, yes)

sudo apt-get update
sudo apt-get dist-upgrade


(one package doesn't upgrade : mailscanner
but this step its fix:
nano /etc/init.d/mailscanner

around 124 line (do_stop function) add 'exit 0'

do_stop()
{ exit 0
# Return
# 0 if daemon has been stopped
# 1 if daemon was already stopped
# 2 if daemon could not be stopped
# other if a failure occurred
start-stop-daemon --stop --retry=TERM/30 --name $NAME
RETVAL="$?"
[ "$RETVAL" = 2 ] && return 2

# Remove lockfile for cronjobs
if [ $RETVAL -eq 0 ]; then
rm -f /var/lock/subsys/mailscanner
touch $stopped_lockfile
fi

}


save and exit.

and re-apply
sudo apt-get dist-upgrade

command. its works. there some warning related with mailscanner but not important (for now)

and reboot

my server is gutsy, now.

step 2. Gutsy to Hardy upgrade

nano /etc/apt/source.list

all change "gutsy" to "hardy"

save and exit (ctrl-x, yes)

sudo apt-get update
sudo apt-get dist-upgrade

one package doesn't upgrade : mailscanner
but no problem

reboot

mailscanner fix:

first backup your mailscanner folder. (/etc/mailscanner)

sudo cp -R /etc/mailscanner /etc/mailscanner_backup


sudo apt-get remove --purge mailscanner

(if removing results same error, around 124 line (do_stop function) add 'exit 0')

wget http://http.us.debian.org/debian/pool/main/m/mailscanner/mailscanner_4.68.8-1_all.deb
sudo dpkg -i mailscanner_4.68.8-1_all.deb

and

nano /etc/default/mailscanner

# Uncomment this line once MailScanner has been fully configured.
#
run_mailscanner=1

save and exit..

replace your backup mailscanner folder (/etc/mailscanner)

sudo cp -R /etc/mailscanner_backup /etc/mailscanner

/etc/init.d/mailscanner start

Ubuntu: Only Ubuntu

Howto Disable CTRL-ALT-DEL from shutting down in Ubuntu

If you want to disable CTFL-ALT-DEL from shutting down their server use the following procedure.


For Dapper, and earlier Users

1)If you are using Dapper Drake, or before, you will have to edit /etc/inittab with the editor of your choice.

sudo gedit /etc/inittab

2)Now, look for the line that looks like this:

exec /sbin/shutdown -r now "Control-Alt-Delete pressed"

This is what we want to change. delete whole line. Now, its up to you what you want to do. If you want it to just print a message, and then do nothing, enter this

"CTRL+ALT+DEL is disabled!!"

or any other message of your choice.

If you want it to execute a script, change the line to

exec /path/to/your/script.sh

Thats it! Now, you can leave your server in peace, and not have to worry about anyone pressing CTRL+ALT+DELETE, and shutting it down!

For Edgy,Feisty,Gutsy,Hardy Users

In Edgy, you have to edit /etc/event.d/control-alt-delete. Then, just follow the steps in step 2 of Dapper and Earlier.

Ubuntu: Only Ubuntu

Howto: Create ISO File From CD/DVD in Ubuntu Gutsy

Have a CD or DVD lying around that you are sick of putting in the drive every time you need something on the disc How about just making an .iso file that you can mount as you need? Or maybe you just want a “master” copy of the media so you can create another copy at a future date.

At any rate it is rather easy to accomplish in Ubuntu:

sudo umount /dev/cdrom dd if=/dev/cdrom of=file.iso bs=1024

You can also do the same with folders:

mkisofs -r -o file.iso /location_of_folder/

Don’t forget to make a checksum:

md5sum file.iso > file.iso.md5

Ubuntu: Only Ubuntu

Run Ubuntu 7.10 from Windows

This tutorial explains How To Run Ubuntu 7.10 from a portable USB device or from a folder within Windows. As noted before, the advantage to using Qemu hardware emulation as opposed to a native USB boot is that you can to plug your USB stick or portable hard drive into any available Windows PC and [...]

User:malforme: Pen Drive Linux

Run Ubuntu 7.10 from Windows

This tutorial explains How To Run Ubuntu 7.10 from a portable USB device or from a folder within Windows. As noted before, the advantage to using Qemu hardware emulation as opposed to a native USB boot is that you can to plug your USB stick or portable hard drive into any available Windows PC and run a completely separate Linux operating system without rebooting the Windows Host PC. In addition, by utilizing the casper persistent feature, you can save your personal settings and changes back to the img located in the installation directory and then restore those saved settings on each boot.

(more…)

Tags: , , , , ,

Related posts

User:malforme: Pen Drive Linux

Recover Data from a Damaged hard disk using dd_rhelp

dd_rhelp is a bash script that handles a very usefull program written in C which is called dd_rescue, it roughly act as the dd linux command with the caracteristic to NOT stop when it falls on read/write errors.

This makes dd_rescue the best tool for recovering hard drive having bad sectors.In short, it'll use dd_rescue on your entire disc, but will try to gather the maximum valid data before trying for ages on badsectors. So if you leave dd_rhelp work for infinite time, it'll have the same effect as a simple dd_rescue. But because you might not have this infinite time , dd_rhelp will jump over bad sectors and rescue valid data. In the long run, it'll parse all your device with dd_rescue.

You can Ctrl-C it whenever you want, and rerun-it at will, it'll resume it's job as it depends on the log files dd_rescue creates.In addition, progress will be shown in a ASCII picture of your device beeing rescued.

Why use dd_rhelp and not dd_rescue ?

dd_rhelp uses dd_rescue to compute a recovery path through the device that will focus on valid data recovering. This recovery path will go through all the device, exactly as dd_rescue could do it on its own without any path. This means that dd_rhelp will save you time ONLY IF YOU INTEND TO CANCEL ITS JOB BEFORE THE END of a full recovery.

Because a considerable amount of time is taken to try to rescue badsectors. This amount of time can be mesured in days,month, years, depending on your device capacity and its defectiveness. You might not want to spend this time knowing that 99 percent of this time will be taken to look at badsector and won't lead to any more data recovering.

dd_rhelp shifts this useless waiting time to the end. Using dd_rescue strait throughout your device make your waiting time dependent on the badsector distribution.

Install dd_rhelp

First you need to download latest version from here

Preparing your system

sudo apt-get install make gcc g++ ddrescue

Download dd_rhelp using the follwoing command

wget http://www.kalysto.org/pkg/dd_rhelp-0.0.6.tar.gz

Now you have dd_rhelp-0.0.6.tar.gz file

Extract this file using the following command

tar xzvf dd_rhelp-0.0.6.tar.gz

cd dd_rhelp-0.0.6

Run the following commands

sudo ./configure

sudo make

sudo make install

This will complete the installation and this will install program under /usr/local/bin/dd_rhelp

dd_rhelp Syntax

dd_rhelp {filenamedevice} {output-file} [{info}]
or dd_rhelp --help
or dd_rhelp --version

Now we will see how to use ddrescue under damaged disk

If you have a damaged hard disk /dev/sda1 and you have an empty space hard disk /dev/sda2 Now if you want to copy data from /dev/sda1 to /dev/sda2 use the following command

sudo dd_rhelp /dev/sda1 /dev/sda2/backup.img

Output looks like below

/usr/bin/tail: Warning: "+number" syntax is deprecated, please use "-n +number"
=== launched via 'dd_rhelp' at 0k, 0 >>> ===
dd_rescue: (info): ipos: 104384.0k, opos: 104384.0k, xferd: 104384.0k
errs: 0, errxfer: 0.0k, succxfer: 104384.0k
+curr.rate: 10178kB/s, avg.rate: 8532kB/s, avg.load: 31.3%
dd_rescue: (info): /dev/sda2 (104391.0k): EOF
Summary for /dev/sda2 -> backup.img:
dd_rescue: (info): ipos: 104391.0k, opos: 104391.0k, xferd: 104391.0k
errs: 0, errxfer: 0.0k, succxfer: 104391.0k
+curr.rate: 355kB/s, avg.rate: 8519kB/s, avg.load: 31.3%
/usr/bin/tail: Warning: "+number" syntax is deprecated, please use "-n +number"

This copies an image of /dev/sda1 to sda2

Now you need to check the backup image consistency this will check for is there any problems with this image.

sudo fsck -y /dev/sda2/backup.img

After finishing this checking you need to mount your disk image in to your other hard disk

sudo mount /dev/sda2/backup.img /mnt/recoverydata

This will mount all the data from the backup.img under /mnt/recoverydata now you can try to access the data it should work without any problem.

Restore image

If you want to restore this image use the following command

sudo dd_rhelp /dev/sda2/backup.img /dev/sda1

Copy Disk Image to remote machine using SSH

If you want to copy your disk image to remote machine over ssh you need to use the following command

sudo dd_rhelp /dev/sda1 - ssh username@machineip ‘cat /datarecovery/backup.img’

This will be prompetd for password of the username you have menctioned in the above command after entering the password

dd_rhelp strats copying obviously it will take some time to copy over the network.


Ubuntu: Only Ubuntu

How To Import mails from Evolution to Thunderbird

If you want to Import your mails from Evolution to Thunderbird there is very nice utility called MboxImport .

Thunderbird, like many other email clients, uses the mbox format to archive the emails.It's curious that Thundebird has not a function that let you import or export files in this format and this lack is sometimes a problem when you want to move the accounts from a pc to another one or when you want to migrate (for example) from Mozilla to Thunderbird.Anyway this kind of import can be made very easily copying the mbox file into the directory "Local Folders" (it is inside the profile directory) with Thunderbird close; restarting the program, the mbox file will be visible as sub folder of Local Folders.To export, you must just copy the email files that are inside the account's folder.This method can give some troubles, above all for people not very expert with Thunderbird, because the profile's files are into a hidden directory, whose path changes with the operative systems or also with personal needs.

First you need to download MboxImport from here

Install MboxImport in Thunderbird

In Thunderbird, go in "Tools" --> "Extensions" and click on "Install";

pick the xpi file you downloaded and follow the instructions;

restart Thunderbird.

To export, it's sufficient a right-click on the folder or on the account and to choose the voice you want from the menu "Import/export".


Once you have saved all the folders/files into the Mbox format, just go into Evolution and select "Import" and follow the wizard using "a single file import" and select your xxxx.mbox file and then select which folder in Evolution you want to import into.

For importing the address book from Thunderbird to Evolution, use T-birds address book export function and save the address book as a .csv file.After finishing address book check everything is fine or not.

Ubuntu: Only Ubuntu

How To Import mails from Evolution to Thunderbird

If you want to Import your mails from Evolution to Thunderbird there is very nice utility called MboxImport .

Thunderbird, like many other email clients, uses the mbox format to archive the emails.It's curious that Thundebird has not a function that let you import or export files in this format and this lack is sometimes a problem when you want to move the accounts from a pc to another one or when you want to migrate (for example) from Mozilla to Thunderbird.Anyway this kind of import can be made very easily copying the mbox file into the directory "Local Folders" (it is inside the profile directory) with Thunderbird close; restarting the program, the mbox file will be visibile as subfolder of Local Folders.To export, you must just copy the email files that are inside the account's folder.This method can give some troubles, above all for people not very expert with Thunderbird, because the profile's files are into a hidden directory, whose path changes with the operative systems or also with personal needs.

First you need to download MboxImport from here

Install MboxImport in Thunderbird

In Thunderbird, go in "Tools" --> "Extensions" and click on "Install";

pick the xpi file you downloaded and follow the instructions;

restart Thunderbird.

To export, it's sufficient a right-click on the folder or on the account and to choose the voice you want from the menu "Import/export".

Once you have saved all the folders/files into the Mbox format, just go into Evolution and select "Import" and follow the wizard using "a single file import" and select your xxxx.mbox file and then select which folder in Evolution you want to import into.

For importing the address book from Thunderbird to Evolution, use T-birds address book export function and save the address book as a .csv file.After finishing address book check everything is fine or not.

Ubuntu: Only Ubuntu

Ubuntu Networking for Basic and Advanced Users

The basics for any network based on *nix hosts is the Transport Control Protocol/ Internet Protocol (TCP/IP) combination of three protocols. This combination consists of the Internet Protocol (IP),Transport Control Protocol (TCP), and Universal Datagram Protocol (UDP). By Default most of the users configure their network card during the installation of Ubuntu. You [...]

Debian: Debian Admin Step By Step Tutorials and articles with screenshots

Access Linux filesystems from Windows with Explore2fs

Explore2fs is a GUI explorer tool for accessing ext2 and ext3 filesystems. It runs under all versions of Windows and can read almost any ext2 and ext3 filesystem. If you are using dual boot systems or laptops this tool is very useful tool for you.If you want to access your linux data from windows in one [...]

Debian: Debian Admin Step By Step Tutorials and articles with screenshots

linuxscratch

zedomax posted a photo:

linuxscratch

Here's a cool site on how to build linux from scratch!

www.linuxfromscratch.org/

Ubuntu: ubuntu - Everyone's Tagged Photos