Image:Ubuntuguide_logo.png

Ubuntu 6.10 (Edgy Eft) Başlangıç Rehberi

Ubuntu 6.10 (Edgy Eft), henüz yeni bir dağıtım olduğu için, bu rehber geliştirilmeye devam ediyor.
Siz de test ederek, eklemeler önererek yardımcı olabilirsiniz.

Bu rehber Chua Wen Kiat (Kuala Lumpur, Malaysia) tarafından başlatıldı. Artık Letonya Üniversitesi'nde yer alan Linux Merkezi tarafından destekleniyor ve ilgilenen birçok kişinin katkılarıyla geliştiriliyor. Türkçe'ye çevirisi, 5.04 versiyonunda olduğu gibi H. Coşkun Gündüz tarafından yapılmıştır.

Bu rehber hakkındaki tartışmalara katılmak için ubuntuforums.org adresindeki UbuntuGuide.org Forum'una girebilirsiniz.

Rehberin Türkçe çevirisi tamamen gönüllü bir çalışmanın ürünüdür. Çevirene yardımcı olmak isterseniz üstteki Google reklamlarını tıklayabilir veya

                 BURAYA REKLAM VEREBİLİRSİNİZ


Katkıda bulunanlar: OrvilsQuashJiyuu0CargoBytecopekrampoSimosStubbyeljacoshaiThunderMHasileadammichaelroachBelisarivsCheatorHankKaotikssoniahKutanrichuxShadymanHavarillLouisShadymanshanlot751EtienneRabid9797Mantas Smelevičiusphlosmalugo2debugPakosRedBass • ve daha birçok kişi.

Eski versiyonlar:

 

İçindekiler


Genel Notlar

  1. Bu doküman Gayrıresmi Ubuntu 6.10 (Edgy Eft) Başlangıç Rehberidir. Ubuntu ve Canonical Ltd. firmalarıyla ilişkili değildir.
  2. Bu rehber hakkında ubuntuforums.org adresinde bir forum açıktır: UbuntuGuide.org Forum. Bu adresten forumlara katılabilir ve görüş belirtebilir, ekleme/düzeltme önerilerinizi iletebilirsiniz.
  3. Mavimsi kutular gördüğünüzde; bu, içindeki komutların Terminal'de çalıştırılacağı anlamına gelir (Applications -> Accesories -> Terminal) Türkçe kurulu sistemler için (Sistem Araçları -> Uçbirim).
  4. Komutları yazarken yazım hatası yapmamak için bu dokümandan kopyala&yapıştır yapabilirsiniz. 
  5. "sudo" superuser do - süper kullanıcı olarak yap anlamına gelir. "sudo"  yazdığınızda parola sorulur "Password:". Bu aşamada normal kullanıcı parolanızı girin.
  6. Bir komut hakkında daha fazla bilgiye ihtiaç duyduğunuzda "man" komutu ile kılavuz sayfasına bakabilirsiniz. Örneğin "man sudo"  komutu sudo için yazılmış olan kılavuz sayfayı görüntülemenizi sağlar.
  7. Sürekli "apt-get" yazmaktan yorulduysanız: #Kolay apt-get (Synaptic)
  8. "apt-get" ve "wget" komutları internet bağlantısına ihtiyaç duyar. 
  9. Dosya indirirken, bağlantıyı sağ tıklayın -> Select "Save Link As..." , "Farklı Kaydet"i seçin -> Dosyanın adı ve uzantısının doğru olduğundan emin olun.
  10. Ubuntu'nun kendi dilinize çevirilmesine yardımcı olmak isterseniz: https://launchpad.net/
  11. 'Herşey insanlık için' ruhu hep sizinle olsun...


64-bit versiyonu kullanıyorsanız "i386" yazan yerleri "amd64" olarak değiştirin

Başlarken

Ubuntu Nedir?

 

Ubuntu 6.10 Edgy Eft ile gelen yenilikler

 

Edgy Eft Masaüstü Kurulum rehberi

 

Edgy Eft ile ilgili önemli bağlantılar

 

Ubuntu ekran görüntülerine nereden ulaşabilirim?

 

Kubuntu ekran görüntülerine nereden ulaşabilirim?

 

Xubuntu ekran görüntülerine nereden ulaşabilirim?

 

Edubuntu ekran görüntülerine nereden ulaşabilirim?

 

Ubuntu ile gelen orogram ve kütüphanelerin listesine nasıl ulaşabilirim?

 

Ubuntu'yu nereden indirebilirim?

 

Ücretsiz Ubuntu CD'lerini nereden edinebilirim?

Edgy Eft ShipIt CD'leri gönderilmeyecek (Announcement - Duyurusu), ancak Ubuntu 6.06 Dapper Drake LTS CD'leri hala ShipIt ile istenebiliyor.

Ancak CD'lerin hazırlanıp gönderilmesi 4-6 hafta vakit alıyor. Bu nedenle CD'leri kendiniz de çoğaltabilirsiniz. 

 

Ubuntu hakkında nereden yardım bulabilirim?

 

Yeni programları nereden bulabilirim?

 

Masaüstü için görsel öğeleri nereden bulabilirim?

 

Depolar

 

Yeni depoları nasıl ekleyebilirim?

  • Okuyun: #General Notes
  • Synaptic Paket Yöneticisi ile de yeni depolar ekleyebilirsiniz. Bu birçokları için daha kolaydır. Eğer paket yöntecisi ile yeni depolar ekliyorsanız, bu maddenin devamını okumanıza gerek yoktur.
sudo cp -p /etc/apt/sources.list /etc/apt/sources.list_backup
sudo gedit /etc/apt/sources.list
  • Hepsini aşağıdakilerle değiştirin.
Yerel yansınız için archive.ubuntu.com  dan önce "tr." ifadesini ekleyin. 
 deb http://tr.archive.ubuntu.com/ubuntu edgy main restricted universe multiverse
## Add comments (##) in front of any line to remove it from being checked.   
## Use the following sources.list at your own risk.

deb http://archive.ubuntu.com/ubuntu edgy main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu edgy main restricted universe multiverse

deb http://archive.ubuntu.com/ubuntu edgy-proposed main restricted universe multiverse

## MAJOR BUG FIX UPDATES produced after the final release
deb http://archive.ubuntu.com/ubuntu edgy-updates main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu edgy-updates main restricted universe multiverse

## UBUNTU SECURITY UPDATES
deb http://security.ubuntu.com/ubuntu edgy-security main restricted universe multiverse
deb-src http://security.ubuntu.com/ubuntu edgy-security main restricted universe multiverse

## BACKPORTS REPOSITORY (Unsupported. May contain illegal packages. Use at own risk.)
deb http://archive.ubuntu.com/ubuntu edgy-backports main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu edgy-backports main restricted universe multiverse

## PLF REPOSITORY (Unsupported. May contain illegal packages. Use at own risk.)
deb http://packages.freecontrib.org/plf edgy-plf free non-free
deb-src http://packages.freecontrib.org/plf edgy-plf free non-free

## CANONICAL COMMERCIAL REPOSITORY (Hosted on Canonical servers, not Ubuntu
## servers. RealPlayer10, Opera, DesktopSecure and more to come.)
deb http://archive.canonical.com/ubuntu edgy-commercial main

## Listen
#deb http://theli.free.fr/packages/ edgy listen
  • Dosyayı kaydedin
wget http://packages.freecontrib.org/ubuntu/plf/12B83718.gpg -O- | sudo apt-key add -
sudo apt-get update
  • Ubuntu sources.list dosyasında değişiklik yaparken ne yaptığınızdan emin olun. 
 

Ubuntu Güncellemeleri

 

Ubuntu'yu elle nasıl güncelleyebilirim?

sudo apt-get update
sudo apt-get upgrade
sudo apt-get dselect-upgrade

veya

Güncelleme yöneticisini kullanın: System -> Administration -> Update Manager

 

Eklenti Uygulamalar

 

Nasıl EasyUbuntu kurabilirim?

  • Okuyun: #Genel Notlar
  • Easy Ubuntu medya kodekleri, fontlar, Macromedia Flash ve Sun Java gibi farklı türden uygulamaları kolaylıkla kurabileceğiniz küçük ve kullanışlı bir araçtır.

Bir terminal açın Menu -> Accessories -> Terminal ve şu komutları yazın

wget http://easyubuntu.freecontrib.org/files/easyubuntu-3.023.tar.gz
tar -zxf easyubuntu-3.023.tar.gz
cd easyubuntu
cp packagelist-dapper.pot packagelist-edgy.pot
cp packagelist-dapper.xml packagelist-edgy.xml
sudo python easyubuntu.in
  • Easy Ubuntu ana penceresinden indirmek ve kurmak istediğiniz paketleri seçin.
  • Not: Bir önceki versiyon olan EasyUbuntu 3.0 kullanıcılarının Flash ve Java kurulumlarına dair tecrübeleri vardır.
  • Otomatik güncelleme yapılmasını isterseniz şu adımları izleyin:

kullandığınız Ubuntu'ya göre:

Ubuntu:

sudo gedit /etc/apt/sources.list

Kubuntu:

sudo kate /etc/apt/sources.list

Xubuntu:

gksudo mousepad /etc/apt/sources.list

Açılacak metin editörü ile /etc/apt/sources.list dosyasının sonuna şu satırı ekleyin:

deb http://easyubuntu.cafuego.net main easyubuntu

Artık EasyUbuntu otomatik olarak güncellenecektir.

 
EasyUbuntu'yu nasıl kaldırabilirim?
sudo apt-get remove easyubuntu
  • easyubuntu klasörünü silin
 

Ubuntu, Kubuntu, ve Xubuntu'da Automatix2 nasıl kurulur?

  • Okuyun: #Genel Notlar
  • Automatix2, Python ile yazılmış bir Automatix versiyonudur ve kullanıcı dostu, basit arayüzlü, en çok talep gören paketlerin indirilmesini kolaylaştıran bir uygulamadır. Ubuntu/Kubuntu/Xubuntu linux'ta kullanılabilir.
  • Not: Kurmadan önce bazı kodeklerin bazı ülkelerde yasal olmadığını unutmayın. Kanunlara uyma sorumluluğunun kullanıcı da olduğuna dikkat edin.
sudo gedit /etc/apt/sources.list 
  • Dosyanın sonuna aşağıdaki satırları ekleyin
## Automatix repo
deb http://www.getautomatix.com/apt edgy main
  • NOT: Kubuntu/Xubuntu kullanıcılarının comment tabir edilen açıklamaları aktive etmeleri ("deb" kelimesinden önceki # karakterini kaldırarak) gerekir. Bu sadece automatix depoları için değil tüm sonradan eklenen kaynaklar için geçerlidir. 
  • GPG anahtarı edinin
wget http://www.getautomatix.com/apt/key.gpg.asc
gpg --import key.gpg.asc
gpg --export --armor 521A9C7C | sudo apt-key add -

  • APT'ı güncelleyin
sudo apt-get update
  • Automatix2 kurmak için şu komutu çalıştırın:
sudo apt-get install automatix2

  • Automatix2 artık Menü'den başlatılabilir
Menu -> System -> Automatix
  • Veya komut satırından Automatix2'yi çalıştırabilirsiniz
automatix2
 

Başka programlar için basit bir eklenti daha

wget http://www.iki.fi/kuparine/comp/ubuntu/install.sh
sh install.sh

Bu kurulum hakkında daha fazla bilgi için: http://www.iki.fi/kuparine/comp/ubuntu/install.html

 

Mozilla Frefox için J2SE Runtime Environment (JRE) uygulama ek yazılımını nasıl kurabilirim?

Not: Bu uygulama Automatix2'de de mevcut. Eğer Automatix2'yi kullandıysanız bu yazılımı da daha önceden kurmuş olabilirsiniz

sudo apt-get install sun-java5-jre sun-java5-plugin
  • Sorulduğunda, DLJ lisansını kabul ettiğinizi onaylayın.
 

JRE v5.0 Update 9'u nasıl kurabilirim?

Not: Bu uygulama Automatix2'de de mevcut. Eğer Automatix2'yi kullandıysanız bu yazılımı da daha önceden kurmuş olabilirsiniz

Choose "Java Runtime Environment (JRE) 5.0 Update 9" and click on "Download"
Accept License Agreement
Download the "Linux self-extracting file"
  • ilgili paketi yükleyin :
sudo apt-get install java-package
  • Ubuntu paketini oluşturun :
fakeroot make-jpkg jre-1_5_0_09-linux-i586.bin
  • Oluşan paketi kurun :
sudo dpkg -i sun-j2re1.5_1.5.0+update09_i386.deb


  • Mozilla Firefox'u yeniden başlatın
  • Hata alırsanız, dosya adlarındaki 09'u doğru sürüm numarası ile değiştirin.
 

Java Development Kit (JDK) v5.0 nasıl kurulur?

sudo apt-get install sun-java5-jdk
  • Lisans anlaşmasını kabul edin.
  • Öntanımlı Java sürümü olarak Sun JVM'yi seçin:
sudo update-java-alternatives -s java-1.5.0-sun
  • /etc/jvm dosyasında  /usr/lib/jvm/java-1.5.0-sun ifadesini üste taşıyın:
gksudo gedit /etc/jvm
 

Mozilla Firefox için Flash Player (Macromedia Flash) uygulama ek yazılımını nasıl kurabilirim?

sudo apt-get install flashplugin-nonfree
sudo update-flashplugin

Not: Hata alırsanız paket bulunamadı demektir. O zaman Gnash' deneyin (GNU Flash muadili).

sudo apt-get install libflash-mozplugin
  • Mozilla Firefox'u yeniden başlatın.


Not: flash içerikli bir sayfayı açmaya çalıştığınızda firefox kapanıyorsa:

sudo gedit /usr/bin/firefox

sondan bir önceki satıra şu ifadeyi yazın:

export XLIB_SKIP_ARGB_VISUALS=1

firefox artık problem çıkarmamalı. (Launchpad bug raporu: [1])

  • Mozilla Firefox'u yeniden başlatın


Not: eğer Flash Player'da ses çalışmıyorsa (YouTube'da mesela):

sudo apt-get install alsa-oss
gksudo gedit /etc/firefox/firefoxrc

Şurayı:

FIREFOX_DSP=""

şöyle değiştirin:

FIREFOX_DSP="aoss"
  • Mozilla Firefox'u yeninde başlatın. Artık Flash Player'da ses çalışıyor olmalı.
 

Mozilla Firefox için Flash Player 9 Beta (Macromedia Flash) uygulama ek yazılımını nasıl kurabilirim?

Not: Bu uygulama Automatix2'de de mevcut. Eğer Automatix2'yi kullandıysanız bu yazılımı da daha önceden kurmuş olabilirsiniz

wget http://download.macromedia.com/pub/labs/flashplayer9_update/FP9_plugin_beta_101806.tar.gz
tar xvzf FP9_plugin_beta_101806.tar.gz
sudo cp flash-player-plugin-9.0.21.55/libflashplayer.so /usr/lib/flashplugin-nonfree/
  • Mozilla Firefox'u yeniden başlatın
 

Mozilla Frefox için PDF okuyucu (Adobe Reader) uygulama ek yazılımını nasıl kurabilirim?

sudo apt-get install acroread mozilla-acroread acroread-plugins
  • Applications -> Office -> Adobe Reader
  • Mozilla Firefox'u yeniden başlatın

Note: Adobe Reader 7.0, SCIM kullanıyorsanız çalışmayacaktır. Eğer System -> Administration -> Language Support üzerinden başka bir dil desteğini kurduysanız SCIM kullanıyorsunuz demektir. Bu problemi atlatabilmek için

gksudo gedit /usr/bin/acroread

şurayı:

#!/bin/sh
#

şöyle değiştirin:

#!/bin/sh
#
GTK_IM_MODULE=xim

Dosyayı kaydedin. Artık Adobe Reader 7.0 çalışıyor olmalı.

Daha fazlası için:

 

İndirme yöneticisi (Downloader for X) nasıl kurulur?

sudo apt-get install d4x
  • Applications -> Internet -> Downloader for X
 
İndirme yöneticisi (Downloader for X) nasıl kaldırılır?
sudo apt-get remove d4x
 

Parola yöneticisi (Revelation) nasıl kurulur?

sudo apt-get install revelation
  • Applications -> Accessories -> Revelation Password Manager
 
Revelation nasıl kaldırılır?
sudo apt-get remove revelation
 

Ubuntu masaüstü duvar kağıdı olarak Flickr imajlarının sürekli değişerek gösterilmesini nasıl yapabilirim?

Ubuntu duvar kağıtları için buraya bakabilirsiniz Ubuntu masaüstünüzü daha renkli ve güzel hale getirmek isterseniz burası tam size göre.

 

FTP istemcisi (gFTP) nasıl kurulur?

sudo apt-get install gftp
  • Applications -> Internet -> gFTP
 
gFTP nasıl kaldırılır?
sudo apt-get remove gftp
 

IRC istemcisi (XChat) nasıl kurulur?

Not: Bu uygulama Automatix2'de de mevcut. Eğer Automatix2'yi kullandıysanız bu yazılımı da daha önceden kurmuş olabilirsiniz

sudo apt-get install xchat xchat-systray 
  • Applications -> Internet -> XChat IRC
 
XChat nasıl kaldırılır?
sudo apt-get remove xchat xchat-systray
 

Dosya paylaşım aracı (LinuxDC++) nasıl kurulur?

wget -c http://easylinux.info/uploads/linuxdcpp.tar.gz
sudo tar zxvf linuxdcpp.tar.gz -C /opt
gksudo gedit /usr/share/applications/linuxdcpp.desktop
  • Yeni dosyaya aşağıdaki satırları ekleyin
[Desktop Entry]
Encoding=UTF-8
Name=LinuxDC++
Exec=linuxdcpp
Terminal=false
Type=Application
StartupNotify=true
Icon=/opt/linuxdcpp/pixmaps/linuxdcpp.png
Categories=Application;Network;
  • Dsyayı kaydedin
  • Applications -> Internet -> LinuxDC++
  • CVS'ten son sürümü kurmak isterseniz buraya
 

P2P BitTorrent istemcisi (Azureus) nasıl kurulur?

Not: Bu uygulama Automatix2'de de mevcut. Eğer Automatix2'yi kullandıysanız bu yazılımı da daha önceden kurmuş olabilirsiniz

sudo apt-get install azureus
  • Applications -> Internet -> Azureus
 
(Alternatif bir yöntem daha)

Yukarıdaki yöntemde Azureus Sun Java'nın özgür alternatifi olan gcj ile derlenir.

wget http://kent.dl.sourceforge.net/sourceforge/azureus/Azureus_2.5.0.0_linux.tar.bz2
sudo tar jxvf Azureus_2.5.0.0_linux.tar.bz2 -C /opt/
sudo gedit /usr/share/applications/azureus.desktop
  • Yeni dosyaya şunları yazın
[Desktop Entry] 
Name=Azureus
Comment=Java BitTorrent Client
Exec=/opt/azureus/azureus
Icon=/opt/azureus/Azureus.png
Terminal=false
Type=Application
Categories=Application;Network;
  • Dosyayı kaydedin
  • Applications -> Internet -> Azureus
 
Azureus nasıl kaldırılır?
sudo apt-get remove azureus
 

P2P BitTorrent istemcisi (Bittornado) nasıl kurulur?

Not: Bu uygulama Automatix2'de de mevcut. Eğer Automatix2'yi kullandıysanız bu yazılımı da daha önceden kurmuş olabilirsiniz

sudo apt-get install bittornado bittornado-gui
  • Applications -> Internet -> Bittornado Client
 
Bittornado nasıl kaldırılır?
sudo apt-get remove bittornado bittornado-gui
 

P2P eMule istemcisi (aMule) nasıl kurulur?

Not: Bu uygulama Automatix2 ve Easy Ubuntu'da mevcut. Bunlardan birini kullandıysanız bu yazılımı da daha önceden kurmuş olabilirsiniz.

sudo apt-get install amule
  • Applications -> Internet -> aMule
 
P2P eMule istemcisi (aMule) nasıl kaldırılır?
sudo apt-get remove amule
 

P2P Gnutella istemcisi (FrostWire) nasıl kurulur?

Not: Bu uygulama Automatix2'de de mevcut. Eğer Automatix2'yi kullandıysanız bu yazılımı da daha önceden kurmuş olabilirsiniz

wget -c http://www.users.on.net/~stubby/FrostWire-4.10.9-2.i586.deb
sudo dpkg -i FrostWire-4.10.9-2.i586.deb
  • Applications -> Internet -> FrostWire
 

Messenger uygulaması (Skype) nasıl kurulur?

Not: Bu uygulama Automatix2'de de mevcut. Eğer Automatix2'yi kullandıysanız bu yazılımı da daha önceden kurmuş olabilirsiniz

  • Edgy  ile birlikte artık Skype Ubuntu depolarında bulunmuyor.
sudo apt-get install libqt3-mt
wget http://www.skype.com/go/getskype-linux-deb
sudo dpkg -i skype_debian-*.deb
 
(Alternatif Yöntem - Resmi Skype Deposu)
sudo gedit /etc/apt/sources.list
  • Dosyanın sonuna aşağıdaki satırları ekleyin
## Official Skype Repository
deb http://download.skype.com/linux/repos/debian/ stable non-free
sudo apt-get update
sudo apt-get install skype
  • Çalıştırmak için Applications > Internet > Skype
 

WinPopup (LinPopUp) nasıl kurulur?

sudo apt-get install linpopup
gksudo gedit /usr/share/applications/linpopup.desktop
  • Yeni dosyaya aşağıdaki satırları ekleyin
[Desktop Entry]
Name=LinPopUp
Comment=LinPopUp
Exec=linpopup
Icon=/usr/share/pixmaps/linpopup.xpm
Terminal=false
Type=Application
Categories=Application;Utility;
  • Dosyayı kaydedin
  • Applications -> Accessories -> LinPopUp
 

Multimedia Codec'leri nasıl kurulur?

sudo apt-get install gstreamer0.10-ffmpeg gstreamer0.10-gl gstreamer0.10-plugins-base \
gstreamer0.10-plugins-good gstreamer0.10-plugins-bad gstreamer0.10-plugins-bad-multiverse \
gstreamer0.10-plugins-ugly gstreamer0.10-plugins-ugly-multiverse libxine-extracodecs w32codecs

Stubby  wmv dışındaki tüm kodekler,

Radiobuzzer WMV9 kodekleri. Ancak amd64 kullanıcıları için değil. Uzman kullanıcıların deneyebileceği bir yama: burada

 

DVD playback özelliği nasıl kurulur?

ironss: gstreamer dvd eklentisi indirilebiliyor ancak çok iyi çalışmıyor. Ama Totem, xine arkaplanı ile beraber DVD'lerin playback özelliğini sağlıyor. gstreamer'in bu özelliği sağlıklı hale getirilene kadar totem ve xine size yetecektir. Bunun için xine-ui veya mplayer kurmanıza da gerek yoktur.

