Ubuntu_11.10

Gnome interfence

How to move or delete sortcut in top (or bottom) bar of the gnome interface, right next to the locations button.
To remove this icon, alt+right-click on the icon and click remove in the menu.

 

Instalacija LAMP

http://www.unixmen.com/linux-distributions/4-ubuntu/1239-install-lamp-with-1-command-in-ubuntu-1010-maverick-meerkat

 

Pokretanje programa sa drugim pravima

ALT+F2 => gksudo => zatim željeni program

Promjena prava po folderima:

sudo chown -hR www-data Doma

 

Gašenje/Restart računala:

shutdown command

shutdown arranges for the system to be brought down in a safe way. All logged-in users are notified that the system is going down and, within the last five minutes of TIME, new logins are prevented. The shutdown utility provides an automated shutdown procedure for supersers to nicely notify users when the system is shutting down, saving them from system administrators, hackers, and gurus, who would otherwise not bother with such niceties.

How do I use shutdown command?

The shutdown command can be used to turn off or reboot a computer. Type the command as follows to shutdown server / computer immediately:
$ sudo shutdown -h now
OR
$ sudo shutdown -h 0

How do I shutdown compute at specific time?

To shutdown computer at 6:45pm, enter:
$ sudo shutdown -h 18:45 “Server is going down for maintenance”
At 6:30pm message will go out to all user and 6:45 system will shutdown.

Please note that you can also use halt or poweroff or reboot command for stopping and restarting the system:
$ sudo halt
OR
$ sudo poweroff

How do I reboot computer?

Simply use reboot command:
$ sudo reboot
OR
$ sudo shutdown -r 0

 

 

Clasic izgled

http://www.addictivetips.com/ubuntu-linux-tips/get-classic-start-menu-in-ubuntu-11-10-oneiric-ocelot/

 

SAMBA

For installation of Samba, Open terminal window (Alt+F2 and type: gnome-terminal) and copy the following commands in the Terminal:

sudo apt-get install samba samba-common system-config-samba

When installation finished, Now you need to that folder which you want to share or you can make a new folder.
For installation of Samba in Ubuntu 11.10 Oneiric Ocelot Enter the following command in the terminal:

sudo apt-get install samba

Note: Then go to Software Center and Search “glade” & “python-glade” and install both of them

Now start the Samba Server Configuration press(Alt+F2 and type gksu system-config-samba).
To add a folder which you want to share click on the + button followed by click on the browse button.
Now select the folder which want to share on network, and enter description and check your folder writable or visible settings.
Click on the access tab and give access to the user you want, when you finished click on the OK button.
Now your folder is added to your Samba Server Configuration.

Now go to the shared folder, Select the folder then right click on the folder and select Sharing Option.
Here add a comment and change the permissions for others to create/delete/modification in files/folders and for the guest access rules.

Samba is Sharing service between Ubuntu to other networks (Windows, linux and others).

sudo restart smbd
sudo stop smbd
sudo start smbd