Blogs

CD to ISO with linux terminal

Dragan Eror's picture
terminal

If cd was mouted automatically unmout it with umount command

umount /dev/cdrom

or

umount /media/cdrom

on ubuntu
Create CD-ROM ISO image with dd command

dd if=/dev/cdrom of=/tmp/cdimage.iso

if=/dev/cdrom Read from /dev/cdrom (raw format)
of=/tmp/cdimage.iso write to FILE cdimage.iso i.e. create an ISO image

Remove The User List From Ubuntu 9.10 GDM Login Screen

Dragan Eror's picture
in
Ubuntu karmic koala 910 gdm

Disable User List

sudo -u gdm gconftool-2 --set --type boolean /apps/gdm/simple-greeter/disable_user_list true

Enable User List

sudo -u gdm gconftool-2 --set --type boolean /apps/gdm/simple-greeter/disable_user_list false

Telekom Srbija, router Pirelli Discus DRG A226G admin pass

Dragan Eror's picture
Pirelli Discus DRG A226G

Da bi dobili administratorske privilegije na router-u Pirelli Discus DRG A226G dovoljno je da se ulogujete koristeci username

admin

i password

tzlkisonpk

Detaljnije informacije i tutorijale o prosleđivanju portova na pomenutom modelu router-a možete pogledati na http://www.portforward.com/english/routers/port_forwarding/Pirelli/DRG-A226G/

MySQL backup and restore from command line

Dragan Eror's picture
mysql logo

Backup

Simple backup
mysqldump --opt -u[user] -p[pass] [database] > [filename].sql
  • [user] Your database username
  • [pass] The password for your database (note there is no space between -p and the password)
  • [database] The name of your database
  • [filename].sql The filename for your database backup
  • [--opt] The mysqldump option

Ubuntu Home shortcut

Dragan Eror's picture

Easy way to tweak your desktop...
Place home or computer shortcut on your desktop, or if you wish to place trash icon on desktop....

ubuntu home icon

Press

ALT + F2

then type

gconf-editor

then scroll through

/apps/nautilus/desktop

check the box

home_icon_visible

Godaddy enable index.html

Dragan Eror's picture
ubuntu server image

To enable index.html on GoDaddy server you should write just one line into your '.htaccess' file in root folder on your site.

DirectoryIndex index.php index.html index.htm home.html
Note!
All files need to be writen into single line

P.S. If don't already have .htaccess file, create it (dot at the begining is important part of file name).

Reinstalacija Grub loader-a

Dragan Eror's picture

Ako koristite u na istom računaru Windows i Linux, sigurno Vam se desilo da ste reinstalirali Windows nakon čega niste više imali pristup Linux-u, odnosno nije Vam se pojavio Grub menu iz kojeg ste mogli da birate koji sistem želite da podignete.

To se desilo zato što je prilikom reinstalacije Windows prepisao MBR (Master Boot Record), gde se inače
nalazio grub.
To može na jednostavan način da se reši.

Potrebna Vam je neka Linux LIVE verzija, koju možete da podignete, a da je ne instalirate na hard disk.

Ja sam za ovaj tutorijal koristio Ubuntu 9.04.
http://www.ubuntu.com/getubuntu/download

GNU/Linux

MSI GX600PX - Ubuntu Auto Headphones Sound Switch

Dragan Eror's picture

I had have a problem with headphones sound switch on my MSI GX600PX-12EU notebook. When I plug headphones, sound was active on speakers and headphones both. This was a problem when I listen a music while working in the same room with somebody.

headphone

I found cool and easy solution to fix this problem.

  1. You need to open text editor with root permissions and edit file /etc/modprobe.d/alsa-base.conf
    You can do this with hit

Free The Fish

Dragan Eror's picture
in
warning

Advice for ubuntu users...

Whatever you do, don't hit ALT+F2 and type 'free the fish'!!!

Just don't... Believe me!

fish

Ubuntu linux root privilegije

Dragan Eror's picture

Kako da pokrenete neki program sa root privilegijama u Ubuntu linux-u?
Veoma lako :)

Potrebno je samo da pritisnete tastere

ALT+F2

i kad Vam se pojavi prozor, treba da ukucate

gksu nautilus

Pojaviće se prozor za kucanje root sifre...

Ukucajte root sifru i potvrdite.

Sad bi trebalo da Vam se već upalio nautilus file manager, sa root privilegijama!

* Umesto nautilus možete kucati ime bilo kojeg programa kojeg želite da pokrenete sa root privilegijama.

[ close ]
Help Upgrade the Web: Download Firefox 3.6