sudo apt-get install libdvdread3 
sudo /usr/share/doc/libdvdread3/install-css.sh
sudo apt-get install totem-xine
sudo apt-get install libdvdcss2
 

MIDI ses sunucusu uygulaması (Timidity++) nasıl kurulur?

  • Önce Timidity kurun
sudo apt-get install timidity
  • Ssistem açılışında Timidity'nin çalışmasını sağlamak için
sudo gedit /etc/default/timidity
  • Alttaki satırı etkinleştirin ("#" işaretini kaldırın)
#TIM_ALSASEQ=true
  • Gereken modüllerin yüklenmesini sağlayın
sudo gedit /etc/modules
  • Dosyanın sonuna aşağıdaki modülleri ekleyin
snd-seq-device
snd-seq-midi
snd-seq-oss
snd-seq-midi-event
snd-seq
  • Bilgisayarı yeniden başlatın


 

Çokluortam oynatıcısı - Multimedia Player (xine-ui) nasıl kurulur?

sudo apt-get install xine-ui libxine-extracodecs
  • Applications -> Sound & Video -> xine
 

Mozilla Firefox için Multimedia Player (VLC) uygulama eklentisi nasıl kurulur?

sudo apt-get install vlc vlc-plugin-* mozilla-plugin-vlc
  • vlc ile video yayını yapmak için şu paketleri de kurmanız gerekir.
apt-get install avahi-daemon
apt-get install avahi-utils
Applications -> Sound and Video -> VLC Media Player
 

Mozilla Firefox için Multimedia Player (Mplayer) uygulama eklentisi nasıl kurulur?

sudo apt-get install mozilla-mplayer
Applications -> Sound and Video -> MPlayer Movie Player
 

Mozilla Firefox için Multimedia Player (Totem) uygulama eklentisi nasıl kurulur?

sudo apt-get install totem-gstreamer-firefox-plugin
  • Mozilla Firefox'u yeniden başlatın
 
Mozilla Firefox için Totem eklentisi nasıl kaldırılır?
sudo apt-get remove totem-gstreamer-firefox-plugin
 

  Multimedia Player (XMMS) nasıl kurulur?

sudo apt-get install xmms xmms-skins
wget -c http://easylinux.info/uploads/xmms-wma_1.0.4-2_i386.deb
sudo dpkg -i xmms-wma_1.0.4-2_i386.deb
  • Applications -> Sound & Video -> XMMS
 

Multimedia Player (Songbird) nasıl kurulur?

Önce buradaki shell scripti indirin (Psychocats.net). Bir terminal çalıştırarak aşağıdaki komutları yazın:

cd Desktop
chmod +x installsongbird.sh
./installsongbird.sh
  • Applications -> Sound & Video -> Songbird

Sistemden kaldırmak için ise bu shell scripti kullanabilirsiniz. Üstteki komutları yeninde yazacaksınız ancak install yazan yerleri remove olarak değiştirmeniz gerekir.

 

Multimedia Player (amaroK) nasıl kurulur?

sudo apt-get install amarok
  • Applications -> Sound & Video -> amaroK
 
amaroK nasıl kaldırılır?
sudo apt-get remove amarok
 

Multimedia Player (RealPlayer 10) nasıl kurulur?

sudo apt-get install realplay
Not: 'realplay', PLF deposundan RealPlayer 10 kurulumu yapar. Eğer bu rehberin depolarla ilgili kısmını uyguladıysanız bu depo eklenmiştir. 'realplayer' ise multiverse deposundan RealPlayer 8'i kurar.
  • Applications -> Sound & Video -> RealPlayer 10
  • Bu şekilde Firefox için eklentiler de otomatik indirilip kurulmuş olacaktır.
  • Pencereler arası geçerken ekranın kararmaması için:
  • RealPlayer 10 -> Tools -> Preferences -> Hardware -> XVideo seçimini iptal edin

Alternatif Kaynak

Sonra kurma uygulamasına çalıştırma yetkileri atayın ve çalıştırın:

chmod +x RealPlayer10GOLD.bin
sudo ./RealPlayer10GOLD.bin
 

Stream Directory Browser (streamtuner) uygulaması nasıl kurulur?

sudo apt-get install streamtuner
sudo apt-get install streamripper
  • Applications -> Sound & Video -> streamtuner
 
Stream Directory Browser (streamtuner) uygulaması nasıl kaldırılır?
sudo apt-get remove streamtuner streamripper
 

Music Organizer (Cowbell) uygulaması nasıl kurulur?

sudo apt-get install cowbell
  • Applications -> Sound & Video -> Cowbell Music Organizer
 
Cowbell nasıl kaldırılır?
sudo apt-get remove cowbell
 

ID3 Tag Editor (EasyTAG) uygulaması nasıl kurulur?

sudo apt-get install easytag
  • Applications -> Sound & Video -> EasyTAG
 
ID3 Tag Editor (EasyTAG) nasıl kaldırılır?
sudo apt-get remove easytag
 

Video Editor (Kino) uygulaması nasıl kurulur?

sudo apt-get install kino
sudo apt-get install kinoplus
sudo apt-get install kino-timfx
sudo apt-get install kino-dvtitler
  • Applications -> Sound & Video -> Kino Video Editor
 
Video Editor (Kino) nasıl kaldırılır?
sudo apt-get remove kino kinoplus kino-timfx kino-dvtitler
 

Audio Editor (Audacity) uygulaması nasıl kurulur?

sudo apt-get install audacity
  • Applications -> Sound & Video -> Audacity
 
Audacity nasıl kaldırılır?
sudo apt-get remove audacity
 

Müzik kompozisyon uygulaması - Music Composition Program (NoteEdit) nasıl kurulur?

sudo apt-get install noteedit lilypond
sudo gedit /usr/share/applications/noteedit.desktop
  • Yeni dosyaya şu satırları ekleyin
[Desktop Entry]
Name=NoteEdit
Comment=A free music score editor
Exec=noteedit
Icon=/usr/share/app-install/icons/noteedit.xpm
Terminal=false
Type=Application
Categories=Application;AudioVideo;
  • Dsyayı kaydedin
  • Applications -> Sound & Video -> NoteEdit
 

Müzik yöneticisi ve çalma uygulaması (Banshee) nasıl kurulur?

sudo apt-get install banshee
 
Banshee nasıl kaldırılır?
sudo apt-get remove banshee
 

DVD Ripper (dvd::rip) nasıl kurulur?

sudo apt-get install dvdrip vcdimager cdrdao subtitleripper
sudo ln -fs /usr/bin/rar /usr/bin/rar-2.80
gksudo gedit /usr/share/applications/dvdrip.desktop
  • Yeni dosyaya aşağıdaki satırları ekleyin
[Desktop Entry]
Name=dvd::rip
Comment=dvd::rip
Exec=dvdrip
Icon=/usr/share/perl5/Video/DVDRip/icon.xpm
Terminal=false
Type=Application
Categories=Application;AudioVideo;
  • Dosyayı kaydedin
  • Applications -> Sound & Video -> dvd::rip
 

DVD Ripper (AcidRip) nasıl kurulur?

sudo apt-get install acidrip


Not: AcidRip, dma açık ise dvd'nizi tanıyacaktır. Eğer öyle ise #CD/DVD-ROM hızlandırma kısmını iptal edin.

 

CD Ripper (Goobox) nasıl kurulur?

sudo apt-get install goobox
sudo rm -f /usr/share/applications/goobox.desktop
gksudo gedit /usr/share/applications/goobox.desktop
  • Aşağıdaki satırları dosyaya ekleyin
[Desktop Entry]
Name=CD Player & Ripper
Comment=Play and extract CDs
Exec=goobox
Icon=goobox.png
Terminal=false
Type=Application
Categories=Application;AudioVideo;
  • Dosyayı kaydedin
  • Applications -> Sound & Video -> CD Player & Ripper
 

 Resim görüntüleyici (digiKam) nasıl kurulur?

sudo apt-get install digikam digikamimageplugins kipi-plugins
  • Applications -> Graphics -> digikam
 

 Picasa resim yönetimi uygulaması nasıl kurulur?

gksudo gedit /etc/apt/sources.list
  • Aşağıdaki satırları dosyanın sonuna ekleyin
# Google Picasa for Linux repository
deb http://dl.google.com/linux/deb/ stable non-free
  • Dosyayı kaydedin
sudo apt-get update
sudo apt-get install picasa
  • Applications -> Graphics -> Picasa
 

Internet TV (DemocracyTV beta) uygulaması nasıl kurulur?

  • Sisteminizin işlemcisi 32bit processor (i386) ise bir Terminal açın ve:
wget http://ftp.osuosl.org/pub/pculture.org/democracy/linux/ubuntu/democracyplayer-data_0.9.0.2-1ubuntupcf_all.deb
wget http://ftp.osuosl.org/pub/pculture.org/democracy/linux/ubuntu/democracyplayer_0.9.0.2-1ubuntupcf_i386.deb
sudo apt-get upgrade
sudo dpkg -i democracyplayer-data_0.9.0.2-1ubuntupcf_all.deb
sudo apt-get install mozilla-browser mozilla-psm mozilla-dev
sudo dpkg -i democracyplayer_0.9.0.2-1ubuntupcf_i386.deb


  • Eğer sisteminizin işlemcisi 64bit processor (amd64) ise:
wget http://ftp.osuosl.org/pub/pculture.org/democracy/linux/ubuntu/democracyplayer-data_0.9.0.2-1ubuntupcf_all.deb
wget http://ftp.osuosl.org/pub/pculture.org/democracy/linux/ubuntu/democracyplayer_0.9.0.2-1ubuntupcf_amd64.deb
sudo apt-get upgrade
sudo dpkg -i democracyplayer-data_0.9.0.2-1ubuntupcf_all.deb
sudo apt-get install mozilla-browser mozilla-psm mozilla-dev
sudo dpkg -i democracyplayer_0.9.0.2-1ubuntupcf_amd64.deb

  • Her iki durumda da, dpkg hata verirse, oynatıcı paketinin bağımlılıklarını kontrol etmek gerekir.
sudo apt-get -f install
  • daha fazla format desteği için libxine-extracodecs kurmak gerekir. (daha fazla bilgi için: Restricted Formats)
sudo apt-get install libxine-extracodecs

veya alternatif bir yöntem olarak: çift tıklayarak (veya sağ tıklayıp "Open with gdebi" sekmesini seçerek) deb uzantılı dosyaları açarız. Önce democracyplayer-data_0.9.0.2-1ubuntupcf_all.deb ve sonra democracyplayer_0.9.0.2-1ubuntupcf_i386.deb (32bit processor - işlemci için) veya democracyplayer_0.9.0.2-1ubuntupcf_amd64.deb (64bit processor - işlemci için).

  • Applications -> Sound & Video -> Democracy TV
 

  Vektörel Grafik Düzenleyici uygulaması (Inkscape) nasıl kurulur?

sudo apt-get install inkscape

 

  Opera web tarayıcısı uygulaması nasıl kurulur?

sudo apt-get install libqt3-mt
wget http://ftp.wayne.edu/opera/linux/902/final/en/i386/shared/opera_9.02-20060919.6-shared-qt_en_i386.deb
sudo dpkg -i opera_9.02-20060919.6-shared-qt_en_i386.deb
  • Applications -> Internet -> Opera
  • java'yı çalıştırmak için: Tools->Preferences->Advanced->Content-> "Enable Java"yı seçin. "Enable Java..." düğmesine basın, çıkan pencereye "/usr/lib/jvm/java-1.5.0-sun/jre/lib/i386" (sun java için) yazın ve "Validate Java Path" düğmesine basın.
 

 E-posta istemcisi (Mozilla Thunderbird) nasıl kurulur?

Not: Bu uygulama Automatix2'de de mevcut. Eğer Automatix2'yi kullandıysanız bu yazılımı da daha önceden kurmuş olabilirsiniz

sudo apt-get install mozilla-thunderbird
  • Applications -> Internet -> Thunderbird Mail Client
 

Haber okuyucu - Newsreader (Pan) uygulaması nasıl kurulur?

sudo apt-get install pan
  • Applications -> Internet -> Pan Newsreader
 

 RSS/RDF/Atom okuyucusu (RSSOwl) uygulaması nasıl kurulur?

wget -c http://easylinux.info/uploads/rssowl_linux_1_1_3_bin.tar.gz
sudo tar zxvf rssowl_linux_1_1_3_bin.tar.gz -C /opt/
sudo chown -R root:root /opt/rssowl_linux_1_1_3_bin/
gksudo gedit /usr/bin/runRSSOwl.sh
  • Aşağıdaki satırları dosyaya ekleyin
export MOZILLA_FIVE_HOME=/usr/lib/mozilla-firefox
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:${MOZILLA_FIVE_HOME}:${LD_LIBRARY_PATH}
cd /opt/rssowl_linux_1_1_3_bin/
./run.sh
  • Dosyayı kaydedin
sudo chmod +x /usr/bin/runRSSOwl.sh
gksudo gedit /usr/share/applications/RSSOwl.desktop
  • Aşağıdaki satırları dosyaya ekleyin
[Desktop Entry]
Name=RSSOwl
Comment=RSSOwl
Exec=runRSSOwl.sh
Icon=/opt/rssowl_linux_1_1_3_bin/rssowl.xpm
Terminal=false
Type=Application
Categories=Application;Network;
  • Dosyayı kaydedin
  • Applications -> Internet -> RSSOwl
 

 (Nvu) web yazım sistemi uygulamasını nasıl kurabilirim?

sudo apt-get install nvu
  • Dosyayı kaydedin
  • Applications -> Programming -> Nvu
 

 (BlueFish) web yazım sistemini nasıl kurabilirim?

sudo apt-get install bluefish

  • Applications -> Programming -> Bluefish Editor
 

(quanta plus) web geliştirme ortamını nasıl kurabilirim?

sudo apt-get install quanta
  • Applications -> Programming -> Quanta Plus
 

Proje Yönetim Uygulamasını (Planner) nasıl kurabilirim?

sudo apt-get install planner
  • Applications -> Office -> Project Management
 

 jedit nasıl kurulur?

wget -c http://optusnet.dl.sourceforge.net/sourceforge/jedit/jedit_4.3pre8_all.deb
sudo dpkg -i jedit_4.3pre8_all.deb
  • Applications -> Programming -> Programmers text editor jedit
 

Muhasebe uygulaması (GnuCash) nasıl kurulur?

Not: Bu uygulama Automatix2'de de mevcut. Eğer Automatix2'yi kullandıysanız bu yazılımı da daha önceden kurmuş olabilirsiniz

sudo apt-get install gnucash
  • Applications -> Office -> GnuCash
 

Kişisel hesap yazılımı (Eqonomize!) nasıl kurulur?

sudo apt-get install eqonomize
sudo gedit /usr/share/applications/eqonomize.desktop
  • Dosyaya şu satırları ekleyin
[Desktop Entry] 
Name=Eqonomize!
Comment=Personal Accounting Software
Exec=eqonomize %i %m -caption "%c"
Terminal=false
Type=Application
MimeType=application/x-eqonomize
Categories=Application;Office;
X-DCOP-ServiceType=Unique
X-DCOP-ServiceName=eqonomize
X-KDE-StartupNotify=true
Comment=Personal finances manager / bookkeeping software
X-Ubuntu-Gettext-Domain=desktop_eqonomize
  • Dosyayı kaydedin
  • Applications -> Office -> Eqonomize!
 

Masaüstü yayımlama uygulaması (Scribus) nasıl kurulur?

sudo apt-get install scribus
  • Applications -> Office -> Scribus
 

 Diagram düzenleyici (Dia) nasıl kurulur?

sudo apt-get install dia-gnome
  • Applications -> Graphics -> Dia
 

 Derlenmiş HTML yardımı Compiled HTML Help (CHM) görüntüleyicisi (xCHM) nasıl kurulur?

sudo apt-get install xchm
  • Applications -> Graphics -> xCHM
 

CD/DVD yazma uygulaması (GnomeBaker) nasıl kurulur?

Not: Bu uygulama Automatix2'de de mevcut. Eğer Automatix2'yi kullandıysanız bu yazılımı da daha önceden kurmuş olabilirsiniz

sudo apt-get install gnomebaker
  • Applications -> Sound & Video -> GnomeBaker
 

 CD/DVD yazma uygulaması (K3b) nasıl kurulur?

sudo apt-get install k3b libk3b2-mp3
  • Applications -> Sound & Video -> K3b
 

 Çevirmeli - Dialup PPP istemcisi (GNOME PPP) nasıl kurulur?

sudo apt-get install gnome-ppp
  • Applications -> Internet -> GNOME PPP
 

 Genişbant ADSL - Broadband ADSL/PPPoE istemcisi (RP-PPPoE) nasıl kurulur?

wget -c http://easylinux.info/uploads/rp-pppoe-3.6.tar.gz
sudo tar zxvf rp-pppoe-3.6.tar.gz -C /opt/
sudo chown -R root:root /opt/rp-pppoe-3.6/
gksudo gedit /usr/share/applications/RP-PPPoE.desktop
  • Aşağıdaki satırları dosyaya ekleyin
[Desktop Entry]
Name=RP-PPPoE
Comment=RP-PPPoE
Exec=gksudo /opt/rp-pppoe-3.6/go-gui
Icon=pppoeconf.xpm
Terminal=false
Type=Application
Categories=Application;Network;
  • Dosyayı kaydedin
  • Applications -> Internet -> RP-PPPoE
 

 Sistem açılış yöneticisi - Boot-Up Manager (BUM) nasıl kurulur?

sudo apt-get install bum
  • System -> Administration -> Boot-Up Manager
 

 Disk bölümleme aracı - Partition Editor (GParted) nasıl kurulur?

sudo apt-get install gparted
  • System -> Administration -> GNOME Partition Editor (GParted)
 

 Firewall (Firestarter) uygulaması nasıl kurulur?

sudo apt-get install firestarter
  • System -> Administration -> Firestarter
 

Ağ trafiği inceleme aracı (Ethereal) nasıl kurulur?

Not: Ethereal geliştiricileri artık Wireshark geliştirmeye geçtiler, bu nedenle Ethereal'i geliştirmiyorlar artık.
sudo apt-get install ethereal
  • Applications -> Internet -> Ethereal
 

Ağ trafiği inceleme aracı (Wireshark) nasıl kurulur?

sudo apt-get install wireshark
  • Applications -> Internet -> Wireshark
 

Hassaslık tarayıcısı - Vulnerability Scanner (Nessus) nasıl kurulur?

sudo apt-get install nessus
sudo apt-get install nessusd
sudo nessus-adduser
sudo ln -fs /etc/init.d/nessusd /etc/rc2.d/S20nessusd
sudo /etc/init.d/nessusd start
gksudo gedit /usr/share/applications/Nessus.desktop
  • Aşağıdaki satırları dosyaya ekleyin
[Desktop Entry]
Name=Nessus
Comment=Nessus
Exec=nessus
Icon=/usr/share/pixmaps/nessus.xpm
Terminal=false
Type=Application
Categories=Application;System;
  • Dosyayı kaydedin
  • Applications -> System Tools -> Nessus
 

RAR (rar) arşivleyicisi nasıl kurulur?

Not: Bu uygulama Automatix2'de de mevcut. Eğer Automatix2'yi kullandıysanız bu yazılımı da daha önceden kurmuş olabilirsiniz

sudo apt-get install rar unrar
  • Applications -> Accessories -> Archive Manager
 

Extra Font'lar - yazı tipleri nasıl yüklenir?

sudo apt-get install xfonts-intl-arabic
sudo apt-get install xfonts-intl-asian
sudo apt-get install xfonts-intl-chinese
sudo apt-get install xfonts-intl-chinese-big
sudo apt-get install xfonts-intl-european
sudo apt-get install xfonts-intl-japanese
sudo apt-get install xfonts-intl-japanese-big
sudo apt-get install xfonts-intl-phonetic
sudo apt-get install gsfonts-x11
sudo apt-get install msttcorefonts
sudo fc-cache -f -v


Not: Ubuntu Dapper DejaVu fontları ile geliyordu (Bitstream Vera'dan türetilmiş)  ve Latin, Yunan ve Kiril alfabeleri için gereken destek tamdı.
 

Chinese Input Method (SCIM) Çince girdi yöntemi nasıl kurulur?

sudo apt-get install scim
sudo apt-get install scim-chinese
sudo apt-get install scim-config-socket
sudo apt-get install scim-gtk2-immodule
sudo apt-get install scim-tables-zh
wget -c http://easylinux.info/uploads/fireflysung-1.3.0.tar.gz
sudo tar zxvf fireflysung-1.3.0.tar.gz -C /usr/share/fonts/truetype/
sudo chown -R root:root /usr/share/fonts/truetype/fireflysung-1.3.0/
sudo fc-cache -f -v
  • System -> Preferences -> SCIM Input Method Setup
  • SCIM'i etkinleştirmek için:
'Ctrl + Space'e basın.
 

Masaüstü apletleri (gDesklets) nasıl kurulur?

Not: Bu uygulama Automatix2'de de mevcut. Eğer Automatix2'yi kullandıysanız bu yazılımı da daha önceden kurmuş olabilirsiniz

sudo apt-get install gdesklets
sudo apt-get install gdesklets-data
 

Basic Compilers Temel derleyiciler (build-essential) nasıl kurulur?

sudo apt-get install build-essential
 

RPM'leri DEB paketlerine dönüştüren (Alien) uygulaması nasıl kurulur?

sudo apt-get install alien
 

Entegre geliştirme ortamı (Anjuta) nasıl kurulur?

sudo apt-get install anjuta
  • Applications -> Programming -> Anjuta IDE
 

C# Entegre Geliştirme Ortamı (MonoDevelop) nasıl kurulur?

sudo apt-get install mono mono-gmcs mono-gac mono-utils monodevelop
 

Java Entegre Geliştirme Ortamı (Eclipse) nasıl kurulur?

sudo apt-get install eclipse


  • Eclipse, öntanımlı olarak Sun'ın java'sı yerine GNU java'yı kullanacaktır. BU Eclipse'in yavaş çalışmasına ve zaman zaman çökmesine sebep olabilir. Bu yüzden Sun'ın JVM'sini kullanacağız.
  • Sun JRE kurun:
sudo apt-get install sun-java5-jre sun-java5-plugin sun-java5-bin sun-java5-fonts


  • Sun'ın JVM'sini öntanımlı tercih yapın:
sudo update-alternatives --config java
  • Alttaki satırın olduğu numarayı seçin
/usr/lib/jvm/java-1.5.0-sun/jre/bin/java.
  • JVM ayar dosyasını düzenleyin:
gksudo gedit /etc/jvm
# This file defines the default system JVM search order. Each
# JVM should list their JAVA_HOME compatible directory in this file.
# The default system JVM is the first one available from top to
# bottom.

/usr/lib/jvm/java-1.5.0-sun
/usr/lib/jvm/java-gcj
/usr/lib/jvm/ia32-java-1.5.0-sun
/usr


  • Bir sonraki adım, Eclipse'e bu JVM'yi kullanmasını söylemek. Bu iş, sistem seviyesinde veya kullanıcı seviyesinde yapılabilir:
  • Sistem:
gksudo gedit /etc/eclipse/java_home
# This file determines the search order the Eclipse Platform uses to find a
# compatible JAVA_HOME. This setting may be overridden on a per-user basis by
# altering the JAVA_HOME setting in ~/.eclipse/eclipserc.

/usr/lib/jvm/java-1.5.0-sun
/usr/lib/jvm/java-gcj
/usr/lib/kaffe/pthreads
/usr/lib/j2se/1.5
/usr/lib/j2se/1.4
/usr/lib/j2sdk1.5-ibm
/usr/lib/j2sdk1.4-ibm
/usr/lib/j2sdk1.5-sun
/usr/lib/j2sdk1.4-sun
  • Kullanıcı:
gedit ~/.eclipse/eclipserc
JAVA_HOME=/usr/lib/jvm/java-1.5.0-sun/


  • Applications -> Development -> Eclipse
 

3D modelleme aracı (Blender 3d) nasıl kurulur?

sudo apt-get install blender
  • Applications -> Graphics -> Blender 3D modeller
 

Tuxracer oyunu nasıl kurulur?

sudo apt-get install planetpenguin-racer planetpenguin-racer-data planetpenguin-racer-extras
  • Applications -> Games -> planetpenguin-racer
 

Frozen-Bubble oyunu nasıl kurulur?

sudo apt-get install frozen-bubble
  • Applications -> Games -> Frozen-Bubble
 

Scorched3D oyunu nasıl kurulur?

sudo apt-get install scorched3d
gksudo gedit /usr/share/applications/scorched3d.desktop
  • Aşağıdaki satırları dosyaya ekleyin
[Desktop Entry]
Name=Scorched 3D
Comment=A 3D Remake Of Scorched Earth
Exec=scorched3d
Icon=
Terminal=false
Type=Application
Categories=Application;Game;ArcadeGame;
  • Dosyayı kaydedin
  • Applications -> Games -> Scorched 3D
 

Gerçek zamanlı strateji oyunu (globulation 2 alpha21) nasıl kurulur?

wget http://globulation2.org/releases/0.8.21/glob2_alpha21_i386.deb
sudo dpkg -i glob2_alpha21_i386.deb

dpkg hata verirse bağımlı olduğu paketleri de kurmanız gerekecektir:

sudo apt-get -f install

oynamak için:

glob2
 

Sanal yıldız haritası (Stellarium) nasıl kurulur?

sudo apt-get install stellarium
  • Applications -> Other -> Stellarium
 

Firefox için Google araç çubuğu nasıl kurulur?

Google araç çubuğunun son sürümü Ubuntu 6.06'daki Firefox 1.5.0.5'te düzgün çalışıyordu.

Firefox açıp, aşağıdaki bağlantıya tıklayın

http://www.google.com/tools/firefox/toolbar/

büyük "Download" düğmesine basın.

 

Google Earth nasıl kurulur?

wget -c http://dl.google.com/earth/GE4/GoogleEarthLinux.bin
sudo sh GoogleEarthLinux.bin
  • Kurulum yeri olarak: /usr/local/google-earth
  • Kurulum sonrası Exit'e tıklayın. Eğer uygulamayı çalıştıra bastıysanız önce aşağıdaki Not'u okuyun.
sudo cp /usr/local/google-earth/googleearth.desktop /usr/share/applications/
  • Applications -> Internet -> Google Earth
  • Not: Eğer kurulum sonunda hemen Google Earth uygulamasını çalıştırdıysanız, sonraki çalıştırma girişimlerinizde root hakları isteyecektir. Bunu düzenlemek için:
sudo chmod 777 -R ~/.googleearth
 

KDE Eğlence-eğitim uygulamaları nasıl kurulur?

sudo apt-get install kdeedu
  • Applications -> Education -> ...
 

Internet Explorer + Flash 9 (IEs4Linux) nasıl kurulur?

Burada wine üzerinden çalışan Internet Explorer 6 ve Flash 9, isterseniz IE 5.5/5.01 kurulumları gösterilecektir.

  • Not: Bu Flash 9 IE dışındaki web tarayıcıları için uygun olmayacaktır.
  • Cabextract kuracağız. Bir terminal açın ve yazın:
sudo apt-get install cabextract
  • Bir terminalde şunları çalıştırın:
wget http://www.tatanka.com.br/ies4linux/downloads/ies4linux-latest.tar.gz
tar zxvf ies4linux-latest.tar.gz
cd ies4linux-*
./ies4linux

Bunu root olarak yapmayın (sudo kullanmayın), bu betik yanlış çalışabilir ve X ayarlarınızı bozabilir.

 

Python geliştirme araçları nasıl kurulur?

Python Dev araçları

sudo apt-get install gcc libc6-dev python-dev python-setuptools python2.4-profiler

EZ Setup kurun (Python araçlarını kuran uygulama)

wget http://peak.telecommunity.com/dist/ez_setup.py
sudo python ez_setup.py

Setup Tools'u güncelleyin:

sudo easy_install -U --script-dir /usr/local/bin setuptools

TurboGears Framework (tercihi) kurun:

sudo easy_install --script-dir /usr/local/bin TurboGears
 

Linux için Windows uygulamaları (Wine) nasıl kurulur?

Wine Is Not an Emulator (WINE) - Wine bir emülator değildir. Wine Unix ve X üzerinde açık kaynaklı bir Windows API'sidir. Wine'ı Windows uygulamalarını çalıştırabilmek için bir uyum katmanı olarak düşünebilirsiniz. Wine, çalışmak için Microsoft Windows'a ihtiyaç duymaz, %100 özgür, bir satır bile Microsoft kodu barındırmayan, bir Windows API uygulamasıdır. Ancak, erişilebilir olurlarsa, Wine, Windows DLL'lerini kullanabilir.

Özetleyecek olursak, Wine ile Linux üzerinde Windows uygulamalarını çalıştırabilirsiniz.

  • Önce Wine deposunu ekleyelim:
gksudo gedit /etc/apt/sources.list
  • Aşağıdaki satırları dosyanın sonuna ekleyin
# Repository for wine
deb http://wine.budgetdedicated.com/apt dapper main
deb-src http://wine.budgetdedicated.com/apt dapper main
  • Dosyayı kaydedin
sudo apt-get update
sudo apt-get install wine
 

(tilda) terminal uygulaması nasıl kurulur?

sudo apt-get install tilda
  • Öntanımlı klavye bağlantısı: F1. Değiştirmek için terminal üzerinde sağ tık, sonra Preferences. Buradan font, şeffaflık, renk ve pencere boyutu gibi ayarları yapabilirsiniz.
 

Diğer Masaüstü Ortamları

 

KDE nasıl kurulur?

sudo apt-get install kubuntu-desktop
Not: Bu kurulum yaklaşık ~400MB disk alanı ister
  • System -> Log Out -> Log Out
  • KDE ile sisteme girmek için Sessions oradan KDE.
 

XFCE nasıl kurulur?

sudo apt-get install xubuntu-desktop
  • System -> Log Out -> Log Out
  • XFCE ile sisteme girmek için Sessions oradan XFCE


 

XFCE 4.4'ten önceki sürümler (4.3.90.1) nasıl kurulur?

  • Xfce 4.4 beta 1 (4.3.90.1) sürümünü Dapper'a kurmak için:
sudo apt-get install build-essential gcc pkg-config libglib2.0-0 \
libglib2.0-dev libgtk2.0-0 libgtk2.0-dev libxml++2.6c2a libxml++2.6-dev \
libvte-dev libvte4 a2ps libxpm-dev libxpm4 alsa-source alsa alsa-base \
alsa-oss alsa-utils libxml-parser-perl libpng12-0 libpng12-dev libdbh1.0-dev
chmod +x xfce4-4.3.90.1-installer.bin
sudo ./xfce4-4.3.90.1-installer.bin
  • Xfce'yi etkinleştirmek için masaüstü yöneticisini kullanın, (seçin: allow Xfce manage desktop)
 

FluxBox nasıl kurulur?

Bazı ekran görüntüleri burada. Fluxbox, popüler ve minimalist bir pencere yöneticisidir.

sudo apt-get install fluxbox
 
GDM üzerinden sisteme girince XFCE açılması nasıl ayarlanır?
echo "exec startfluxbox" > ~/.xinitrc
 
Sisteme girişte hoş sesler çıkmasını nasıl sağlarım?
sudo apt-get install sox
gedit ~/.fluxbox/startup
  • Alttaki satırı bulun:
exec /usr/local/bin/fluxbox
  • Onun yukarısında bir yere şu satırı ekleyin:
play /usr/share/sounds/login.wav > /dev/null 2>&1 &
  • Güzelce dinleyin.
 

Göze hoş gelen uygulamalar

 

Xgl/Compiz (Nvidia) nasıl kurulur?

sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf_backup
gksudo gedit /etc/X11/xorg.conf
  • Alttaki bölümü bulun
Section "Module"
Load "i2c"
Load "bitmap"
...
Load "type1"
Load "vbe"
EndSection
  • dri ve GLcore satırlarını (mevcutsa) başına # karakteri koyarak pasif hale getirin
#	Load	"dri"
# Load "GLcore"
  • glx modülünün yüklü olduğunda emin olun
	Load	"glx"
  • Şu bölümü bulun (değerler farklı olabilir)
Section "Device"
Identifier "NVIDIA Corporation NV34M [GeForce FX Go5200]"
Driver "nv"
BusID "PCI:1:0:0"
EndSection
  • Aşağıdaki satırlarla değiştirin, ama Identifier ve BusID satırına dokunmayın
Section "Device"
...
Driver "nvidia"
...
Option "RenderAccel" "true"
Option "AllowGLXWithComposite" "true"
EndSection
  • Şu bölümü bulun
Section "Screen"
Identifier "Default Screen"
Device "NVIDIA Corporation NV34M [GeForce FX Go5200]"
Monitor "Generic Monitor"
DefaultDepth 16
  • DefaultDepth'in 24 olarak atandığından emin olun
	DefaultDepth	24
  • Dosyayı kaydedin
  • Xgl/Compiz kurun
sudo apt-get install compiz xserver-xgl libgl1-mesa xserver-xorg libglitz-glx1 compiz-gnome
sudo cp /etc/gdm/gdm.conf-custom /etc/gdm/gdm.conf-custom-backup
gksudo gedit /etc/gdm/gdm.conf-custom
  • Herşeyi aşağıdaki satırlarla değiştirin
# GDM Configuration Customization file.
#
# This file is the appropriate place for specifying your customizations to the
# GDM configuration. If you run gdmsetup, it will automatically edit this
# file for you and will cause the daemon and any running GDM GUI programs to
# automatically update with the new configuration. Not all configuration
# options are supported by gdmsetup, so to modify some values it may be
# necessary to modify this file directly by hand.
#
# To hand-edit this file, simply add or modify the key=value combination in
# the appropriate section in the template below. Refer to the comments in the
# gdm.conf file for information about each option. Also refer to the reference
# documentation.
#
# If you hand edit a GDM configuration file, you should run the following
# command to get the GDM daemon to notice the change. Any running GDM GUI
# programs will also be notified to update with the new configuration.
#
# gdmflexiserver --command="UPDATE_CONFIG <configuration key>"
#
# For example, the "Enable" key in the "[debug]" section would be specified by
# "debug/Enable".
#
# You can also run gdm-restart or gdm-safe-restart to cause GDM to restart and
# re-read the new configuration settings. You can also restart GDM by sending
# a HUP or USR1 signal to the daemon. HUP behaves like gdm-restart and causes
# any user session started by GDM to exit immediately while USR1 behaves like
# gdm-safe-restart and will wait until all users log out before restarting GDM.
#
# For full reference documentation see the gnome help browser under
# GNOME|System category. You can also find the docs in HTML form on
# http://www.gnome.org/projects/gdm/
#
# NOTE: Lines that begin with "#" are considered comments.
#
# Have fun!

[daemon]

[security]

[xdmcp]

[gui]

[greeter]

[chooser]

[debug]

[servers]# Override display 1 to use Xgl
0=Xgl

[server-Xgl]
name=Xgl server
command=/usr/bin/Xgl :0 -fullscreen -ac -accel glx:pbuffer -accel xv:fbo
flexible=true
  • Açılışta Xgl/Compiz çalıştıran bir betik hazirlayın
gksudo gedit /usr/bin/thefuture
  • Aşağıdaki satırları dosyaya ekleyin. .us yazan yeri Türkçe klavye sistemi için .tr_q olarak değiştirin. Bütün klavye sistemlerinin listesi için terminalde ls /usr/share/xmodmap yazın. Emin olamadıysanız .us (United States) olarak bırakın.
#!/bin/bash
gnome-window-decorator & compiz --replace gconf decoration wobbly fade minimize cube rotate zoom scale move resize place switcher &
xmodmap /usr/share/xmodmap/xmodmap.us
  • Dosyayı kaydedin
sudo chmod 755 /usr/bin/thefuture
  • Bu oturumda compiz çalıştırmak için
thefuture
  • Açlışıta compiz yüklenmesi için
    • System -> Preferences -> Sessions
    • Startup Programs -> Add
/usr/bin/thefuture
  • Sorun giderme
    • Xgl/Compiz çalışmıyorsa veya hata veriyorsa, Startup program'larına "thefuture" ekleyerek bilgisayarı yeniden başlatın.
    • Pencereleri hareket ettirmek sistemi çok yavaşlatıyorsa, terminalden run gconf-editor çalıştırın. Şurayı bulun: apps/compiz/general/screen0/options. detect_refresh_rate kısmını kaldırın ve refresh rate'i 60 yapın. Şimdi çalışması gerekir.
    • Öntanımlı klavye düzeni dışında, kendi dilinizde klavye kullanıyorsanız ve klavyeniz garip çalışmaya başlarsa, System/Settings/Keyboard kısmından öntanımlı değere dönmeniz gerekebilir.
    • Super-key olarak windows tuşunu ayarlayabilirsiniz.
  • İpuçları
    • Pencere değiştirme = Alt + Tab
    • Pencereleri görme ve düzenleme = F12 açıp kapatır; pencereyi tıkayarak öne alırsınız
    • Küpte masaüstü değişimi = Ctrl + Alt + Left/Right Arrow
    • Küpte masaüstü değiştirirken aktif pencerenin takip etmesi = Ctrl + Shift + Alt + Left/Right Arrow
    • Küpü elle çevirme = Ctrl + Alt + left-click
    • Zoom = Super-key right-click
    • Elle Zoom = Super-key + fare tekeri yukarı
    • Elle Zoom'u azaltma = Super-key + fare tekeri aşağı
    • Pencereyi hareket ettir = Alt + left-click
    • Pencereyi kenara yapıştır = Ctrl + Alt + left-click
    • Pencere boyutunu değiştir = Alt + right-click
 

Xgl/Beryl (ATI) nasıl kurulur?

(Kaynak: Beryl Forumları)

Herşeyden önce gnome oturumu için 3d hızlandırmanız olmalıdır. Bunun birçok yöntemi var, yardıma ihtiyacınız olursa Google'a bakabilirsiniz. Eğer glxinfo, direct rendering: yes diyorsa sorun yoktur. Tersi durumda xgl ve Beryl çalışmaz!

  • Sisteminizi güncelleyin
sudo apt-get update
sudo apt-get dist-upgrade
  • Depoları hazırlayıp güncelleyin
sudo gedit /etc/apt/sources.list
  • /etc/apt/sources.list dosyasına quinstorms' ve reggaemanus'  seçeneklerini ekleyin
deb http://www.beerorkid.com/compiz/ dapper main
deb http://xgl.compiz.info/ dapper main
deb-src http://xgl.compiz.info/ dapper main
  • quinnstorms deposu için gpg anahtarını indirin
 wget http://www.beerorkid.com/compiz/quinn.key.asc -O - | sudo apt-key add -
  • Kaynaklarınızı güncelleyin
sudo apt-get update
  • Gereken paketleri kurun
sudo apt-get install xserver-xgl libgl1-mesa xserver-xorg libglitz-glx1 beryl beryl-core beryl-manager beryl-plugins beryl-plugins-data beryl-settings emerald emerald-themes
  • xgl için açılış betiği hazırlayın
sudo gedit /usr/bin/startxgl.sh
  • Betiğe şunları yazın
Xgl -fullscreen :1 -ac -accel glx:pbuffer -accel xv:pbuffer & sleep 2 && DISPLAY=:1 
# Start GNOME
exec gnome-session
  • Betiği çalıştırılabilir yapın
sudo chmod 755 /usr/bin/startxgl.sh
  • Oturum yöneticisi için bir xgl oturumu yapın
sudo gedit /usr/share/xsessions/xgl.desktop
  • session kısmına şunları ekleyin
[Desktop Entry]
Encoding=UTF-8
Name=XGl
Exec=/usr/bin/startxgl.sh
Icon=
Type=Application
  • alttakileri de
beryl
emerald

gnome oturumu açılış programlarına ekleyin. (system , preferences , sessions, startup programs sekmesi )

  • Sistemi yeniden  başlatın
  • Oturum yöneticisinden xgl' seçebilirsiniz
  • Gelen soruda Xgl'i for this session only (sadece bu oturum için kullanacağım) cevabını seçin. Böylece bir sorun olursa bir sonraki oturumda normal oturumunuz açılır.
  • Herşey yolunda giderse bunu öntanımlı hale getirirsiniz. Ne zaman isterseiz normal gnome oturumuna dönebileceğinizi de unutmayın.
 

Beryl/AIGLX (Nvidia) nasıl kurulur?

(Bakınız Ubuntu Forumları)

  • Tüm paketlerin güncel olduğundan emin olun
Install your *ubuntu-desktop metapackage specific to your DE, e.g. sudo apt-get install ubuntu-desktop
sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade
  • Depoları ekleyin
gksudo gedit /etc/apt/sources.list
  • Dosyanın sonuna aşağıdaki satırı ekleyin:
deb http://beryl-mirror.lupine.me.uk/ edgy main-edgy

(64bit beryl için depo listesine aşağıdakini ekleyin)

deb http://ubuntu.lupine.me.uk/ edgy main-amd64
  • Anahtar ekleyin
wget http://beryl-mirror.lupine.me.uk/quinn.key.asc -O - | sudo apt-key add -
  • Dosyayı kaydedin
sudo apt-get update
  • Beryl kurun:
sudo apt-get install beryl-core beryl-plugins beryl-plugins-data emerald beryl-settings beryl-manager beryl beryl-dev emerald-themes
  • xorg.conf'u yedekleyin
sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf_backup
gksudo gedit /etc/X11/xorg.conf
  • xorg.conf "Screen" bölümüne aşağıdakileri ekleyin
# Enable 32-bit ARGB GLX Visuals
Option "AddARGBGLXVisuals" "True"

# If you are using an older version of compiz that
# does not support rendering into the Composite
# Overlay Window, you will need to disable clipping
# of GLX rendering to the X Root window with this
# option, or you will get a blank screen after
# starting compiz:
Option "DisableGLXRootClipping" "True"
  • xorg.conf "Device" bölümüne aşağıdakileri ekleyin
Option          "TripleBuffer" "true"
  • ctrl+alt+backspace ile X'i yeniden başlatın
  • Beryl'i çalıştırın
beryl-manager
 

Beryl/AIGLX (Intel i915) nasıl kurulur?

beryl project wiki sayfasındaki dokümanı okuyun.

Eğer çalışmazsa, direct rendering'in etkin olup olmadığını kontrol edin (terminale şunu yazın):

glxinfo | grep direct

Çıktı şöyle olmalı:

direct rendering: Yes

Eğer No cevabı alırsanız, direct rendering'in yüklü olup olmadığını kontrol edin:

lsmod|grep 915

Çıktı şöyle olmalı:

i915   21632  3
drm 74644 4 i915
tsdev 9152 0

Eğer sadece tsdev satırı çıkarsa, xorg.conf'u i810 sürücüsüne göre ayarlayın, sistemi yeniden başlatın, CTRL-ALT-F1 ile komut satırı oturumuna geçin ve xorg.conf'u yeniden i915'e göre ayarlayın. 

 

Alternatif sistem yükleme ekranı nasıl kurulur?

  • Okuyun: #Genel Notlar
  • Bu uygulama minimalist bir açılış ekranı kurar.
wget -c http://www.users.on.net/~stubby/usplash-minimalistic_0.1.deb
sudo dpkg -i usplash-minimalistic_0.1.deb
sudo update-alternatives --config usplash-artwork.so
  • Minimalist alternatif için (/usr/local/lib/usplash/minimalastic.so) ilgili sayıyı girin. Orjinal ekrana dönmek için öntanımlı tercihi seçin (/usr/lib/usplash/usplash-default.so).
 

Ticari Uygulamalar

 

Windows 9X/ME/2000/XP (Win4Lin) nasıl kurulur?

 

Windows uygulamaları (CrossOver Office) nasıl kurulur?

 

Windows oyunları (Cedega) nasıl kurulur?

 

Kullanıcı Yönetimi

 

Root kullanıcısı parolası nasıl belirlenir/değiştirilir/aktifleştirilir?

sudo passwd root
 

Root hesabı nasıl pasifleştirilir?

sudo passwd -l root
 

Root kullanıcısının GNOME'da oturum açması nasıl sağlanır?

Security Tab -> Security -> Allow root to login with GDM (Checked-Seçili)
 

Komut satırında root kullanıcısına nasıl dönüşebilirim?

sudo -s -H
Password: <kullanıcı parolasını girin>
 

Sistem kullanıcısı nasıl eklenir/düzenlenir/silinir?

  • Okuyun: #Genel Notlar
  • System -> Administration -> Users and Groups
  • Users and Groups
Users Tab -> Add User.../Properties/Delete
veya
sudo useradd jim
sudo userdel jim
  • Daha fazla bilgi için
man usermod
 

Nasıl sistem grubu eklenir/düzenlenir/silinir?

  • Okuyun: #Genel Notlar
  • System -> Administration -> Users and Groups
  • Users and Groups
Groups Tab -> Add Group.../Properties/Delete
 

Otomatik GNOME oturumu nasıl açılır (güvenli değildir) ?

Security Tab -> Enable Automatic Login (Checked-Seçili)
Şimdi gelen menüden bir kullanıcı seçilir.
 

Daha fazla kişiye sudo hakkı nasıl verilir?

EDITOR=gedit sudo visudo
  • Dosyanın sonuna aşağıdaki satırı ekleyin
system_username	ALL=(ALL) ALL
  • Dosyayı kaydedin

veya nasılsa admin grubunun sudo hakkı vardı:

sudo adduser kullanıcı_adı admin

Bununla kullanıcıyı admin grubuna ekledik. Artık sudo hakkı kazanmış oldu.

 

Parola girmeden nasıl "sudo" yapılır (güvenli değildir)?

EDITOR=gedit sudo visudo
  • Alttaki satırı bulun
...
system_username ALL=(ALL) ALL
...
  • Aşağıdaki satırla değiştirin
system_username	ALL=(ALL) NOPASSWD: ALL
  • Dosyayı kaydedin
 

"sudo" oturumu nasıl kapatılır?

sudo -K
 

Dosya/klasör izinleri nasıl değiştirilir?

dosya/klasörü sağ tıklayın -> Properties
Permissions Tab -> Read/Write/Execute (Checked the permissions for Owner/Group/Others)
 

Dosya/klasör sahipliği nasıl değiştirilir?

sudo chown kullanıcı_adı /dosya_veya_klasörün_bulunduğu_yer
 

Dosya/klasör grup sahipliği nasıl değiştirilir?

sudo chgrp grup_adı /dosya_veya_klasörün_bulunduğu_yer
 

Donanım

 

Firefox için farenin yanındaki butonlar nasıl aktifleştirilir?

xorg.conf dosyasına eklenecek iki satır, farenin yanındaki butonları etkinleştirecektir. Ancak bu en fazla 5 düğmeli fareler için çalışır. Bu şekilde çalışan farelerin listesi şöyle:

  • Logitech MX510
  • Logitech MX518
  • Logitech MX700
  • Intellimouse Explorer (first edition)


Gnome ayar dosyasını yedekleyin:

sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf.bak

Gnome ayar dosyasını düzenleyin

gksudo gedit /etc/X11/xorg.conf

Fareniz için Input Device bölümünü bulun ve aşağıdaki iki satırı ekleyin. Farenizde 7'den fazla düğme varsa, burada ilgili düzenlemeyi yaparak farenin düğmelerine işlev atayabilirsiniz.

Şurayı:

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
...
Option "Protocol" "ExplorerPS/2"
...
Option "Emulate3Buttons" "true"
EndSection

şöyle değiştirin:

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
...
Option "Protocol" "ExplorerPS/2"
...
Option "Emulate3Buttons" "true"
Option "Buttons" "7"
Option "ButtonMapping" "1 2 3 6 7"
EndSection


Bu aşamada bilgisayarı veya Gnome'u yeniden başlatarak (Ctrl-Alt-BackSpace) farenizin düğmelerini deneyebilirsiniz. Henüz Nautilus'ta bu düğmeler çalışmayacaktır çünkü imwheel dameon kurmanız gerekir.

 

IMWheel kurulum ve konfigürasyon

  • IMWheel kurun
sudo apt-get install imwheel
  • IMWheel ayar dosyasını düzenleyin
gksudo gedit /etc/X11/imwheel/imwheelrc
  • Dosyanın en altına şu satırları ekleyin
".*"
None, Up, Alt_L|Left
None, Down, Alt_L|Right

"(null)"
None, Up, Alt_L|Left
None, Down, Alt_L|Right


  • IMWheel başlangıç betiği oluşturun
sudo mkdir /home/login
gksudo gedit /home/login/mouse
  • Yeni dosyaya aşağıdaki satırları ekleyin
#!/bin/sh
exec xmodmap -e "pointer = 1 2 3 6 7 4 5" &
exec imwheel -k -b "67" &
exec $REALSTARTUP
  • Tüm kullanıcılar için bu dosya üzerinde çalıştırma hakkı verin
sudo chmod +x /home/login/mouse
  • Bu betiğin açlışıta çalışması için
    1. Select 'System' > 'Preferences' > 'Sessions'
    2. StartUp sekmesini tıklayın
    3. Add, ardından şunu yazın: /home/login/mouse
    4. OK, sonra Close - kapat
  • Bilgisayarınızı veya Gnome oturumunuzu yeniden başlatarak Nautilus üzerinden farenizi test edin.
 

(NVIDIA) grafik sürücüsü nasıl kurulur?

sudo apt-get install nvidia-glx nvidia-kernel-common
sudo nvidia-glx-config enable
  • Üstteki ile işlem başarılamadığında, X ayar dosyasından bu işi yapabilirsiniz:
sudo gedit /etc/X11/xorg.conf

  • "nv"  yazan yerleri "nvidia" olarak değiştirin
  • nVidia XvMC ayar dosyasını oluşturarak XvMC'yi etkinleştirin
sudo gedit /etc/X11/XvMCConfig
  • Aşağıdaki satırı, açılacak ayar dosyasına yazın, böylece nVidia XvMC paylaşımlı kütüphanesini sürücüye söylemiş oluruz:
libXvMCNVIDIA_dynamic.so.1
  • XvMC ile video playback özelliğini hızlandırmak için: Daha fazlası için bakınız: [[2]]
xine -V xxmc filename.ts
mplayer -vo xvmc -vc ffmpeg12mc filename.ts
 

Beta Graphics Driver (NVIDIA) Beta grafik sürücüsü nasıl kurulur?

  • Alberto Milone'ya teşekkürler
sudo gedit /etc/apt/sources.list
  • Bilgisayarınızın mimarisine göre aşağıdakilerden BİRİNİ dosyaya ekleyin
deb http://albertomilone.com/drivers/edgy/nonlegacy/32bit binary/
deb http://albertomilone.com/drivers/edgy/nonlegacy/64bit binary/
  • Dosyayı kaydedin
  • GPG anahtarını ekleyin
wget http://albertomilone.com/drivers/tseliot.asc
gpg --import tseliot.asc
gpg --export --armor albertomilone@alice.it | sudo apt-key add -
  • Güncelleme ve kurma
sudo apt-get update
sudo apt-get install nvidia-glx
sudo apt-get upgrade
  • Günceleme linux-restricted-modules & linux-restricted-modules-common paketlerinizi yenileyecektir.
sudo nvidia-xconfig
  • Bilgisayarınızı yeniden başlattığınızda sürücüler kurulmuş olacak.
 

Öntanımlı X.org NVIDIA sürücüleri ile pivot ekran rotasyonu nasıl kurulur?

  • Bazı LCD monitörlerinin ekranın 90 derece dönmesini sağlayan pivot ekran rotasyonu özelliği vardır. Öntanımlı  nVidia sürücüleri X.org ("nv") ekran rotasyonu desteği ile gelir. Ancak bu biraz yavaş çalışabilir. Eğer ilgili müseccel sürücüyü kurmaya karar verirseniz: #Graphics Driver (NVIDIA) Grafik sürücüsü nasıl kurulur?.
  • Ekranı döndürebilmek için /etc/X11/xorg.conf dosyasında, "nv" sürücüsünün "Device" bölümünü bulun:
Section "Device"                                                                
Identifier "NVIDIA Corporation NV34 [GeForce FX 5200]"
Driver "nv"
  • Bu bölüme aşağıdaki tercihi ekleyin:
       Option "Rotate" "CW"

Rotasyon her iki yönde de yapılabileceği için:

  1. CW - saat yönünde (sağ).
  2. CCW - saat yönünün tersinde (sağ).
 

Müseccel - tescilli NVIDIA sürücüleri ile pivot ekran rotasyonu nasıl kurulur?

  • Bazı LCD monitörlerinin ekranın 90 derece dönmesini sağlayan pivot ekran rotasyonu özelliği vardır. Müseccel nVidia sürücüleri bu rotasyon özelliğini Xrandr eklentisi ile destekler.
  • Ekranı döndürebilmek için /etc/X11/xorg.conf dosyasında, "nv" sürücüsünün "Device" bölümünü bulun:
Section "Device"                                                                
Identifier "NVIDIA Corporation NV34 [GeForce FX 5200]"
Driver "nvidia"
  • Buraya alttaki seçeneği ekleyin:
       Option          "RandRRotation" "on"
  • Artık görüntüyü çevirebilirsiniz. Yönü ayarlamak için:
  1. "System > Preferences > Screen Resolution" bölümünde "Rotation" özelliği "Left" (sol) veya "Right" (sağ) olarak seçilir.
  2. Veya "xrandr -o left" ya da "xrandr -o right" komutu kullanılır.
 

GNOME açılışındaki NVIDIA grafik logosunu nasıl kaldırabilirim?

sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf_backup
gksudo gedit /etc/X11/xorg.conf
  • Aşağıdaki bölümü bulun
 ...
Section "Device"
Identifier "NVIDIA Corporation NV11 [GeForce2 MX/MX 400]"
Driver "nvidia"
BusID "PCI:1:0:0"
...
  • Şu satırı altına ekleyin
   Option		"NoLogo"
 

(ATI) grafik sürücüsü nasıl kurulur?

 

(Intel) grafik sürücüsü nasıl kurulur?

Not: Bu sürücü sadece Intel® 82830M, 82845G, 82852GM, 82855GM, 82865G, ve 82915G/GM ürünleri içindir.

wget -c http://downloadmirror.intel.com/df-support/8211/eng/dri-I915-v1.1-20041217.i386.rpm
sudo alien dri-I915-v1.1-20041217.i386.rpm
sudo dpkg -i dri-i915_v1.1-20041218_i386.deb
 

(Intel) grafik çözünürlüğü nasıl düzeltilir?

  • Intel 915g, 945g, vb. grafik yonga setleri, doğru sürücü yüklenmediği sürece, sadece limitli bir çözünürlük desteklerler.
  • Çözünürlük düzenleme aracını kurun:
sudo apt-get install 915resolution
  • Olası modları görebilmek için:
915resolution -l
  • Kullanmayacağınız bir çözünürlüğü seçin ve değiştirin. Örneğin alttaki satır 1920x1440'ı 1920x1200 haline getirir.
915resolution 5c 1920 1200
  • Artık bu çözünürlük değeri de "System>Preferences>Screen Resolution" arasındaki seçeneklere eklenmiştir.
  • Doğru çalıştığından emin olduysanız bu değişikliği kalıcı hale getirmek için:
sudo gedit /etc/rc.local
  • Yukarıda yazdığınız komutu buraya da ekleyin.
exit 0
 

CPU - işlemci ısısı, fan hızı ve voltajı nasıl (lm-sensors) denetlenir?

sudo apt-get install lm-sensors

mkdev.sh adında bir dosya oluşturun ve içine bunları yapıştırın:

#!/bin/bash

# Here you can set several defaults.

# The number of devices to create (max: 256)
NUMBER=32

# The owner and group of the devices
OUSER=root
OGROUP=root
# The mode of the devices
MODE=600

# This script doesn't need to be run if devfs is used
if [ -r /proc/mounts ] ; then
if grep -q "/dev devfs" /proc/mounts ; then
echo "You do not need to run this script as your system uses devfs."
exit;
fi
fi

i=0;

while [ $i -lt $NUMBER ] ; do
echo /dev/i2c-$i
mknod -m $MODE /dev/i2c-$i c 89 $i || exit
chown "$OUSER:$OGROUP" /dev/i2c-$i || exit
i=$[$i + 1]
done
#end of file

Çalıştırılabilir hale getirin ve çalıştırın

sudo chmod +x mkdev.sh
./mkdev.sh

Şimdi sensörleri tarayın. Bütün sorulara "y" cevabı verin.

sudo sensors-detect

Kernel modüllerini yükleyin

sensors -s

Şimdi çıktıyı inceleyin

sensors


 

Fan hızı (lm-sensors) nasıl kontrol edilir?

Üstteki bölümü okuyup, önce lm-sensors kurun. Ardından pwmconfig ile fanlarınızı test edin:

pwmconfig

Eğer fan hızınızı kontrol edebiliyorsanız, /etc/init.d/fancontrol dosyasını oluşturun ve şunları yazın

#!/bin/sh
#
# Fancontrol start script.
#

set -e

# Defaults
DAEMON=/usr/sbin/fancontrol
PIDFILE=/var/run/fancontrol-pid
PATH=/sbin:/bin:/usr/sbin:/usr/bin

test -f $DAEMON || exit 0

. /lib/lsb/init-functions


case "$1" in
start)
log_begin_msg "Starting fancontrol daemon..."
start-stop-daemon --start -o -q -m -b -p $PIDFILE -x $DAEMON
log_end_msg $?
 ;;
stop)
log_begin_msg "Stopping fancontrol daemon..."
start-stop-daemon --stop -o -q -p $PIDFILE
log_end_msg $?
 ;;
force-reload|restart)
sh $0 stop
sh $0 start
 ;;
*)
log_success_msg "Usage: /etc/init.d/fancontrol {start|stop|restart|force-reload}"
log_success_msg " start - starts system-wide fancontrol service"
log_success_msg " stop - stops system-wide fancontrol service"
log_success_msg " restart, force-reload - starts a new system-wide fancontrol service"
exit 1
 ;;
esac

exit 0

Çalıştırma hakkı verin

sudo chmod +x /etc/init.d/fancontrol

Test edin

/etc/init.d/fancontrol start

ve

/etc/init.d/fancontrol stop

Çalıştıysa, sistem açılışında otomatik yükleme için /etc/rc.local dosyasına, "exit 0" ifadesinden önce aşağıdaki satırı ekleyin:

/etc/init.d/fancontrol start


 

nvidia GPU ısısı (nvidia-settings) nasıl kontrol edilir?

Terminalde şunu yazın:

nvidia-settings


 

CPU, GPU ısıları, fan hızı ve voltajı (GKrellM) nasıl görüntülenir?

  • Hard drive ısılarını görmek için hddtemp kurun:
sudo apt-get install hddtemp

GKrellM, CPU ve GPU ısılarını, fan hızını, voltajı, CPU yükünü, ağ trafiğini, disk aktivitesini, ısısını, bellek ve swap alanı kullanımlarını gösteren bir donanım monitörüdür. Kurulumu çok kolaydır ve birkaç fare tıklamasıyla konfigürasyonunu yapabilirsiniz. Fan çalışmadığında veya işlemciniz çok ısındığında uyarı vermesini sağlayabilirsiniz. hddtemp, GKrellM ile beraber çalışır ve diskin ısısının kontrol atlında kalmasını sağlar. 

sudo apt-get install gkrellm

Programı çalıştırmak için:

Click Applications -> System Tools -> GKrellM

Ayarlar için:,

Right click on GKrellM -> Configuration

Sesli uyarı ekleme (tercihi): CPU çok ısındığında veya fan çalışmadığında sesli uyarı almak isterseniz yapmanız gerekenler burada anlatılıyor. Önce sesli uyarı mesajlarınızın nerede olduğunu bulmanız veya kendi uyarılarınızı kendiniz kaydetmeniz gerekiyor (Audacitiy ile yapabilirsiniz). Sonra:

Configuration -> Builtins folder (Left side)-> Sensors -> Temperatures folder (Right side)-> CPU -> Alerts Button

Aşağıdakilerden sadece birini, komut satırına yapıştırıp sesi test edin. Eğer iki ses kartınız varsa ikinci satırdaki gibi "-ao oss:/dev/dsp1" secenegi ile sesi ikinci ses kartina yönlendirebilirsiniz. . Dosya adını ve yerini kendinize göre ayarlamayı da unutmayın. Eğer sesi duyabildiyseniz GKrellM'nin uyarı penceresine ilgili satırı ekleyin.

mplayer /home/myfolder/alert_messages/heat_alert.mp3
mplayer -ao oss:/dev/dsp1 /home/myfolder/alert_messages/heat_alert.mp3
 

Modem chipset nasıl tanımlanır?

wget -c http://easylinux.info/uploads/scanModem.gz
gunzip -c scanModem.gz > scanModem
chmod +x scanModem
sudo cp scanModem /usr/bin/
  • Modem chipseti tanımlamak için:
sudo scanModem
gedit Modem/ModemData.txt
 

Windows kablosuz ağ sürücüleri (Ndiswrapper) nasıl kurulur?

  • Okuyun: #Genel Notlar
  • ndiswrapper kurabilmek için kablosuz ethernet katrınızın windows sürücüsüne de ihtiyacınız olacaktır.
  • Tabii bu durum, Ubuntu kablosuz kartınızı tanımadığında geçerli. Ubuntu'nun tanıdığı kablosuz ağ kartlarının listesi burada.
  • Eğer Ubuntu'nun listesinde kartınız yoksa, ndiswrapper'in desteklediği kartların listesi burada
  • acx modülünüzün yüklü olup olmadığına bakın. acx modülü windows sürücüsü ile çakıştığından dolayı, eğer sisteminizde acx modülü varsa kaldırmanız gerekecektir.
lsmod | grep acx
  • Eğer varsa acx modülünü kaldıracağız. acx_pci veya bir benzeri olabilir. Unutmadan, kernel güncellemeleri acx modülünü yeninde yükleyebilir, bu nedenle her kernel güncellemesi sonunda acx modülünü kaldirmanız gerekecektir.
sudo rmmod acx
sudo mv /lib/modules/2.6.15-26-386/kernel/drivers/net/wireless/acx /root/
  • ndiswrapper ve sürücülerini kurun:
sudo apt-get install ndiswrapper-utils
sudo ndiswrapper -i /location_of_your_wireless_driver/your_driver.inf
sudo ndiswrapper -l
sudo modprobe ndiswrapper
  • ndiswrapper'ı açılışta başlatılmak üzere ayarlayın
sudo ndiswrapper -m
gksudo gedit /etc/modules
  • listeye şu modülü ekleyin
ndiswrapper
  • Artık ifconfig ve iwconfig ile kablosuz kartınızı ayarlayabilirsiniz.
Kablosuz cihazın wlan0 olduğu varsayımıyla:
sudo iwconfig wlan0 essid "AP" key ababababababababab mode Managed
iwconfig
  • Artık access point'e erişebilir ve sinyal seviyesini görebilirsiniz.
 

Broadcom 43xx kablosuz chipset için Ndiswrapper nasıl kurulur?

  • Broadcom 43xx (bcm43xx) kablosuz chipseti en yaygın chipsetlerden biridir, bu nedenle onun için özel betikler yazılmıştır.
  • Sadece bcm43xx chipsetine sahipseniz yapın: Terminalde kontrol etmek için:
lspci | grep Broadcom\ Corporation

Eğer bu satıra benzer bir satır karşınıza çıkarsa:

0000:02:02.0 Network controller: Broadcom Corporation BCM4306 802.11b/g Wireless LAN Controller (rev 03)

Broadcom kablosuz chipsetiniz var demektir. Alttakilerle devam edebilirsiniz.

  • Ubuntu kurmak için kullandığınız CD'yi, CD sürücünüze yerleştirin.
  • Bunu indirin (firefox öntanımlı olarak masaüstüne indirecektir. Eğer bu öntanımlı ayarı değiştirmediyseniz, masaüstü olarak devam edeceğiz).
  • Komut satırında şunları yazın:
cd ~/Desktop (or wherever you downloaded the file)
tar -xf bcm4318*.tar.gz
sudo ./ndiswrapper_setup

Kablosuz chipsetiniz artık çalışıyor olmalı. Problem olursa bilgisayarı yeniden başlatın. Problemler düzelmediyse burayı okuyun: http://ubuntuforums.org/showthread.php?t=197102&highlight=install+ndiswrapper

 

Ndiswrapper ile WPA nasıl etkinleştirilir?

  • Herşeyden önce, Ndiswrapper'ın şifreleme yapmadan, çalıştığından emin olun.
  • /etc/wpa_supplicant.conf dosyasını oluşturun, ssid ve psk değerlerini düzenleyerek alttakileri bu dosyaya yazın.
ctrl_interface=/var/run/wpa_supplicant
network={
ssid="YourWiFiSSID"
psk="YourWiFiPassword"
key_mgmt=WPA-PSK
proto=WPA
pairwise=TKIP
}
  • Router'ınızı SSID'sini broadcast ettiğinden emin olduktan sonra test edin.
sudo wpa_supplicant -Dwext -iwlan0 -c/etc/wpa_supplicant.conf -dd
  • WPA çalıştıysa, bilgisayar yeninden başlatıldığında çalışması için:
gksudo gedit /etc/network/interfaces
  • wlan0 bölümünü aşağıdaki şekilde düzenleyin:

static - sabit IP kullanıyorsanız:

auto wlan0
iface wlan0 inet static
address 192.168.1.20
netmask 255.255.255.0
gateway 192.168.1.1
pre-up wpa_supplicant -Bw -Dwext -iwlan0 -c/etc/wpa_supplicant.conf
post-down killall -q wpa_supplicant

dhcp kullanıyorsanız:

auto wlan0
iface wlan0 inet dhcp
pre-up wpa_supplicant -Bw -Dwext -iwlan0 -c/etc/wpa_supplicant.conf
post-down killall -q wpa_supplicant


  • Şimdi sistemi yeniden başlatın
 

Modem sürücüsü (SmartLink) nasıl kurulur?

uname -r (must be 2.6.10-5-386)
wget -c http://easylinux.info/uploads/sl-modem-modules-2.6.10-5-386_2.9.9a-1ubuntu2+2.6.10-34_i386.deb
sudo dpkg -i sl-modem-modules-*.deb
sudo apt-get install sl-modem-daemon
 

PalmOS araçlar nasıl ayarlanır?

gksudo gedit /etc/udev/rules.d/10-custom.rules
  • Yeni dosyaya aşağıdaki satırı ekleyin
BUS="usb", SYSFS{product}="Palm Handheld*", KERNEL="ttyUSB*", NAME{ignore_remove}="pilot", MODE="666"
  • Dosyayı kaydedin
  • Görev çubuğuna sağ tıklayarak, boş bir yere pilot-applet'i ekleyin
  • Ekrandaki komutları takip edin.
 

Disk bölümü tablosu nasıl listelenir?

sudo fdisk -l
  • Alternatif yöntem: System -> Administration -> Disks
 

Dosya sistemi disk alanı kullanımı nasıl listelenir?

df -Th
  • Alternatif yöntem: System -> Administration -> Disks
 

Mount edilmiş - bağlanmış araçlar nasıl listelenir?

mount
 

PCI araçlar nasıl listelenir?

lspci
 

USB araçlar nasıl listelenir?

lsusb
 

CD/DVD-ROM nasıl hızlandırılır?

CD/DVD-ROM'un /dev/cdrom'da olduğu varsayımıyla:
sudo hdparm -d1 /dev/cdrom
sudo cp /etc/hdparm.conf /etc/hdparm.conf_backup
gksudo gedit /etc/hdparm.conf
  • Dosyanın sonuna aşağıdaki satırları ekleyin.
/dev/cdrom {
dma = on
}
  • Dosyayı kaydedin
 

CD/DVD-ROM elle nasıl mount edilir - bağlanır ve unmount edilir? Gizli veya ilgili dosya ve klasörler nasıl görüntülenir?

CD/DVD-ROM'un /dev/cdrom'da olduğu varsayımıyla:
  • CD/DVD-ROM'u mount edin
sudo mount /media/cdrom0/ -o unhide
  • CD/DVD-ROM'u unmount edin
sudo umount /media/cdrom0/
 

CD/DVD-ROM elle, zorla nasıl unmount edilir?

CD/DVD-ROM'un /dev/cdrom'da olduğu varsayımıyla:
sudo umount /media/cdrom0/ -l
 

Sistemi yeniden başlatmadan /etc/fstab nasıl yeniden bağlanır?

sudo mount -a


 

Wacom tablet nasıl kurulur?

"Harici input - girdi araclari" ile ilgili detaylı ve resimli bir rehbere resmi Dapper wiki sayfasından erişebilirsiniz: https://wiki.ubuntu.com//Wacom

Ubuntu 6.06 Dapper Drake dağıtımında Linux Wacom'un (0.7.2) kodlu sürümünün bir problemi var, kablosunu çıkardıktan sonra geri taktığınızda hemen çalışmıyor. X'i yeniden başlatmanız gerekiyor. Bu nedenle tableti sürekli cihaza takılı bırakmanız daha iyi olacaktır. Sürücünün 0.7.4 sürümünde bu problem giderildi. 0.7.4 numaralı sürümü içeren Ubuntu'larda bu problemle karşılaşmazsınız.

  • 1. Synaptic paket yöneticisi ile xserver-xorg-input-wacom ve wacom-tools paketlerinin yüklü olup olmadığını kontrol edin. Eğer yüklü değillerse yükleyin. Bu işi komut satırından yapmak isterseniz:
     sudo apt-get install xserver-xorg-input-wacom wacom-tools
  • 2. /etc/X11/xorg.conf dosyanızın bir yedeğini alın :
      sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf.backup
  • sonra komut satırı üzerinden bazı düzenlemeler yapacağız:
      gksudo gedit /etc/X11/xorg.conf
  •  /dev/wacom olan yerler /dev/input/wacom olarak değiştirin (bunu wacom-tools udev betikleri üretiyor), ardından dosyayı kaydedin.
  • X'i yeniden başlattıktan sonra Wacom tabletiniz kullanıma hazır olmalı. Gimp, Inkscape gibi grafik uygulamaları için "Extended input devices - genişletilmiş girdi araçları"  özelliğini ayarlamayı unutmayın. Hatta, madem Wacom tablet çalışıyor, bunu stylusunuz (Wacom tablet kalemi) ile de yapabilirsiniz.
 

Multicore desteği nasıl etkinleştirilir?

  • Bu hem Multicore sistemlerde hem de SMP sistemlerde çalışır:
sudo apt-get install linux-686-smp
  • Aşağıdaki komutu çalıştırarak, listelenen iki CPU'yu gördüğünüzde, multicore desteğini çalıştığından emin olabilirsiniz. 
cat /proc/cpuinfo
 

Large Widescreen Support - Geniş ekran desteği nasıl etkinleştirilir?

  • 24/23" geniş ekran monitörler bazen 1920x1200 çözünürlük kullanabilir.
  • Örneğin: Dell 2405, HP 2335 veya Apple Cinema Display.
sudo gedit /etc/X11/xorg.conf
  • Dosyada, ilgili "Monitor" bölümüne alttaki satırı ekleyin:
Modeline	"1920x1200" 154 1920 1968 2000 2080 1200 1203 1209 1235
  • Mesela HP2335 şöyle gözükecektir:
Section "Monitor"
Identifier "hp L2335"
Option "DPMS"
Modeline "1920x1200" 154 1920 1968 2000 2080 1200 1203 1209 1235
EndSection
 

ALSA ile çevresel hoparlör - surround speakers (5.1 ve diğerleri) nasıl kurlur?

  • ~/.asoundrc dosyasını düzenleyin, yoksa yaratın:
gedit ~/.asoundrc
  • Alttaki bölümü ekleyin:
pcm.!default {
type plug
slave.pcm "surround51"
slave.channels 6
route_policy duplicate
}
  • Artık çevresel ses alıp, stereo çıktısını 6 kanala yayabilirsiniz. 
 

Apple Mighty Mouse ayarları nasıl yapılır?

Apple Mighty Mouse aslında direk çalışır. Ancak yatay scroll ve yan düğmelerin çalıştırılması için bu bölüm oluşturuldu. Eğer siz bunu denediyseniz, buraya eklenmesi için yazara bilgi gönderin.

 

CD/DVD Yazma

 

CD-RW/DVD-RW nasıl boşaltılır?

CD/DVD-ROM'un /dev/cdrom'da yer aldığı varsayımıyla:
sudo umount /dev/cdrom
cdrecord dev=/dev/cdrom blank=fast
 

CD/DVD'ye dosya/klasör nasıl yazılır?

nautilus burn:///
  • Dosya tarayıcı: CD/DVD Creator
  • Dosya ve klasörleri bu pencereye sürükleyin ve bırakın.
File Menu -> Write to Disc... -> Write
 

CD/DVD'ye imaj (ISO) dosyalar nasıl yazılır?

Image (ISO) dosyasına sağ tıklayın -> Write to Disc... -> Write
 

CD/DVD'nin aynısından bir tane daha nasıl yazılır?

 

CD/DVD'den imaj (ISO) dosyası nasıl oluşturulur?

CD/DVD-ROM'un /dev/cdrom'da yer aldığı varsayımıyla
sudo umount /dev/cdrom
dd if=/dev/cdrom of=file.iso bs=1024
 

Klasörlerden imaj (ISO) dosyaları nasıl oluşturulur?

mkisofs -o file.iso /location_of_folder/
 

MD5 checksum dosyaları nasıl üretilir?

md5sum file.iso > file.iso.md5
 

MD5 checksum dosyaları nasıl kontrol edilir?

file.iso ve file.iso.md5 dosyalarının aynı klasörde olduğu varsayımıyla
md5sum -c file.iso.md5
 

Yazma işlemi yapmadan imaj (ISO) dosyaları nasıl mount/unmount edilir?

  • Okuyun: #Genel Notlar
  • İmaj (ISO) dosyasını mount etmek için
sudo mkdir /media/iso
sudo modprobe loop
sudo mount file.iso /media/iso/ -t iso9660 -o loop
  • İmaj (ISO) dosyasını unmount etmek için
sudo umount /media/iso/
 

CD/DVD yazıcının yazma hızı nasıl belirlenir/değiştirilir?

  • Okuyun: #Genel Notlar
  • Applications -> System Tools -> Configuration Editor
  • Configuration Editor
/ -> apps -> nautilus-cd-burner -> default_speed (yazma hızı belirle/değiştir)
 

CD/DVD yazıcı için burnproof nasıl etkinleştirilir?

  • Okuyun: #Genel Notlar
  • Applications -> System Tools -> Configuration Editor
  • Configuration Editor
/ -> apps -> nautilus-cd-burner -> burnproof (Checked - Seçili)
 

CD/DVD yazıcı için overburn nasıl etkinleştirilir?

  • Okuyun: #Genel Notlar
  • Applications -> System Tools -> Configuration Editor
  • Configuration Editor
/ -> apps -> nautilus-cd-burner -> overburn (Checked - Seçili)
 

 

Google Talk ayarları nasıl yapılır?

 

Ağ bağlantıları nasıl etkinleştirilir/engellenir?

  • Okuyun: #Genel Notlar
  • System -> Administration -> Networking
  • Network settings
Connections Tab -> Seçin: "Ethernet connection" -> Activate/Deactivate
 

Ağ bağlantısı ayarları nasıl yapılır?

  • Okuyun: #Genel Notlar
  • System -> Administration -> Networking
  • Ağ bağlantısı ayarları
Connections Tab -> Select "Ethernet connection" -> Özellikler
Connection -> Enable this connection (Checked - Seçili)
Connection Settings -> Configuration: Seçin "DHCP/Static IP address"
DNS Tab -> DNS Servers -> Add/Delete
 

Çevirmeli ağ bağlantısı ayarları nasıl yapılır?

sudo pppconfig
  • Çevirmeli ağa bağlanmak için:
sudo pon provider_name
  • Bağlantıyı kesmek için
sudo poff
 

Geniş bant bağlantısı ayarları nasıl yapılır?

sudo pppoeconf
 

Bilgisayar adı nasıl değiştirilir?

  • Okuyun: #Genel Notlar
  • System -> Administration -> Networking
  • Ağ ayarları
General Tab -> Host Settings -> Hostname: Bilgisayar adını girin 
  • Kaydedin, açık uyuglamaları kapatın ve bilgisayarı yeniden başlatın.
 

Bilgisayar tanımlaması nasıll değiştirilir?

sudo cp /etc/samba/smb.conf /etc/samba/smb.conf_backup
gksudo gedit /etc/samba/smb.conf
  • Şu satırı bulun:
...
server string = %h server (Samba, Ubuntu)
...
  • Aşağıdaki ile değiştirin
  server string = new_computer_descriptions
  • Dosyayı kaydedin
sudo testparm
sudo /etc/init.d/samba restart
 

Bilgisayarın Domain/Workgroup bilgisi nasıl değiştirilir?

sudo cp /etc/samba/smb.conf /etc/samba/smb.conf_backup
gksudo gedit /etc/samba/smb.conf
  • Şu satırı bulun:
...
workgroup = MSHOME
...
  • Aşağıdaki ile değiştirin
  workgroup = new_domain_or_workgroup
  • Dosyayı kaydedin
sudo testparm
sudo /etc/init.d/samba restart
 

DynDNS servisi kullanarak, dinamik IP'li bir makineye nasıl hostname alınır?

sudo apt-get install ipcheck
gksudo gedit /etc/ppp/ip-up.d/dyndns_update.sh
  • Aşağıdaki satırları dosyaya ekleyin
 #!/bin/sh

USERNAME=kullanıcı_adı
PASSWORD=parola
HOSTNAME=hostnameim.dyndns.org

cd /root/
if [ -f /root/ipcheck.dat ]; then
ipcheck -r checkip.dyndns.org:8245 $USERNAME $PASSWORD $HOSTNAME
else
ipcheck --makedat -r checkip.dyndns.org:8245 $USERNAME $PASSWORD $HOSTNAME
fi
  • Dosyayı kaydedin
sudo chmod 700 /etc/ppp/ip-up.d/dyndns_update.sh
sudo sh /etc/ppp/ip-up.d/dyndns_update.sh
 

Kolay dosya paylaşımı nasıl yapılır?

Klasöre sağ tıklayın -> Share folder
Shared folder -> Share with: Select "SMB"
Share properties -> Name: Paylaşım adını girin
 

Ağdaki bilgisayarlar nasıl taranır?

Ağ bağlantısı ayarlarının doğru yapıldığı varsayımıyla.
Eğer ağdaki bilgisayarları göremiyorsanız, direk erişmeyi deneyin
Okuyun  #Ağ klasörlerine mount etmeden nasıl ulaşılır?
  • Places -> Network Servers
 

Ağ klasörlerine mount etmeden nasıl ulaşılır?

Ağ bağlantısı ayarlarının doğru yapıldığı varsayımıyla.
Ağdaki bilgisayarın IP'si: 192.168.0.1
Paylaşılan klasörün adı: linux
  • 'Alt+F2'ye basın (Uygulama çalıştır...) ve şunu yazın:
smb://192.168.0.1/linux
 

Ağ klasörleri elle nasıl mount/unmount edilir? Bütün kullanıcıların okuyabilmesi nasıl sağlanır?

Ağ bağlantısı ayarlarının doğru yapıldığı varsayımıyla
Ağdaki bilgisayarın IP'si: 192.168.0.1
Ağ bilgisayarındaki kullanıcı adı: kullanıcı_adı
Ağ bilgisayarondaki parola: parola
Paylaşılan klasörün adı: linux
Yerelde bağlanacak klasör: /media/sharename
  • Ağ klasörünü mount etmek için
sudo mkdir /media/sharename
sudo mount //192.168.0.1/linux /media/sharename/ -o username=kullanıcı_adı,password=parola
  • Ağ klasörünü unmount etmek için
sudo umount /media/sharename/
 

How to mount/unmount network folders manually, and allow all users to read/write

e.g. Assumed that network connections have been configured properly
Network computer's IP: 192.168.0.1
Network computer's Username: myusername
Network computer's Password: mypassword
Shared folder's name: linux
Local mount folder: /media/sharename
  • To mount network folder
sudo mkdir /media/sharename
sudo mount //192.168.0.1/linux /media/sharename/ -o username=myusername,password=mypassword,dmask=777,fmask=777
  • To unmount network folder
sudo umount /media/sharename/
 

How to mount network folders on boot-up, and allow all users to read

e.g. Assumed that network connections have been configured properly
Network computer's IP: 192.168.0.1
Network computer's Username: myusername
Network computer's Password: mypassword
Shared folder's name: linux
Local mount folder: /media/sharename
sudo mkdir /media/sharename
gksudo gedit /root/.smbcredentials
  • Aşağıdaki satırları dosyaya ekleyin
username=myusername
password=mypassword
  • Dosyayı kaydedin
sudo chmod 700 /root/.smbcredentials
sudo cp /etc/fstab /etc/fstab_backup
gksudo gedit /etc/fstab
  • Dosyanın sonuna aşağıdaki satırı ekleyin:
//192.168.0.1/linux    /media/sharename smbfs  credentials=/root/.smbcredentials    0    0
 

How to mount network folders on boot-up, and allow all users to read/write

e.g. Assumed that network connections have been configured properly
Network computer's IP: 192.168.0.1
Network computer's Username: myusername
Network computer's Password: mypassword
Shared folder's name: linux
Local mount folder: /media/sharename
sudo mkdir /media/sharename
gksudo gedit /root/.smbcredentials
  • Aşağıdaki satırları dosyaya ekleyin
username=myusername
password=mypassword
  • Dosyayı kaydedin
sudo chmod 700 /root/.smbcredentials
sudo cp /etc/fstab /etc/fstab_backup
gksudo gedit /etc/fstab
  • Dosyanın sonuna aşağıdaki satırı ekleyin:
//192.168.0.1/linux    /media/sharename smbfs  credentials=/root/.smbcredentials,dmask=777,fmask=777  0    0
 

How to get ipw2200 and wpa to work

 

How to get ipw3945 and wep/wpa to work

See the daemon source and the Intel ipw3945 project page.

OR

  • Install the daemon using apt (recommended for new users):
sudo apt-get install linux-restricted-modules-generic
reboot your system and you should have wireless internet/network.
 

How to Configure and start PPTP tunnels (VPN)

OR
  • Install manually
wget -c http://linux.edu.lv/uploads/content/pptp.tar.gz
tar zxvf pptp.tar.gz
sudo sh ./pptp/install
  • To configure PPTP istemci
gksudo gedit /usr/share/applications/pptpconfig.desktop
  • Replace content of this file with the following lines
[Desktop Entry]
Name=PPTP Client
Comment=Configure and start PPTP tunnels (VPN)
Categories=Application;Network
Encoding=UTF-8
Exec=gksudo pptpconfig
Icon=gnome-remote-desktop.png
StartupNotify=true
Terminal=false
Type=Application
  • The above lines change the default file in three ways: the application is placed in the Application/Internet category, gksudo will make the application run as superuser and we put a nice icon that appears in the menu.
  • Start the istemci with Applications -> Internet -> PPTP Client
 

How to Configure Ubuntu/Kubuntu with WPA using Network-Manager

Ubuntu Dapper in typical cases can configure WPA to work out of the box with minimal hassle. You'll need to install network-manager.


For Ubuntu:

sudo apt-get install network-manager-gnome

For Kubuntu (will install knetworkmanager):

sudo apt-get install network-manager-kde

Logout/Reboot.

Ubuntu users should now see the NetworkManager Applet in the Gnome notification area. Kubuntu users will probably have to run knetworkmanager before they see NetworkManager in the systray.

If instead, you get a "The NetworkManager applet could not find some required resources. It cannot continue." message, then:

sudo gtk-update-icon-cache -f /usr/share/icons/hicolor

Once Network-Manager is installed, click on the NM icon in the notification area (default is at the top right of Ubuntu/Gnome). Choose your network, then enter your passphrase. Type a password for the keyring, and you're set.

If you don't see your network, click "Create New Wireless Network...", type your essid/networkname, then choose "WPA Personal" for wireless security.

  • Note: If you installed Kubuntu then installed ubuntu-desktop & network-manager-gnome, you may not be able to use network-manager in Gnome, if at all. In this case, you may have to use WPA Supplicant and do some manual editing of conf files to get WPA up and running.
  • Note: When you first log into Gnome/KDE, the keyring application will ask for a password. Future revisions of Network-Manager should resolve this.
 

Remote Access

 

Remote Login via XDMCP

 
What is XDMCP?

GNOME windows can support several different users simultaniously. Unlike vncviewer that just duplicates the current screen on a remote system, XDMCP allows several different users to login and run different GNOME sessions at the same time. So if you have a fast computer runing Ubuntu, several users can use their slow machines to login and run heavy applications only available on the fast machine.

 
How to turn on the XDMCP feature

To turn on the XDMCP feature on the fast computer, click the menu

System -> Administration -> Login Window 

In the Login Window Preferences dialog window, select

Remote Tab -> Style: Same as Local ->  Close the dialog window -> Restart the PC
 
How to login from another PC running Ubuntu
1. Reboot the slow PC and stop at the login screen
2. Click Options at the lower left corner of the login screen
3. Select "Remote Login via XDMCP"
4. On the dialog window, type in the host name or ip of the fast computer you want to login to


 

Remote Desktop Sharing/Duplication via VNC

 
How to configure remote desktop (not secure)
Warning! Remote Desktop will only work if there's a GNOME login session
Leaving computer with an unattended GNOME login session is not secure
Use (System -> Lock Screen) and switch off the monitor when computer is left unattended
  • System -> Preferences -> Remote Desktop
  • Remote Desktop Preferences
Sharing ->
Allow other users to view your desktop (Checked)
Allow other users to control your desktop (Checked)
Security ->
Ask you for confirmation (Un-Checked)
Require the user to enter this password: (Checked)
Password: Specify the password
 
How to connect into remote Ubuntu desktop
e.g. Assumed that remote Ubuntu machine have configured Remote Desktop
Okuyun: #How to configure remote desktop (not secure)
Remote Ubuntu machine: 192.168.0.1
vncviewer -fullscreen 192.168.0.1:0
  • To quit vncviewer
Press 'F8' -> Quit viewer
 
How to connect into remote Ubuntu desktop via Windows machine
e.g. Assumed that remote Ubuntu machine have configured Remote Desktop
Okuyun: #How to configure remote desktop (not secure)
Remote Ubuntu machine: 192.168.0.1
  • If you have a router remember to open the appropiate port. The default one is 5900
This process is called port forwarding port forwarding
  • Download DotNetVNC: Here or RealVNC Here
this is a free DotNet version that require the DotNet framework available from microsoft here
The RealVNC website was created and maintained by the original developers of VNC during their time at AT&T. RealVNC comes in Free, Personal, and Enterprise editions - the latter two costing money.
  • Open the VNC istemci you have chosen, and insert the connection string formatted like this <LINUX BOX IP><:DESKTOP NUMBER>|<::PORT>
In example use: 192.168.1.2:0 or 192.168.1.2::5900 to connect to desktop 0, to connect to desktop 1 use 192.168.1.2:1 or 192.168.1.2::5901 and so on
 
How to connect into remote Ubuntu desktop via OSX
e.g. Assumed that remote Ubuntu machine have configured Remote Desktop
Okuyun: #How to configure remote desktop (not secure)
Remote Ubuntu machine: 192.168.0.1
  • If you have a router remember to open the appropiate port the default one is 5900
This process is called port forwarding port forwarding
  • Download ChickenOfTheVNC: Here
  • Open ChickenOfTheVNC, and insert the host (IP adress of remote machine), the display number (0 is default and is port 5900) and the password.
In example use: Host: 192.168.0.1, Display 0, Password: password
 

Windows

 

How to mount/unmount Windows partitions (NTFS) manually, and allow all users to read only


e.g. Assumed that /dev/hda1 is the location of Windows partition (NTFS)
Local mount folder: /media/windows
  • To mount Windows partition
sudo mkdir /media/windows
sudo mount /dev/hda1 /media/windows/ -t ntfs -o nls=utf8,umask=0222
  • To unmount Windows partition
sudo umount /media/windows/
 

How to mount/unmount Windows partitions (FAT) manually, and allow all users to read/write

e.g. Assumed that /dev/hda1 is the location of Windows partition (FAT)
Local mount folder: /media/windows
  • To mount Windows partition
sudo mkdir /media/windows
sudo mount /dev/hda1 /media/windows/ -t vfat -o iocharset=utf8,umask=000
  • To unmount Windows partition
sudo umount /media/windows/
 

How to mount Windows partitions (NTFS) on boot-up, and allow all users to read only

e.g. Assumed that /dev/hda1 is the location of Windows partition (NTFS)
Local mount folder: /media/windows
sudo mkdir /media/windows
sudo cp /etc/fstab /etc/fstab_backup
gksudo gedit /etc/fstab
  • Dosyanın sonuna aşağıdaki satırı ekleyin:
/dev/hda1    /media/windows ntfs  nls=utf8,umask=0222 0    0
 

How to mount Windows partitions (FAT) on boot-up, and allow all users to read/write

e.g. Assumed that /dev/hda1 is the location of Windows partition (FAT)
Local mount folder: /media/windows
sudo mkdir /media/windows
sudo cp /etc/fstab /etc/fstab_backup
gksudo gedit /etc/fstab
  • Dosyanın sonuna aşağıdaki satırı ekleyin:
/dev/hda1    /media/windows vfat  iocharset=utf8,umask=000  0    0
 

How to mount Windows partitions (NTFS) on boot-up, and allow users read and write access

Warning: The software you will use is still in Beta. You should not enable it on production machines

sudo apt-get install ntfs-3g
  • Create the local mount folder and edit the fstab file to mount the disks to this folder.
e.g. Assumed that /dev/hda1 is the location of Windows partition (NTFS)
Local mount folder: /media/windows
sudo mkdir /media/windows
sudo cp /etc/fstab /etc/fstab.bak
gksudo gedit /etc/fstab
  • Dosyanın sonuna aşağıdaki satırı ekleyin:, using the GID number previously. The umask following this GID allows write access just to owner (root) and group (ntfs), and read access to everyone.
/dev/hda1    /media/windows    ntfs-3g    defaults,locale=en_US.utf8    0    0
  • You can adjust your locale. Execute 'locale -a' in a terminal to know which

one are supported by your system.

  • Dosyayı kaydedin.
  • If you reboot now, the disk will be writable to every users. If you want the changes to take effect immediately without rebooting, execute the following command, ignoring the errors about "/" and others not being unmounted.
sudo umount -a && sudo mount -a
 

Security

 

What are the basic things I need to know about securing my Ubuntu

  • Okuyun: #Genel Notlar
  • Ensure hard drive is first in BIOS boot-up sequence
    • To prevent trespassers from using Linux Installation CD which allows them to gain root user access
    • To prevent trespassers from using Linux Live CD (e.g. UBUNTU/KNOPPIX/MEPIS) which allows them to destroy/browse/share the entire hard drive
    • To prevent trespassers from installing another Operating System
  • Ensure a password is set for BIOS
    • To prevent trespassers from changing the BIOS boot-up sequence
  • Ensure computer is located at a secured place
    • To prevent trespassers from removing computer's hard drive which allows them to destroy/browse/share the entire hard drive from a different computer
    • To prevent trespassers from removing computer's on-board battery which resets the BIOS password
  • Ensure passwords used on the system cannot be easily guessed
    • To prevent trespassers from cracking password file using brute force attacks (e.g. John the Ripper)
    • Create password with minimum length of 8 characters
    • Create password with mixture of characters/numbers, and upper/lower case
    • Not create a password with just a single or just a typical union of main languages (english, german, french, spanish...) dictionary words
  • Ensure interactive editing control for GRUB menu is disabled
  • Ensure history listing is disabled in Console mode
  • Ensure Ctrl+Alt+Del is disabled in Console mode
    • To prevent trespassers from restarting the system without permission in Console mode
    • Okuyun: [[#How to disable Ctrl+Alt+Del from restarting computer in Console mode]]
  • Ensure interactive option is set for remove, copy and move of files/folders in Console mode
  • For day to day usage, login as a normal user
  • Disable root user account, use "sudo" instead
    • To reduce the amount of time spent with root privileges, and thus the risk of inadvertently executing a command as root
    • "sudo" provides a more useful audit trail (/var/log/auth.log)
    • Okuyun: #How to disable root user account
  • Install a Firewall
  • Perform vulnerability test
 

How to disable all interactive editing control for GRUB menu

  • Run This:
grub-md5-crypt 
Password: 
Retype password:
$1$tumnZ1$xB/shuXs7MlawZXkLiBDV/
  • Backup your current configuration file
sudo cp /boot/grub/menu.lst /boot/grub/menu.lst_backup
gksudo gedit /boot/grub/menu.lst
  • Aşağıdaki bölümü bulun
...
## password ['--md5'] passwd
# If used in the first section of a menu file, disable all interactive editing
# control (menu entry editor and command-line) and entries protected by the
# command 'lock'
# e.g. password topsecret
# password --md5 $1$tumnZ1$xB/shuXs7MlawZXkLiBDV/
# password topsecret
...
  • Add the following line below it
password --md5 $1$tumnZ1$xB/shuXs7MlawZXkLiBDV/ (encrypted password above)
  • Find the section(s) that look like this (note the 'recovery mode' and the word 'single'):
...
title Ubuntu, kernel 2.6.10-5-386 (recovery mode)
root (hd0,1)
kernel /boot/vmlinuz-2.6.10-5-386 root=/dev/hda2 ro single
initrd /boot/initrd.img-2.6.10-5-386
savedefault
boot
...
  • Add lock between the title and root lines:
...
title Ubuntu, kernel 2.6.10-5-386 (recovery mode)
lock
root (hd0,1)
...
  • Dosyayı kaydedin

This will make it so your grub console will require a password to edit the lines, and the recovery modes won't work unless the password is typed. To access the other grub options at the menu, follow the instructions at the bottom of the screen. It will be something like pressing p and typing your password.

 

How to disable history listing in Console mode

rm -f .bash_history
gedit ~/.bash_profile
  • Add the following:
export HISTFILESIZE=4
unset HISTFILE=5

# Change this to a reasonable number of lines to save, I like to save only 100.
export HISTSIZE=1

# Ignores duplicate lines next to each other
export HISTCONTROL=ignoredups

This will disable Bash history for the user, retaining keystroke history and recall to use while limiting recall history to 100 lines. This will also not record duplicate lines next to each other.

 

How to disable Ctrl+Alt+Del from restarting computer in Console mode

sudo cp /etc/inittab /etc/inittab_backup
gksudo gedit /etc/inittab
  • Şu satırı bulun:
...
ca:12345:ctrlaltdel:/sbin/shutdown -t1 -a -r now
...
  • Aşağıdaki ile değiştirin
#ca:12345:ctrlaltdel:/sbin/shutdown -t1 -a -r now
  • Dosyayı kaydedin
sudo telinit q
 

How to enable prompt before removal/overwritten of files/folders in Console mode

sudo cp /etc/bash.bashrc /etc/bash.bashrc_backup
gksudo gedit /etc/bash.bashrc
  • Append the following lines at the end of file
alias rm='rm -i'
alias cp='cp -i'
alias mv='mv -i'
  • Dosyayı kaydedin
 

How to setup a LoJack system for your laptop


What: Quote from Wikipedia: "LoJack is an aftermarket vehicle tracking system that allows cars to be tracked by police after being stolen. The manufacturer claims a 90% recovery rate. The name "LoJack" is a play on the word "hijack," meaning the theft of a vehicle through force."

Why: If your laptop is ever stolen and connected to the Internet. You will be able to find out from what IP it connects to the Internet from and contact the authorities.

How:

  • Get a free dynamic IP account from one of the many providers. Here we will use DynDNS.
sudo apt-get install ddclient 
  • Edit the configuration file /etc/ddclient.conf using you fevorite text editor (emacs, gedit, kedit or even vi)
sudo emacs /etc/ddclient.conf
  • Make it look like this:
# Configuration file for ddclient generated by debconf
#
# /etc/ddclient.conf
pid=/var/run/ddclient.pid
protocol=dyndns2
use=web
server=members.dyndns.org
login=YourNameHere
password='YourPasswordHere'
YourHostNameHere.gotmyip.com
NOTE:
* Make sure that you use the web IP detection method.
* Specify your own user id instead of the place holder YourNameHere.
* Specify your own password instead of the place holder YourPasswordHere, make sure to surround it with single quotes.
* The last line should specify the hostname you registered with the dynamic IP service.
  • You can now start the ddclient daemon, or wait until your next reboot.
sudo /etc/init.d/ddclient start
  • The hostname you registered with your dynamic IP service should be updated. You can test it with the ping command:
ping YourHostNameHere.gotmyip.com
Even if your laptop has a firewall that prevents pings the hostname should resolve to the IP of the network gateway that your laptop is connected to.
Now all that is left is for someone to steal your laptop.....

References:

 

Boot Menu

 

How to gain root user access without login

  • Okuyun: #Genel Notlar
  • Easiest method (will not work if GRUB menu password is set)
    • Boot-up computer
    • If GRUB menu is hidden, press 'Esc' to enter the GRUB menu
    • Select
Ubuntu, kernel 2.6.10-5-386 (recovery mode)
 

How to modify kernel boot-up arguments, to gain root user access

  • Okuyun: #Genel Notlar
  • Boot-up computer
  • If GRUB menu is hidden, press 'Esc' to enter the GRUB menu
  • If GRUB password is set, press 'p' to unlock the GRUB menu
  • Select
Ubuntu, kernel 2.6.10-5-386
  • Press 'e' to edit the commands before booting
  • Select
kernel /boot/vmlinuz-2.6.10-5-386 root=/dev/hda2 ro quiet splash
  • Press 'e' to edit the selected command in the boot sequence
  • Add "rw init=/bin/bash" to the end of the arguments
grub edit> kernel /boot/vmlinuz-2.6.10-5-386 root=/dev/hda2 ro quiet splash rw init=/bin/bash
  • Press 'b' to boot
 

How to use Ubuntu Installation CD, to gain root user access

  • Okuyun: #Genel Notlar
  • Boot-up computer into Ubuntu Installation CD
  • At "boot:" prompt, add "rescue" to the argument
boot: rescue
  • Follow the instructions on screen
 

How to change root user/main user password if forgotten

# passwd root
  • To change main user password
# passwd system_main_username
 

How to change GRUB menu password if forgotten

grub
grub> md5crypt
Password: ****** (ubuntu)
Encrypted: $1$ZWnke0$1fzDBVjUcT1Mpdd4u/T961 (encrypted password)
grub> quit
sudo cp /boot/grub/menu.lst /boot/grub/menu.lst_backup
gksudo gedit /boot/grub/menu.lst
  • Şu satırı bulun:
...
password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/
...
  • Aşağıdaki ile değiştirin
password --md5 $1$ZWnke0$1fzDBVjUcT1Mpdd4u/T961 (encrypted password above)
  • Dosyayı kaydedin
 

How to restore GRUB menu after Windows installation

 

How to identify the name of the boot drive (hd0, hd1, hd2, etc)

Press "c" on boot menu. If you don't see a boot menu, press ESC key first when booting to show the boot menu.

Type:

root (hd0,0)

Most likely you will get "(hd0,0) ext2fs", which should be your current Linux drive. Now change hd0 to hd1 to see what is there.

root (hd1,0)

If you get "(hd1,0) filesystem type unknown, partition type 0x7", then hd1 is a Windows drive.

Now change hd1 to hd2, keep going until you reach hd7.

 

How to add Windows entry into GRUB menu

e.g. Assumed that /dev/hda1 is the location of Windows partition
sudo cp /boot/grub/menu.lst /boot/grub/menu.lst_backup
gksudo gedit /boot/grub/menu.lst
  • Append the following lines at the end of file
title		Microsoft Windows
root (hd0,0)
savedefault
makeactive
chainloader +1
  • Dosyayı kaydedin


 

How to boot into Windows installed on a seperate SATA drive

This configuration applies to people who have Linux installed on a IDE drive, and Windows installed on a seperate SATA. The IDE drive boots first, so we need to add an entry to the boot menu on the Linux disk. Here we assume the name of your Windows drive is hd1. If you are not sure, click the link above to find out.

sudo cp /boot/grub/menu.lst /boot/grub/menu.lst_backup
gksudo gedit /boot/grub/menu.lst
  • Append the following lines at the end of file.
title           Windows XP on SATA drive
map (hd0) (hd1)
map (hd1) (hd0)
chainloader (hd1,0)+1
  • Dosyayı kaydedin
 

How to read Linux partitions (ext2, ext3) in Windows machine

OR
 

Tips & Tricks

 

Bilgisayarı yeniden başlatmadan GNOME nasıl yeniden başlatılır?

Press 'Ctrl + Alt + Backspace'

or
sudo /etc/init.d/gdm restart
 

How to turn on Num Lock on GNOME startup

sudo apt-get install numlockx
sudo cp /etc/X11/gdm/Init/Default /etc/X11/gdm/Init/Default_backup
gksudo gedit /etc/X11/gdm/Init/Default
  • Şu satırı bulun:
...
exit 0
  • Add the following lines above it
if [ -x /usr/bin/numlockx ]; then
/usr/bin/numlockx on
fi
 

How to remap the Caps Lock key as another Control key

gksudo gedit /etc/console-tools/remap
 
In the Console
  • Change
#s/keycode  58 = Caps_Lock/keycode  58 = Control/;

to

s/keycode  58 = Caps_Lock/keycode  58 = Control/;
  • Save your work
sudo /etc/init.d/console-screen.sh
  • Try using it
 
In X Windows
gksudo gedit ~/.Xmodmap
  • Add this:
keycode 66 = Control_L
clear Lock
add Control = Control_L

  • Now, apply the changes.
xmodmap ~/.Xmodmap
  • To apply them on startup
    • If ~/.xinitrc does not exist,
cp /etc/X11/xinit/xinitrc ~/.xinitrc
  • In all cases
gedit ~/.xinitrc
  • Make the first line this:
xmodmap ~/.Xmodmap
  • Restart X (Ctrl - Alt - Backspace)
  • Log In, a dialog should pop up, add .Xmodmap to the left side with the add button, and Save.
 

How to run programs on startup when login into GNOME

  • Okuyun: #Genel Notlar
  • System -> Preferences -> Sessions
  • Sessions
Startup Programs Tab -> Add/Edit/Delete
 

How to speed-up your Ubuntu box

 

How to switch to Console mode in GNOME

Press 'Ctrl + Alt + F1' (F2 - F6)
  • To switch between consoles in Console mode
Press 'Alt + F1' (F2 - F6)
  • To switch back to GNOME mode
Press 'Alt + F7'
 

How to disable Ctrl+Alt+Backspace from restarting X in GNOME

sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf_backup
gksudo gedit /etc/X11/xorg.conf
  • Append the following lines at the end of file
Section "ServerFlags"
Option "DontZap" "yes"
EndSection
 

How to enable Ctrl+Alt+Del to open System Monitor in GNOME

gconftool-2 -t str --set /apps/metacity/global_keybindings/run_command_9 "<Control><Alt>Delete"
gconftool-2 -t str --set /apps/metacity/keybinding_commands/command_9 "gnome-system-monitor"
 

How to refresh GNOME desktop

killall nautilus
 

How to refresh GNOME panel

killall gnome-panel


 

How to enable autosave in Gedit and disable creation of some_file~ files

  • Okuyun: #Genel Notlar
  • Applications -> System Tools -> Configuration Editor
  • Configuration Editor
/ -> apps -> gedit-2 -> preferences -> editor -> save -> create_backup_copy (Unchecked)
/ -> apps -> gedit-2 -> preferences -> editor -> save -> auto_save (Checked)
 

How to show all hidden files/folders in Nautilus

  • Okuyun: #Genel Notlar
  • Places -> Home Folder
  • To temporary show all hidden files/folders in Nautilus
Press 'Ctrl + H'
  • To permanently show all hidden files/folders in Nautilus
Edit Menu -> Preferences
Views Tab -> Default View -> Show hidden and backup files (Checked)
 

How to browse files/folders as root user in Nautilus

gksudo gedit /usr/share/applications/Nautilus-root.desktop
    • Aşağıdaki satırları dosyaya ekleyin
[Desktop Entry]
Name=File Browser (Root)
Comment=Browse the filesystem with the file manager
Exec=gksudo "nautilus --browser %U"
Icon=file-manager
Terminal=false
Type=Application
Categories=Application;System;
  • To browse files/folders as root user in Nautilus
    • Applications -> System Tools -> File Browser (Root)
 

How to change default file type "Open with" program

Right click on file -> Properties
Open With Tab -> Add
Select "Open with" program
Select "Open with" program (Checked)
 

How to change preferred email istemci to Mozilla Thunderbird

Mail Reader Tab -> Default Mail Reader -> Command: mozilla-thunderbird %s
 

How to open files as root user via right click

gedit $HOME/.gnome2/nautilus-scripts/Open\ as\ root
  • Aşağıdaki satırları dosyaya ekleyin
for uri in $NAUTILUS_SCRIPT_SELECTED_URIS; do
gksudo "gnome-open $uri" &
done
  • Dosyayı kaydedin
chmod +x $HOME/.gnome2/nautilus-scripts/Open\ as\ root

Right click on file -> Scripts -> Open as root
 

How to disable beep sound in Terminal mode

Not for Dapper---- firingstone

  • Okuyun: #Genel Notlar
  • Applications -> Accessories -> Terminal
  • Terminal
Edit Menu -> Current Profile...
General Tab -> General -> Terminal bell (Un-Checked)
 

How to handle mss protocol in Mozilla Firefox


  • Open your firefox.
  • Type as url: about:config

Now just right click somewhere into the main window. A little box with options to choose will appear. Choose "new", then "string". Then copy the following line into the appearing text field:

network.protocol-handler.app.mms

Into the next text field copy this:

/usr/bin/X11/vlc

Now you do the same thing again, but this time you do not choose "string" but "boolean", and the line to copy is:

network.protocol-handler.external.mms

Then set

true
 

How to handle rtsp (realmedia) protocol in Mozilla Firefox


  • Open your firefox.
  • Type as url: about:config

Now just right click somewhere into the main window. A little box with options to choose will appear. Choose "new", then "string". Then copy the following line into the appearing text field:

network.protocol-handler.app.rtsp

Into the next text field copy this:

/usr/bin/X11/realplay

Now you do the same thing again, but this time you do not choose "string" but "boolean", and the line to copy is:

network.protocol-handler.external.rtsp

Then set

true
 

How to load Web site faster in Mozilla Firefox

  • Okuyun: #Genel Notlar
  • Applications -> Internet -> Firefox Web Browser
  • Mozilla Firefox
Address Bar -> about:config
Filter: ->
network.dns.disableIPv6 -> true
network.http.pipelining -> true
network.http.pipelining.maxrequests -> 8
network.http.proxy.pipelining -> true
  • Mozilla Firefox'u yeniden başlatın
 

How to disable beep sound for link find function in Mozilla Firefox

  • Okuyun: #Genel Notlar
  • Applications -> Internet -> Firefox Web Browser
  • Mozilla Firefox
Address Bar -> about:config
Filter: -> accessibility.typeaheadfind.enablesound -> false
  • Mozilla Firefox'u yeniden başlatın


 

How to apt-get the easy way (Synaptic)

  • Okuyun: #Genel Notlar
  • Step By Step Synaptic Package Manager Tutorials with Screenshots
  • System -> Administration -> Synaptic Package Manager
  • To enable the extra Universe and Multiverse repositories
    1. Settings -> Repositories
    2. In the Installation Media tab, click Add. There are three separate repositories; Dapper Drake, Security Updates and Updates. Select each repository and check Officially supported, Restricted copyright, Community maintained (Universe) and Non-free (Multiverse). Ensure you click OK between each repository to save your changes
    3. You should now see those three repositories under Channels. Make sure Officially supported, Restricted copyright, Community maintained (Universe) and Non-free (Multiverse) appears under each repository
  • To add backports and PLF (new versions of many applications. Unsupported. May contain illegal packages. Use at own risk.)
    1. Settings -> Repositories
    2. Click on Add and then Custom
    3. Paste the following four lines into the box and click Add Repository, one line at a time:
deb http://archive.ubuntu.com/ubuntu edgy-backports main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu edgy-backports main restricted universe multiverse
deb http://packages.freecontrib.org/plf edgy-plf free non-free
deb-src http://packages.freecontrib.org/plf edgy-plf free non-free
  • To refresh the list of known packages (equivalent to apt-get update)
Edit Menu -> Reload Package Information
  • To install all possible upgrades (equivalent to apt-get upgrade)
Edit Menu -> Mark All Upgrades... -> Default Upgrade
Edit Menu -> Apply Marked Changes
  • To search for a package (equivalent to apt-cache search package_name)
Edit Menu -> Search... Specify the package name
  • To install the selected package (equivalent to apt-get install package_name)
Select "package_name"
Package Menu -> Mark for Installation
Edit Menu -> Apply Marked Changes
  • To remove installed package (equivalent to apt-get remove package_name)
Select "package_name"
Package Menu -> Mark for Removal
Edit Menu -> Apply Marked Changes
 

What packages do the extra repositories provide

  • The PLF repository provides
    1. DVD playback support (libdvdcss2)
    2. Skype
    3. Sun Java SDK (Software Development Kit) and JRE (Java Runtime Environment)
    4. Opera Web browser
    5. RealPlayer 10
    6. Win32 binary multimedia codecs
 

How to install/uninstall .deb files

sudo dpkg -i package_file.deb
  • To uninstall .deb file
sudo dpkg -r package_name
 

How to find out which version of a package I have installed

dpkg -l packagename
 

How to convert .rpm files to .deb files

sudo alien package_file.rpm
 

How to compile .deb files from source

  • Okuyun: #Genel Notlar
  • Okuyun: #Yeni depoları nasıl ekleyebilirim?
  • There are various programs available to help automate the process of create .deb files from source. For more information, see the links at the end of this section. A basic well tested method is described here.
  • Install the necessary software to build the source (build-essential may be all that is necessary, though there may be other dependencies) and checkinstall (which creates deb files).
sudo apt-get install checkinstall build-essential
  • In the directory where you have extracted the source, after you have run ./configure and make you can create a .deb file and install it with either of the following commands. The second -D option creates a .deb file in the directory that you can share with others or install without needing the source.
sudo checkinstall

or

sudo checkinstall -D
 

How to rename all files in directory at once

wget -c http://easylinux.info/uploads/mvb_1.6.tgz
sudo tar zxvf mvb_1.6.tgz -C /usr/share/
sudo chown -R root:root /usr/share/mvb_1.6/
sudo ln -fs /usr/share/mvb_1.6/mvb /usr/bin/mvb

  • To rename all files in directory at once
mvb NEW_NAME
 

How to manipulate all image files in directory at once

sudo apt-get install imagemagick
wget -c http://easylinux.info/uploads/bbips.0.3.2.sh
sudo cp bbips.0.3.2.sh /usr/bin/bbips
sudo chmod 755 /usr/bin/bbips
  • To manipulate all image files in directory at once
bbips
 

How to set System-wide Environment Variables

sudo cp -p /etc/profile /etc/profile_backup
gksudo gedit /etc/profile
  • Append the System-wide Environment Variables at the end of file
  • Dosyayı kaydedin
 

How to save "man" outputs into files

man command | col -b > file.txt
 

How to hide GRUB menu on boot-up

sudo cp /boot/grub/menu.lst /boot/grub/menu.lst_backup
gksudo gedit /boot/grub/menu.lst

  • Şu satırı bulun:
...
#hiddenmenu
...
  • Aşağıdaki ile değiştirin
hiddenmenu
  • Dosyayı kaydedin
 

How to change the timeout seconds for GRUB menu on boot-up

sudo cp /boot/grub/menu.lst /boot/grub/menu.lst_backup
gksudo gedit /boot/grub/menu.lst
  • Şu satırı bulun:
...
timeout 3
...
  • Aşağıdaki ile değiştirin
timeout     X_seconds
  • Dosyayı kaydedin
 

How to change default Operating System boot-up for GRUB menu

sudo cp /boot/grub/menu.lst /boot/grub/menu.lst_backup
gksudo gedit /boot/grub/menu.lst
  • Şu satırı bulun:
...
default 0
...
  • Aşağıdaki ile değiştirin
default     X_sequence
  • Dosyayı kaydedin
 

How to display Splash Image for GRUB menu on boot-up

e.g. Assumed that hd0,1 is the location of Ubuntu boot partition
wget -c http://easylinux.info/uploads/ubuntu.xpm.gz
chmod 644 ubuntu.xpm.gz
sudo mkdir /boot/grub/images
sudo cp ubuntu.xpm.gz /boot/grub/images/
sudo cp /boot/grub/menu.lst /boot/grub/menu.lst_backup
gksudo gedit /boot/grub/menu.lst
  • Aşağıdaki bölümü bulun
# menu.lst - See: grub(8), info grub, update-grub(8)
# grub-install(8), grub-floppy(8),
# grub-md5-crypt, /usr/share/doc/grub
# and /usr/share/doc/grub-doc/.
...
  • Add the following line below it
splashimage (hd0,1)/boot/grub/images/ubuntu.xpm.gz
NOTE: If you have seperate boot partition use this line: splashimage (hd0,1)/grub/images/ubuntu.xpm.gz
  • Dosyayı kaydedin
 

How to convert Wallpaper to Splash Image for GRUB menu

e.g. Assumed that wallpaper.png is the Wallpaper to be converted to Splash Image
splashimage.xpm.gz is the Splash Image for GRUB menu
convert -resize 640x480 -colors 14 wallpaper.png splashimage.xpm && gzip splashimage.xpm
 

How to display only one kernel on GRUB menu

sudo cp /boot/grub/menu.lst /boot/grub/menu.lst_backup-`date +%F`
gksudo gedit /boot/grub/menu.lst
  • Şu satırı bulun:
...
# howmany=all
...
  • Aşağıdaki ile değiştirin
# howmany=1

Where 1 means to keep the last kernel, 2 to keep the last 2 kernels, etc. Do not delete the # symbol. The menu will be updated once a new kernel will be updated by the system, not before.

  • Dosyayı kaydedin
 

How to force GDM to system beep when login screen ready

  • Okuyun: #Genel Notlar
  • This is useful on computers where headphones are usually plugged in, allowing them to utilize the speakers for this attention-getting task.
echo foo >> ~/foo.wav
  • System -> Administration -> Login Window -> Accessibility

Now make sure the "Login Screen Ready" check mark is checked. Click on the folder icon and navigate to your home folder and select "foo.wav".

rm foo.wav

The drop down menu should now say "(None)"

 

How to temporary skip boot-up services

Press 'Ctrl + C'
 

How to permanently disable/enable boot-up services

 

How to clean /tmp/ folder contents on shutdown

sudo cp /etc/init.d/sysklogd /etc/init.d/sysklogd_backup
gksudo gedit /etc/init.d/sysklogd
  • Aşağıdaki bölümü bulun
...
stop)
log_begin_msg "Stopping system log daemon..."
start-stop-daemon --stop --quiet --oknodo --exec $binpath --pidfile $pidfile
log_end_msg $?
...
  • Add the following line below it
  rm -fr /tmp/* /tmp/.??*
  • Dosyayı kaydedin
 

How to scroll up and down to view previous outputs in Console mode

Press 'Shift + Page Up'
  • To scroll down to view previously outputs
Press 'Shift + Page Down'
 

How to find out which version of Ubuntu I am using

cat /etc/issue


 

How to set up (automatic) background/wallpaper-changer application for GNOME


  • Okuyun: #Genel Notlar
  • To install the script into a different location than your home directory, replace "~" with your path
cd ~
wget http://members.chello.at/horst.jens/files/wallpaperchanger.py
chmod +x wallpaperchanger.py
~/wallpaperchanger.py
gedit ~/.wallpaperchanger/wallpaperchangerconfig.py
  • Edit all the lines not beginning with an "#" according to your needs. Save the file and close gedit.
  • To create an menu entry for wallpaperchanger:
Click the menuitems: Applications -> Accessoires -> Alacarte Menu Editor -> File -> New Entry:
Name: wallpaperchanger
command: ~/wallpaperchanger.py

  • To change desktop background every time you reboot your computer:
Click the menuitems: System -> Preferences -> Session -> Startup Programs -> Add:
~/wallpaperchanger.py
 

How to set up automatic background change (KDE)

  • Go to K-menu -> System Settings -> Desktop -> Background
  • Choose Slide Show
  • Press Setup...
  • Press Add... to add pictures you wish to see as desktop background
  • Set 'Change picture after' to desired picture rotation interval.
  • Press 'OK'
 

How to add keyboard layouts for other languages

  • Go to System -> Preferences -> Keyboard
  • Choose Layouts
  • Press Add... to add the secondary keyboard layout. It is simpler to have two layouts; the maximum is currently four for Xorg.
  • Choose Layout Options
  • Expand option Group Shift/Lock behaviour
  • Choose the key combination that enables you to switch between keyboard layouts. The default is by pressing both Alt keys at the same time. A common alternative is to use Alt+Shift.
  • Press Close.

See #How to add the Keyboard (Layout) Indicator applet to add the Keyboard Indicator applet.

 

How to add keyboard layouts toggle for other languages (Xfce)

  • use *.lst files on /etc/X11/xkb/rules to select 2nd_laguage_code
setxkbmap -option grp:switch,grp:alt_shift,grp_led:scroll us,2nd_laguage_code
  • you can add it to a startup file, which will be set to be executed on startup, with the following lines (remember to 'chmod +x' the file):
#!/bin/tcsh
setxkbmap -option grp:switch,grp:alt_shift,grp_led:scroll us,il
 

How to add the Keyboard (Layout) Indicator applet

  • Right-click on empty space on the top panel so that you see the pop-up menu.
  • Click Add to Panel...
  • Choose Keyboard Indicator (it is under the Utilities section, at the end)

The Keyboard Indicator applet appears on the panel. The default language should be USA for U.S. English. You can either right-click on this applet for more options or see above on how to configure.

 

How to type extended characters

  • Add the keyboard layout US English International (with dead keys)
  • Make US English International (with dead keys) the default keyboard layout.

The key marked ['"] is now a dead key. When you press it, nothing happens. However if you press a consonant immediately afterwards, the consonant appears with an accent.

  • ' + a = á
  • ' + e = é
  • and so on for i-í, o-ó, y-ý, c-ć, z-ź, n-ń, l-ĺ, u-ú, r-ŕ
  • " + a = ä
  • " + e = ë
  • and so on for y-ÿ, u-ü, i-ï, o-ö

Similarly, ` and a consonant generates à, è, ù, ì, ò. Similarly, ~ and a consonant generates ã, ũ, ĩ, õ, ñ.

To type ' and ", press RightAlt+' and RightAlt+" respectively. To type ' and ", you may also press '+<space> and "+<space> respectively.

There are more characters available by keeping RightAlt pressed and typing a character. Therefore,

  • RightAlt+q = ä
  • RightAlt+w = å
  • RightAlt+e = é
  • RightAlt+r = ®
  • RightAlt+t = þ
  • RightAlt+y = ü
  • RightAlt+u = ú
  • RightAlt+i = í
  • RightAlt+o = ó
  • RightAlt+p = ö
  • RightAlt+[ and ] for « and » respectively.
  • RightAlt+a = á
  • RightAlt+s = ß
  • RightAlt+d = ð
  • RightAlt+l = ø
  • RightAlt+; = ¶
  • RightAlt+: = °
  • RightAlt+z = æ
  • RightAlt+c = ©
  • RightAlt+n = ñ
  • RightAlt+m = µ
  • RightAlt+, = ç
  • RightAlt+/ = ¿
  • RightAlt+1 = ¡
  • RightAlt+2 = ²
  • RightAlt+3 = ³
  • RightAlt+4 = ¤
  • RightAlt+5 = €
  • RightAlt+6 = ¼
  • RightAlt+7 = ½
  • RightAlt+8 = ¾
  • RightAlt+9 = ‘
  • RightAlt+0 = ’
  • RightAlt+- = ¥
  • RightAlt+= = ×
  • RightAlt+! = ¹
  • RightAlt+@, then o = ő (and Ő).
  • RightAlt+#, then a = ā (and Ā). Similarly for ēĒ, ūŪ, īĪ, ōŌ.
  • RightAlt+$ = £
  • RightAlt+% =
  • RightAlt+^ =
  • RightAlt+& =
  • RightAlt+*, then a = ą (and Ą). Similarly for ęĘ, įĮ.
  • RightAlt+(, then a = ă (and Ă)
  • RightAlt+(, then g = ğ (and Ğ)
  • RightAlt+), then a = å (and Å)
  • RightAlt+_ =
  • RightAlt++ = ÷
 

How to set the Compose key to type special characters

  • Click System, Preferences, Keyboard.
  • Under Layout Options, expand on Compose key position.
  • Choose Right-Win key is compose, click Close.

Now you can type extended characters using the RightWin key (next to AltGr), according to this keyboard settings file. Specifically, the lines that start with GDK_Multi_key are those that we can use here. The Compose key is actually GDK_Multi_key.

Some examples,

  • RightWin + C + = produces €
  • RightWin + = + C produces €
  • RightWin + C + O produces ©
  • RightWin + O + C produces ©
  • RightWin + a + ' produces á
  • RightWin + a + " produces ä
  • RightWin + a + ` produces à
  • RightWin + a + ~ produces ã
  • RightWin + a + * produces å
  • RightWin + a + ^ produces â
  • RightWin + a + > produces â
  • RightWin + a + , produces ą
  • RightWin + e + - produces ē
  • RightWin + S + 1 produces ¹
  • RightWin + S + 2 produces ²
  • RightWin + S + 3 produces ³
 

How to install ubuntu-title font used in Ubuntu logo

sudo apt-get install ttf-ubuntu-title

Now you can use this font in your favorite applications

 

How to associate Adobe Reader with files in Nautilus

Now when you double-click on a .pdf file, it will be opened with Adobe Reader.

 

How to print from Adobe Reader

/usr/bin/lp -d FS-1010
 

How to pull apart and combine pdf files

sudo apt-get install pdftk
cd
mkdir bin
cd bin
gedit pdftk_burst
  • add the following text to pdftk_burst:
#!/bin/bash
cd ${1%/*}
/usr/bin/pdftk "$1" burst
rm doc_data.txt
  • save and close pdftk_burst
gedit pdftk_cat
  • add the following text to pdftk_cat:
#!/bin/bash
cd ${1%/*}
outfile="00out.pdf"
if [ -f $outfile ] ; then
rm -f $outfile
fi
/usr/bin/pdftk *.pdf cat output $outfile
  • save and close pdftk_cat
chmod u+x pdftk_burst pdftk_cat
  • open Nautilus (Places -> Desktop) and browse to a .pdf file
  • right-click the .pdf file, select Properties, go to the Open With tab, click Add, click Use a Custom Command, click Browse, browse to pdftk_burst. Do the same with pdftk_cat.

Now, when you right-click on a .pdf file, you'll get two extra options:

  • Open With -> pdftk_burst which will convert a 30 page pdf file to 30 x 1 page pdf files
  • Open With -> pdftk_cat which will join together all the pdf files in the same directory, and create a file called 00out.pdf

Note: this won't work with pdfs with any type of protection - read man pdftk for more command line options.

 

How to remove jedit when Synaptic package manager fails after install

sudo dpkg --remove --force-depends --force-remove-reinstreq jedit

Now, you can use your Synaptic package manager again.

 

Servers

 

Ubuntu Edgy LAMP Server


 

AntiVirus Server

 

How to install ClamAV AntiVirus Server

sudo apt-get install clamav
 

How to manually update virus databases

sudo freshclam
 

How to manually scan files/folders for viruses

sudo clamscan -r /location_of_files_or_folders
 

How to automatically scan files/folders for viruses

e.g. Automatically scan files/folders for viruses at midnight everyday
* * * * * means minute hour date month year
export EDITOR=gedit &&  sudo crontab -e
  • Dosyanın sonuna aşağıdaki satırı ekleyin:
00 00 * * *  sudo clamscan -r /location_of_files_or_folders
  • Dosyayı kaydedin
 

Monitoring Server

If you want to monitor your Ubuntu servers and istemcis like memory usage,CPU usage,Load average,Disk usage,Mysql monitoring, Network Monitoring,Processes Monitoring this is for you

Monitor your Ubuntu Servers and istemcis using Munin

 

Print Server (cupsd)

 

How to install cupsd

Cupsd should be automatically installed during standard instaltion. Checkout if there is a file "/etc/init.d/cupsys". If you want to manually install it, do
 sudo apt-get install cupsys*
 

How to add a printer

  • Go to System -> Administration -> Printing.
  • Choose "Add printer".
  • "Add printer wizard" should start and tell you what to do.
 

How to print on remote Ubuntu machine from another Ubuntu machine

  • Make sure your local printer is well configured.
  • Enable local printer sharing - System -> Administration -> Printing -> Global Settings menu -> Share printers
  • Server ip address: 192.168.0.1
  • istemci ip address: 192.168.0.23
    • Server configuration
 sudo cp /etc/cups/cupsd.conf /etc/cups/cupsd.conf.backup
gksudo gedit /etc/cups/cupsd.conf
find the block
<Location />
...
Allow localhost
...
</Location>
and add the following line into it.
 Allow 192.168.0.23
Restart cups.
 sudo /etc/init.d/cupsys restart
    • istemci configuration
 sudo cp /etc/cups/client.conf /etc/cups/client.conf.backup
gksudo gedit /etc/cups/client.conf
And add the following line into it.
 ServerName 192.168.0.1
Restart cups.
 sudo /etc/init.d/cupsys restart
Now try "lpq" and you should see something like
 vitek@lightfox:~$ lpq
HPLJ6P is ready
no entries
 

How to print on remote Ubuntu machine from a Windows machine

 

Samba Server

 

How to install Samba Server for files/folders sharing service

sudo apt-get install samba smbfs
 

How to add/edit/delete network users

sudo smbpasswd -a system_username
gksudo gedit /etc/samba/smbusers
    • Yeni dosyaya aşağıdaki satırı ekleyin
system_username = "network username"
    • Dosyayı kaydedin
  • To edit network user
sudo smbpasswd -a system_username
  • To delete network user
sudo smbpasswd -x system_username
 

How to share home folders with read only permission (Authentication=Yes)

sudo cp /etc/samba/smb.conf /etc/samba/smb.conf_backup
gksudo gedit /etc/samba/smb.conf
  • Şu satırı bulun:
...
; security = user
...
  • Aşağıdaki ile değiştirins
  security = user
username map = /etc/samba/smbusers
sudo testparm
sudo /etc/init.d/samba restart
 

How to share home folders with read/write permissions (Authentication=Yes)

sudo cp /etc/samba/smb.conf /etc/samba/smb.conf_backup
gksudo gedit /etc/samba/smb.conf
  • Şu satırı bulun:
...
; security = user
...
  • Aşağıdaki ile değiştirins
  security = user
username map = /etc/samba/smbusers
  • Aşağıdaki bölümü bulun
...
# By default, the home directories are exported read-only. Change next
# parameter to 'yes' if you want to be able to write to them.
writable = no
...
  • Aşağıdaki ile değiştirins
# By default, the home directories are exported read-only. Change next
# parameter to 'yes' if you want to be able to write to them.
writable = yes
sudo testparm
sudo /etc/init.d/samba restart
 

How to share group folders with read only permission (Authentication=Yes)

sudo mkdir /home/group
sudo chmod 777 /home/group/
sudo cp /etc/samba/smb.conf /etc/samba/smb.conf_backup
gksudo gedit /etc/samba/smb.conf
  • Şu satırı bulun:
...
; security = user
...
  • Aşağıdaki ile değiştirins
 security = user
username map = /etc/samba/smbusers
  • Append the following lines at the end of file
[Group]
comment = Group Folder
path = /home/group
public = yes
writable = no
valid users = system_username1 system_username2
create mask = 0700
directory mask = 0700
force user = nobody
force group = nogroup

sudo testparm
sudo /etc/init.d/samba restart
 

How to share group folders with read/write permissions (Authentication=Yes)


sudo mkdir /home/group
sudo chmod 777 /home/group/
sudo cp /etc/samba/smb.conf /etc/samba/smb.conf_backup
gksudo gedit /etc/samba/smb.conf
  • Şu satırı bulun:
...
; security = user
...
  • Aşağıdaki ile değiştirins
  security = user
username map = /etc/samba/smbusers
  • Append the following lines at the end of file
[Group]
comment = Group Folder
path = /home/group
public = yes
writable = yes
valid users = system_username1 system_username2
create mask = 0700
directory mask = 0700
force user = nobody
force group = nogroup
sudo testparm
sudo /etc/init.d/samba restart
 

How to share public folders with read only permission (Authentication=Yes)


sudo mkdir /home/public
sudo chmod 777 /home/public/
sudo cp /etc/samba/smb.conf /etc/samba/smb.conf_backup
gksudo gedit /etc/samba/smb.conf
  • Şu satırı bulun:
...
; security = user
...
  • Aşağıdaki ile değiştirins
  security = user 
username map = /etc/samba/smbusers
  • Append the following lines at the end of file
[public]
comment = Public Folder
path = /home/public
public = yes
writable = no
create mask = 0777
directory mask = 0777
force user = nobody
force group = nogroup
sudo testparm
sudo /etc/init.d/samba restart
 

How to share public folders with read/write permissions (Authentication=Yes)

sudo mkdir /home/public
sudo chmod 777 /home/public/
sudo cp /etc/samba/smb.conf /etc/samba/smb.conf_backup
gksudo gedit /etc/samba/smb.conf
  • Şu satırı bulun:
...
; security = user
...
  • Aşağıdaki ile değiştirins
  security = user
username map = /etc/samba/smbusers
  • Append the following lines at the end of file
[public]
comment = Public Folder
path = /home/public
public = yes
writable = yes
create mask = 0777
directory mask = 0777
force user = nobody
force group = nogroup
sudo testparm
sudo /etc/init.d/samba restart
 

How to share public folders with read only permission (Authentication=No)

sudo mkdir /home/public
sudo chmod 777 /home/public/
sudo cp /etc/samba/smb.conf /etc/samba/smb.conf_backup
gksudo gedit /etc/samba/smb.conf
  • Şu satırı bulun:
...
; security = user
...
  • Aşağıdaki ile değiştirin
  security = share
  • Append the following lines at the end of file
[public]
comment = Public Folder
path = /home/public
public = yes
writable = no
create mask = 0777
directory mask = 0777
force user = nobody
force group = nogroup
  • Dosyayı kaydedin
sudo testparm
sudo /etc/init.d/samba restart
 

How to share public folders with read/write permissions (Authentication=No)

sudo mkdir /home/public
sudo chmod 777 /home/public/
sudo cp /etc/samba/smb.conf /etc/samba/smb.conf_backup
gksudo gedit /etc/samba/smb.conf
  • Şu satırı bulun:
...
; security = user
...
  • Aşağıdaki ile değiştirin
  security = share
  • Append the following lines at the end of file
[public]
comment = Public Folder
path = /home/public
public = yes
writable = yes
create mask = 0777
directory mask = 0777
force user = nobody
force group = nogroup

  • Dosyayı kaydedin
sudo testparm
sudo /etc/init.d/samba restart
 

How to print on remote Ubuntu machine via samba

 sudo cp /etc/samba/smb.conf /etc/samba/smb.conf.backup
gedit /etc/samba/smb.conf
Find the following lines
 ...
# printing = cups
# printcap name = cups
...
and uncomment them.
 printing = cups
printcap name = cups
Restart cups server
 sudo /etc/init.d/cupsys restart
Now printers working on your Ubuntu machine should be acessible via samba.
 

SSH Server

 

How to install SSH Server for remote administration service

sudo apt-get install ssh
 

How to SSH into remote Ubuntu machine

e.g. Assumed that remote Ubuntu machine have installed SSH Server service
Okuyun: #How to install SSH Server for remote administration service
Remote Ubuntu machine: 192.168.0.1
ssh username@192.168.0.1
 

How to copy files/folders from remote Ubuntu machine into local machine (scp)

e.g. Assumed that remote Ubuntu machine have installed SSH Server service
Okuyun: #How to install SSH Server for remote administration service
Remote Ubuntu machine: 192.168.0.1
Remote files/folders location: /home/username/remotefile.txt
Local machine save location: . (current directory)
scp -r username@192.168.0.1:/home/username/remotefile.txt .
 

How to copy files/folders from local machine into remote Ubuntu machine (scp)

e.g. Assumed that remote Ubuntu machine have installed SSH Server service
Okuyun: #How to install SSH Server for remote administration service
Local files/folders location: localfile.txt
Remote Ubuntu machine: 192.168.0.1
Remote Ubuntu machine save location: /home/username/
scp -r localfile.txt username@192.168.0.1:/home/username/
 

How to copy files/folders from remote Ubuntu machine into local machine (rsync)

e.g. Assumed that remote Ubuntu machine have installed SSH Server service
Okuyun: #How to install SSH Server for remote administration service
Remote Ubuntu machine: 192.168.0.1
Remote files/folders location: /home/username/remotefile.txt
Local machine save location: . (current directory)
rsync -v -u -a --delete --rsh=ssh --stats username@192.168.0.1:/home/username/remotefile.txt .
 

How to copy files/folders from local machine into remote Ubuntu machine (rsync)

e.g. Assumed that remote Ubuntu machine have installed SSH Server service
Okuyun: #How to install SSH Server for remote administration service
Local files/folders location: localfile.txt
Remote Ubuntu machine: 192.168.0.1
Remote Ubuntu machine save location: /home/username/
rsync -v -u -a --delete --rsh=ssh --stats localfile.txt username@192.168.0.1:/home/username/
 

How to mount remote folders into local Ubuntu machine (sshfs)

e.g. Assumed that remote machine has installed SSH Server service
Okuyun: #How to install SSH Server for remote administration service
Remote machine: 192.168.0.1
Remote machine folder location: /media/music
  • Install sshfs
sudo apt-get install sshfs
  • Load kernel driver for sshfs
sudo modprobe fuse
  • Join the 'fuse' user group
sudo adduser your_user_name fuse
  • Logout and login for this to take effect.
  • Create local mountpoint in your home directory
mkdir ~/remote_music
  • Mount the remote folder into ~/remote_music
sshfs 192.168.0.1:/media/music ~/remote_music
 

How to SSH into remote Ubuntu machine via Windows machine

e.g. Assumed that remote Ubuntu machine have installed SSH Server service
Okuyun: #How to install SSH Server for remote administration service
  • Download PuTTY: Here


 

How to copy files/folders from/into remote Ubuntu machine via Windows machine

e.g. Assumed that remote Ubuntu machine have installed SSH Server service
Okuyun: #How to install SSH Server for remote administration service
  • Download FileZilla: Here
 

How to limit the user accounts that can connect through ssh remotely

e.g. If you enable the SSH server, then any user with a valid account can connect remotely
This can lead to security risks, as there exist remote password cracking tools that
try common username/password pairs.
  • Keep a backup of the ssh server configuration file with

sudo cp /etc/ssh/sshd_config /etc/ssh/sshd_config.ORIGINAL

  • Edit the configuration file

gksudo gedit /etc/ssh/sshd_config

  • Change the parameter PermitRootLogin from yes to no. The superuser must not be able to connect directly from remote.
  • Add the parameter AllowUsers and specify the usernames (space separated) that can connect remotely.
  • You can also use DenyUsers for fine-grained selection of users.
  • If you enable the openssh server and you have no intention for now to enable remote connections, you may add AllowUsers nosuchuserhere to disable anyone connecting.
 

DHCP Server

 

How to install DHCP Server for automatic IP addresses assignment

e.g. Assumed that "eth0" is the interface for network card
IP Address Range: 192.168.0.100 to 192.168.0.200
Subnet Mask: 255.255.255.0
DNS Servers: 202.188.0.133, 202.188.1.5
Domains: tm.net.my
Gateway Address: 192.168.0.1
sudo apt-get install dhcp3-server
sudo cp /etc/default/dhcp3-server /etc/default/dhcp3-server_backup
gksudo gedit /etc/default/dhcp3-server
  • Şu satırı bulun:
...
INTERFACES=""
  • Aşağıdaki ile değiştirin
INTERFACES="eth0"
  • Dosyayı kaydedin
sudo cp /etc/dhcp3/dhcpd.conf /etc/dhcp3/dhcpd.conf_backup
gksudo gedit /etc/dhcp3/dhcpd.conf
  • Aşağıdaki bölümü bulun
...
# option definitions common to all supported networks...
option domain-name "example.org";
option domain-name-servers ns1.example.org, ns2.example.org;
default-lease-time 600;
max-lease-time 7200;
...
  • Aşağıdaki ile değiştirins
# option definitions common to all supported networks...
#option domain-name "example.org";
#option domain-name-servers ns1.example.org, ns2.example.org;
#default-lease-time 600;
#max-lease-time 7200;
  • Aşağıdaki bölümü bulun
...
# A slightly different configuration for an internal subnet.
#subnet 10.5.5.0 netmask 255.255.255.224 {
# range 10.5.5.26 10.5.5.30;
# option domain-name-servers ns1.internal.example.org;
# option domain-name "internal.example.org";
# option routers 10.5.5.1;
# option broadcast-address 10.5.5.31;
# default-lease-time 600;
# max-lease-time 7200;
#}
...
  • Aşağıdaki ile değiştirins
# A slightly different configuration for an internal subnet.
subnet 192.168.0.0 netmask 255.255.255.0 {
range 192.168.0.100 192.168.0.200;
option domain-name-servers 202.188.0.133, 202.188.1.5;
option domain-name "tm.net.my";
option routers 192.168.0.1;
option broadcast-address 192.168.0.255;
default-lease-time 600;
max-lease-time 7200;
}
  • Dosyayı kaydedin
sudo /etc/init.d/dhcp3-server restart


 

Database Server

 

How to install MYSQL Database Server

sudo apt-get install mysql-server
  • MySQL initially only allows connections from the localhost (127.0.0.1). We'll need to remove that restriction if you wish to make it accessible to everyone on the internet. Open the file /etc/mysql/my.cnf
gksudo gedit /etc/mysql/my.cnf
  • Find the line bind-address = 127.0.0.1 and comment it out
...
#bind-address = 127.0.0.1
...
  • MySQL comes with no root password as default. This is a huge security risk. You'll need to set one. So that the local computer gets root access as well, you'll need to set a password for that too. The local-machine-name is the name of the computer you're working on. For more information see here
mysqladmin -u root password your-new-password
mysqladmin -h root@local-machine-name -u root -p password your-new-password
sudo /etc/init.d/mysql restart
 

MySQL Database backup using AutoMySQLBackup

  • AutoMySQLBackup is a script to take daily, weekly and monthly backups of your MySQL databases using mysqldump.
  • AutoMySQLBackup Script Features
    • Backup mutiple MySQL databases with one script. (Now able to backup ALL databases on a server easily. no longer need to specify each database seperately)
    • Backup all databases to a single backup file or to a seperate directory and file for each database.
    • Automatically compress the backup files to save disk space using either gzip or bzip2 compression.
    • Can backup remote MySQL servers to a central server.
    • Runs automatically using cron or can be run manually.
    • Can e-mail the backup log to any specified e-mail address instead of “root”. (Great for hosted websites and databases).
    • Can email the compressed database backup files to the specified email address.
    • Can specify maximun size backup to email.
    • Can be set to run PRE and POST backup commands.
    • Choose which day of the week to run weekly backups.
  • Download from here
  • AutoMySQLBackup Requirements

The AutoMySQLBackup script only requires mysqldump (A standard utility provided with the mysql istemci) and gzip or bzip2 for compression of the backup files. If you would like to have the log emailed to you then you will need to have permission to execute the “mail” program. If you want the compressed backup files mailed to you then Mutt must be available on the server. Finally you will need a bash shell and the standard system tools and utilities (all these requirements should be the default on most linux system.)

  • What AutoMySQLBackup does

Every day AutoMySQLBackup will run (if setup in /etc/cron.daily) and using mysqldump and gzip will dump your specified databases to the /backups/daily directory, it will rotate daily backups weekly so you should never have more than 7 backups in there..

Every Saturday AutoMySQLBackup will again backup the databases you have chosen but they will be placed into /backups/weekly, these will be rotated every 5 weeks so there should never be more than 5 backups in there..

Every 1st of the month AutoMySQLBackup will create a backup of all databases and place them into /backups/monthly. These will never be rotated so it will be up to you to do your own house keeping. I would suggest taking a copy of this offline every month or two so that if you have a hard drive failure you will be able to restore your database

  • AutoMySQLBackup Installation

The install is as simple as editing a few variables in the AutoMySQLBackup file. The full setup is documented in the AutoMySQLBackup script file below the variables section.

  • Download automysqlbackup.sh and place it into your /etc/cron.daily directory or your home directory.
  • Edit (at least) the following lines :
...
USERNAME=dbuser
PASSWORD=password DBNAMES=”DB1 DB2 DB3″
...
  • Note:The user must have at least select privileges to the databases and make sure to keep the quotes ” ” otherwise it won’t work
  • Make the file executable :
sudo chmod u+rwx
  • Create the following directory
./backups
  • That’s it...Now you can run it using the command line “./automysqlbackup.sh” or if it is in /etc/cron.daily it will run each day when cron
 

How to install MYSQL Administrator

sudo apt-get install mysql-admin
 

How to install Oracle Database XE

  • Add the following repository to your /etc/apt/sources.list:
deb http://oss.oracle.com/debian unstable main non-free
  • Install the software using apt-get
sudo apt-get update
sudo apt-get install oracle-xe
  • Add your login to the 'dba' group (where your login name is username)
sudo usermod -G dba -a username
 

Apache HTTP Server

 

How to install Apache HTTP Server for HTTP (Web) Server service

sudo apt-get install apache2
 

How to install PHP for Apache HTTP Server

 
How to install PHP4
sudo apt-get install php4
sudo apt-get install libapache2-mod-php4
sudo /etc/init.d/apache2 restart
  • To test if php4 installed correctly
gksudo gedit /var/www/testphp.php
  • Yeni dosyaya aşağıdaki satırı ekleyin
<?php phpinfo(); ?>
 
How to install PHP5
sudo apt-get install php5
sudo apt-get install libapache2-mod-php5
sudo /etc/init.d/apache2 restart
  • To test if php5 installed correctly
gksudo gedit /var/www/testphp.php
  • Yeni dosyaya aşağıdaki satırı ekleyin
<?php phpinfo(); ?>
 

How to install MYSQL for Apache HTTP Server

sudo apt-get install libapache2-mod-auth-mysql
  • Select either php4-mysql or php5-mysql depending on which version of PHP you installed
sudo apt-get install php<version-number>-mysql
sudo apt-get install phpmyadmin
  • To get PHP to work with MySQL, open the file (where <version> is either 4 or 5 depending on which PHP you installed)
gksudo gedit /etc/php<version>/apache2/php.ini
  • You'll need to uncomment the ";extension=mysql.so" line so that it looks like this
...
extension=mysql.so
...
  • Save the file then exit
sudo /etc/init.d/apache2 restart
 

How to install Python for Apache 2

sudo aptitude install python
sudo aptitude install libapache2-mod-python
 

How to map URLs to folders outside /var/www/

gksudo gedit /etc/apache2/conf.d/alias
  • Aşağıdaki satırları dosyaya ekleyin
Alias /URL-path /location_of_folder/
<Directory /location_of_folder/>
Options Indexes FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
</Directory>
  • Dosyayı kaydedin
sudo /etc/init.d/apache2 restart
  • When you get "403 - Permission denied", you might try:
chmod o+x /location_of_folder/
  • If that doens't work, the following might help:
chmod o+r,o+x /location_of_folder/
 

How to change the default port number for Apache HTTP Server

e.g. Assumed that new port number is 78
sudo cp /etc/apache2/ports.conf /etc/apache2/ports.conf_backup
gksudo gedit /etc/apache2/ports.conf
  • Şu satırı bulun:
Listen 80
  • Aşağıdaki ile değiştirin
Listen 78
  • Dosyayı kaydedin
sudo /etc/init.d/apache2 restart
 

How to parse RSS into PHP for Apache HTTP Server

e.g. Assumed that RSS is DistroWatch.com - News
wget -c http://easylinux.info/uploads/magpierss-0.71.1.tar.gz
sudo mkdir /var/www/feeds
sudo tar zxvf magpierss-0.71.1.tar.gz -C /var/www/feeds/
sudo mv /var/www/feeds/magpierss-0.71.1/* /var/www/feeds/
sudo rm -fr /var/www/feeds/magpierss-0.71.1/
sudo chown -R www-data:root /var/www/feeds/
gksudo gedit /var/www/feeds/index.php
  • Aşağıdaki satırları dosyaya ekleyin
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">

<head>

<title>DistroWatch.com - News</title>

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>

<style type="text/css">
/*<![CDATA[*/
/*
DEFAULT TAG STYLES
*/

body {
background: #ffffff;
margin-left: 20px;
font-family: bitstream vera sans,sans-serif;
font-size: 9pt;
}

h1 {
font-family: luxi sans,sans-serif;
font-size: 15pt;
}

/*]]>*/
</style>

</head>

<body>

<?php

require_once 'rss_fetch.inc';
error_reporting(E_ERROR);

$url = 'http://distrowatch.com/news/dw.xml';
$rss = fetch_rss($url);

if ($rss) {

echo "<h1>";
echo "<a href=$url>", $rss->channel[title], "</a><br/>";
echo "</h1>";

foreach ($rss->items as $item ) {
$url = $item[link];
$title = $item[title];
$description = $item[description];
echo "<li>";
echo "<b>Topic:</b> <a href=$url><b><u>$title</u></b></a><br/><br/>";
echo "$description<br/><br/>";
echo "</li>";
}

}
else {
echo "<a href=$url>", $url, "</a> - Server Down!<br/>";
}

?>

</body>

</html>

 

FTP Server

 

How to install FTP Server for File Transfer service

sudo apt-get install proftpd
 

How to configure FTP user to be "jailed" (chrooted) into their home directory

sudo cp /etc/proftpd/proftpd.conf /etc/proftpd/proftpd.conf_backup
gksudo gedit /etc/proftpd/proftpd.conf
  • Aşağıdaki bölümü bulun
...
DenyFilter \*.*/
...
  • Add the following line below it
DefaultRoot           ~

  • Dosyayı kaydedin
sudo /etc/init.d/proftpd restart
 

How to configure FTP Server to allow anonymous FTP user to read only

sudo cp /etc/proftpd/proftpd.conf /etc/proftpd/proftpd.conf_backup
gksudo gedit /etc/proftpd/proftpd.conf
  • Append the following lines at the end of file
<Anonymous ~ftp>
User ftp
Group nogroup
UserAlias anonymous ftp
DirFakeUser on ftp
DirFakeGroup on ftp
RequireValidShell off
MaxClients 10
DisplayLogin welcome.msg
DisplayFirstChdir .message
<Directory *>
<Limit WRITE>
DenyAll
</Limit>
</Directory>
</Anonymous>
  • Dosyayı kaydedin
sudo /etc/init.d/proftpd restart
 

How to configure FTP Server to allow anonymous FTP user to read/write

sudo cp /etc/proftpd/proftpd.conf /etc/proftpd/proftpd.conf_backup
gksudo gedit /etc/proftpd/proftpd.conf
  • Append the following lines at the end of file
<Anonymous ~ftp>
User ftp
Group nogroup
UserAlias anonymous ftp
DirFakeUser on ftp
DirFakeGroup on ftp
RequireValidShell off
MaxClients 10
DisplayLogin welcome.msg
DisplayFirstChdir .message
</Anonymous>
  • Dosyayı kaydedin
sudo /etc/init.d/proftpd restart
 

How to map anonymous FTP user to folders outside /home/ftp/

sudo cp /etc/proftpd/proftpd.conf /etc/proftpd/proftpd.conf_backup
gksudo gedit /etc/proftpd/proftpd.conf
  • Append the following lines at the end of file
<Anonymous /location_of_folder/>
User ftp
Group nogroup
UserAlias anonymous ftp
DirFakeUser on ftp
DirFakeGroup on ftp
RequireValidShell off
MaxClients 10
DisplayLogin welcome.msg
DisplayFirstChdir .message
<Directory *>
<Limit WRITE>
DenyAll
</Limit>
</Directory>
</Anonymous>
  • Dosyayı kaydedin
sudo /etc/init.d/proftpd restart
 

How to change the default port number for FTP Server

e.g. Assumed that new port number is 77
sudo cp /etc/proftpd/proftpd.conf /etc/proftpd/proftpd.conf_backup
gksudo gedit /etc/proftpd/proftpd.conf
  • Şu satırı bulun:
Port              21
  • Aşağıdaki ile değiştirin
Port              77
  • Dosyayı kaydedin
sudo /etc/init.d/proftpd restart
 

How to ftp into remote Ubuntu machine via Windows machine

e.g. Assumed that remote Ubuntu machine have installed FTP Server service
Okuyun: #How to install FTP Server for File Transfer service
  • Download FileZilla: Here
 

Streaming Media Server

 

How to install GNUMP3d for Streaming Media Server service

e.g. /var/music/ is the directory containing multimedia files
sudo apt-get install gnump3d
 

How to change the default directory containing multimedia files for GNUMP3d

e.g. Assumed that new directory containing multimedia files is /home/music/
sudo cp /etc/gnump3d/gnump3d.conf /etc/gnump3d/gnump3d.conf_backup
gksudo gedit /etc/gnump3d/gnump3d.conf
  • Şu satırı bulun:
root = /var/music
  • Aşağıdaki ile değiştirin
root = /home/music
  • Şu satırı bulun:
user = gnump3d
  • Aşağıdaki ile değiştirin
user = root
  • Dosyayı kaydedin
sudo /etc/init.d/gnump3d restart
 

How to change the default port number for GNUMP3d

e.g. Assumed that new port number is 7878
sudo cp /etc/gnump3d/gnump3d.conf /etc/gnump3d/gnump3d.conf_backup
gksudo gedit /etc/gnump3d/gnump3d.conf
  • Şu satırı bulun:
port = 8888
  • Aşağıdaki ile değiştirin
port = 7878
  • Dosyayı kaydedin
sudo /etc/init.d/gnump3d restart


 

Image Gallery Server

  • For a comparison between Gallery1 and Gallery2 see here
 

Gallery1

 
How to install Gallery1 for Image Gallery Server service
sudo apt-get install gallery (when prompted to restart Apache, choose No or Cancel)
sudo apt-get install imagemagick
sudo apt-get install jhead
sudo apt-get install libjpeg-progs
sudo /etc/init.d/apache2 restart
sudo sh /usr/share/gallery/configure.sh
Gallery Configuration Wizard: Step 1
Next Step ->
Gallery Configuration Wizard: Step 2
General settings Tab ->
Admin password: Specify the password

Locations and URLs Tab ->
Album directory: /var/www/albums/
Temporary directory: /tmp/
Gallery URL: http://localhost/gallery
Albums URL: http://localhost/albums
Next Step -->
Gallery Configuration Wizard: Step 3
Next Step -->
Gallery Configuration Wizard: Step 4
Save Config ->
 
How to configure Gallery1 to be accessible via Internet (Hostname or fix IP) or LAN (fix IP)
e.g. Assumed that network and internet connections have been configured properly
Internet (Hostname or fix IP) or LAN (fix IP): http://www.url.com
sudo cp /etc/gallery/config.php /etc/gallery/config.php_backup
gksudo gedit /etc/gallery/config.php
  • Aşağıdaki bölümü bulun
...
$gallery->app->photoAlbumURL = "http://localhost/gallery";
$gallery->app->albumDirURL = "http://localhost/albums";
...
  • Aşağıdaki ile değiştirins
$gallery->app->photoAlbumURL = "http://www.url.com/gallery";
$gallery->app->albumDirURL = "http://www.url.com/albums";
 
How to configure Gallery1 to be accessible via LAN (dynamic IP)
e.g. Assumed that network connections have been configured properly
LAN (dynamic IP): 192.168.0.1
sudo cp /etc/gallery/config.php /etc/gallery/config.php_backup
gksudo gedit /etc/gallery/config.php
  • Aşağıdaki bölümü bulun
...
$gallery->app->photoAlbumURL = "http://localhost/gallery";
$gallery->app->albumDirURL = "http://localhost/albums";
...
  • Aşağıdaki ile değiştirins
$gallery->app->photoAlbumURL = "/gallery";
$gallery->app->albumDirURL = "/albums";
 
How to backup/restore Gallery1 data
sudo tar zcvf gallery.tgz /var/www/albums/ /etc/gallery/
  • To restore Gallery data
sudo tar zxvf gallery.tgz -C /
 

Gallery2

 
How to install Gallery2
 
How to configure Gallery2
 

How to install Subversion version control server (svnserve)

  • Install Subversion and Internet services daemon
sudo apt-get install subversion xinetd
  • Create user that will own the repositories
sudo adduser --system --no-create-home --home /var/svn --group --disabled-login svn
  • Create directory that will hold the repositories
sudo mkdir /var/svn
sudo chown svn:svn /var/svn
  • Create file /etc/xinetd.d/svnserve with the following content
service svn
{
port = 3690
socket_type = stream
protocol = tcp
wait = no
user = svn
server = /usr/bin/svnserve
server_args = -i -r /var/svn
}
  • Restart xinetd
sudo /etc/init.d/xinetd restart
  • Create the first repository
sudo -u svn svnadmin create /var/svn/testrepo
  • It should be possible to check out the repository and work on it
svn co svn://localhost/testrepo
 

Troubleshooting

 

How to disable system time/date from being reset to UTC (GMT)

sudo cp /etc/default/rcS /etc/default/rcS_backup
gksudo gedit /etc/default/rcS
  • Şu satırı bulun:
...
UTC=yes
...
  • Aşağıdaki ile değiştirin
UTC=no
  • Dosyayı kaydedin
  • System -> Administration -> Time and Date

Set the correct time/date

sudo /etc/init.d/hwclock.sh restart
 

How to configure sound to work properly in GNOME

sudo killall esd
sudo cp /etc/esound/esd.conf /etc/esound/esd.conf_backup
gksudo gedit /etc/esound/esd.conf
  • Aşağıdaki bölümü bulun
...
auto_spawn=0
spawn_options=-terminate -nobeeps -as 5
...
  • Aşağıdaki ile değiştirins
auto_spawn=1
spawn_options=-terminate -nobeeps -as 2 -d default
  • Dosyayı kaydedin
sudo apt-get install libesd-alsa0
gksudo gedit /etc/asound.conf
  • Aşağıdaki satırları dosyaya ekleyin
pcm.card0 {
type hw
card 0
}

pcm.!default {
type plug
slave.pcm "dmixer"
}

pcm.dmixer {
type dmix
ipc_key 1025
slave {
pcm "hw:0,0"
period_time 0
period_size 2048
buffer_size 32768
rate 48000
}
bindings {
0 0
1 1
}
}
  • Dosyayı kaydedin
sudo ln -fs /usr/lib/libesd.so.0 /usr/lib/libesd.so.1
System -> Preferences -> Sound
Sound preferences
General Tab -> Sounds for events (Un-Checked)
  • Save and close all opened applications, Reboot computer
 

How to forcefully empty Trash in GNOME

sudo rm -fr $HOME/.Trash/
 

How to remove duplicate menu/menu items in GNOME

rm -f $HOME/.config/menus/applications.menu
 

How to refresh Places menu in GNOME (if mounts to /media/ in /etc/fstab does not show up)

sudo /etc/init.d/dbus restart
 

How to consume static (not dhcp) wireless LAN (WLAN) connection (KDE)

  • I assume you have successfully consumed WLAN connection in Windows
  • To enable the network device please follow the following steps
  • Go to K-menu -> System Settings -> Network Settings
  • Enable Administrator mode
  • Select Network Interfaces tab and the wireless interface (usually ath0) to configure
  • Click Configure Interface...
  • Choose Manual or Automatic. Choose Manual
  • Fill the preferred IP address to identify your computer and the netmask. Choose to activate when computer starts
  • Click Advanced Settings to for more properties
  • Select Routes tab and fill the gateway IP address
  • Make sure you choose the correct device in the right dropdown (e.g. ath0)
  • Click apply to commit all changes
  • To choose wireless connection please follow the following steps
  • Go to K-menu -> Internet -> Wireless Assistant
  • Right click on preferred connection ssid
  • Choose and complete fields for Manual connection
  • Click Ok
  • Create connection configuration
gksudo gedit /etc/wpa_supplicant.conf
  • Aşağıdaki satırları dosyaya ekleyin
network={
ssid="YOUR_PREFERRED_CONNECTION_SSID"
scan_ssid=1
proto=WPA
key_mgmt=WPA-PSK
psk="STRING_TO_GENERATE_PASSWORD"
#psk=123456789 #you have option to use connection key instead of connection password
}
  • Dosyayı kaydedin
  • Create script to easily activate connection
gksudo gedit /etc/init.d/wifi_wpa.sh
  • Aşağıdaki satırları dosyaya ekleyin
#! /bin/sh
# wifi: wpa_supplicant init
echo " * [Wifi]: Enabling WPA supplicant..."
if [ -x /sbin/wpa_supplicant ]; then
/sbin/wpa_supplicant -B -i ath0 -c /etc/wpa_supplicant.conf -D madwifi -w
fi
exit 0
  • Dosyayı kaydedin
  • Make sure both file readable and executable
sudo chmod +r /etc/wpa_supplicant.conf
sudo chmod +x /etc/init.d/wifi_wpa.sh
  • make wireless connection automaticaly starts when computer starts
sudo ln -s /etc/init.d/wifi_wpa.sh /etc/rcS.d/S40netwifiwpa
  • Close all opened applications, Reboot computer
 

How to get 1400x1050 resolution working

 

Upgrading Ubuntu

 

How to upgrade from Hoary Hedgehog -> Breezy Badger -> Dapper Drake

Method A (Official)

  • First update the update manager:
sudo aptitude update && sudo aptitude upgrade
  • Once it has been updated you can upgrade to a newer version of Ubuntu:
gksudo "update-manager -c -d"


Method B (Alternative)

  • First, make sure you're fully upgraded:
sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade
  • If you don't have a CD available make SURE you comment/remove the line pertaining to your CD media
gksudo gedit /etc/apt/sources.list
  • Validate updates and upgrade.
sudo aptitude update 
sudo aptitude dist-upgrade

(Note the use of aptitude rather than apt-get. Please use aptitude as it handles dependencies better and is more likely to succeed in upgrading your system.)

  • Save your session, reboot, and enjoy.


NOTE: Try to upgrade from immediately previous versions, e.g. Dapper to Edgy not Breezy to Edgy. If you are running Hoary for instance, upgrade Hoary->Breezy->Dapper->Edgy.