Muudatused

Fedora Core 5 alustamisjuhend

Lisatud 45 204 baiti, 22. aprill 2006, kell 09:15
[[Kategooria:Fedora]]
{{Aidake}}
== Fedora Core 5 alustamisjuhend ==
 
See juhend põhineb Linux Center of University of Latvia kirjutatud [http://easylinux.info/wiki/Fedora_fc5 Fedora Core 5 Starter Guide]l.
----
Paljusid asju, mis siinses juhendis on õpetatud saab lihtsamalt teha kasutades [[Fedora Frog]]i
----
 
 
== Üldised Märkused ==
 
* Tegu on Fedora Core 5 alustamisjuhendiga. Antud juhend ei ole mingil moel seotud [[Fedora]] või [[RedHat]]iga.
* Juhend on testitud vaikimisi Fedora Core 5 "Peroisnal computer" paigaldusega vaikimisi pakettidega.
* Juhul, kui näete sinisel taustal kastis teksti, siis peate need käsud käivitama [[Terminal]]is. (Applications -> System Tools -> Terminal) või kasutama neid käske vastavalt muudele juhenditele.
* Et vältida kirjutamisel tekkinud apsakaid kopeerige ja kleepige need käsud siit lehelt [[Terminal]]i (parem klikk tähistatud käsul hiirega -> "Copy" või "Paste". Te võite kasutada ka klahvikombinatsioone Ctrl+C kopeerimiseks ja Shift+Insert kleepimiseks)
: '''NB:''' Te peate käivitama need käsud [[root]] kasutaja õigustes. Seega enne jätkamist:
 
su -
 
:ja sisetage oma [[root]] kasutaja parool.
 
:'''või'''
* Lugege [[#How to get a shortcut to Root Terminal]]
* Juhul, kui Teile ei meeldi töötada [[Terminalis]] võite paigaldada graafilise [[yum]]-i liidese. Lugege [[#How to install Graphical User Interface for yum]]
* "[[yum]]" ja "[[wget]]" nõuavad internetiühenduse olemasolu, et alla laadida ja paigaldada uuendusi, programme
* Loodetavasti on antud juhendist Teile kasu
* Kui jääte hätte, siis võite abi saamiseks pöörduda [http://pingviin.org/ Pingviini Webi]
 
== Alustuseks ==
 
==== Mis on Fedora? ====
 
*http://fedora.redhat.com/
 
==== Kus ma võin näha Fedora kuvapilte? ====
 
*http://shots.osdir.com/slideshows/slideshow.php?release=335&slide=32
 
==== Kust ma leian nimekirja programmidest, mis tulevad kaasa Fedoraga? ====
 
*http://distrowatch.com/fedora
 
==== Kust ma võin Fedora alla laadida? ====
 
*http://fedora.redhat.com/Download/mirrors.html
*ftp://ftp.linux.ee/pub/fedora/linux/core
 
==== Kust ma võin abi leida? ====
Inglise keelsed lehed:
*[http://fedora.redhat.com/docs/ Ametlik Dokumentatsioon]
*[http://stanton-finley.net/fedora_core_5_installation_notes.html Fedora Core 5 Linux Paigalduse näpunäited]
*[http://www.fedorafaq.org/ Mitteaemtlik Fedora KKK]
*[http://home.gagme.com/greg/linux/fc5-tips.php Fedora Core 5 Nipid ja Trikid]
*[http://www.mjmwired.net/resources/mjm-fedora-fc4.html Mauriat Miranda's personaalne Fedora Core 5 paigalduse juhend]
*[http://www.fedoraforum.org/ Fedora Foorum]
*[http://fedorasolved.org/ Fedora Solved]
*[http://fedora.redhat.com/participate/communicate/ Muud kohad]
 
Eesti lehed:
*[http://pingviin.org/viewforum.php?f=8 Pingviini Webi Fedora alamfoorum]
*[http://foorum.hinnavaatlus.ee/viewforum.php?f=20 Hinnavaatluse Linuxi foorum]
*[http://viki.pingviin.org/index.php/Kategooria:Fedora Pingviini Viki Fedora sektsioon]
 
==== Kust ma võin leida uusi programme? ====
 
* http://gnomefiles.org/
* [http://freshmeat.net/browse/18/ http://freshmeat.net]
* http://sourceforge.net/
* http://kde-apps.org/
* [http://fedoraproject.org/wiki/Extras Fedora Extras project]
* http://rpm.pbone.net/
* http://rpm.livna.org/
 
 
==== Kust ma võin leida vahendeid oma töölaua muutmiseks? ====
 
* http://gnome-look.org/
* http://art.gnome.org/
* http://kde-look.org/
 
== Repositooriumid ==
 
==== Kuidas lisada repositooriume? ====
 
*Lugege [[#Üldised Märkused]]
*Replace your old yum.conf with new one
 
cd /etc
mv -f yum.conf yum.conf.bak
wget http://www.fedorafaq.org/samples/yum.conf
rpm -Uvh http://www.fedorafaq.org/yum
 
 
==== Adding RPMforge repos ====
 
*Lugege [[#Üldised Märkused]]
*Read [[#How to add GPG Keys]]
 
Adding the RPM forge repo is a alternative to the repos that get installed from the [http://www.fedorafaq.org fedorafaq] website. Note: These two groups are mutually incompatible and can cause errors in your installation if used together for automatic updates.
 
* '''freshrpms'''
 
rpm -ivh http://ftp.freshrpms.net/pub/freshrpms/fedora/linux/5/freshrpms-release/freshrpms-release-1.1-1.fc.noarch.rpm
 
* '''dries'''
 
gedit /etc/yum.repos.d/dries.repo
 
:Add the following lines to the new file
 
[dries]
name=Extra Fedora rpms dries - $releasever - $basearch
baseurl=http://ftp.belnet.be/packages/dries.ulyssis.org/fedora/linux/$releasever/$basearch/dries/RPMS/
http://apt.sw.be/dries/fedora/fc4/$basearch/dries/RPMS/
failovermethod=priority
enabled=0
gpgcheck=1
 
* '''newrpms'''
 
gedit /etc/yum.repos.d/newrpms.repo
 
:Add the following lines to the new file
 
[newrpms.sunsite.dk]
name=Fedora Core 5 i386 NewRPMS.sunsite.dk
baseurl=http://newrpms.sunsite.dk/apt/redhat/en/$basearch/fc$releasever
http://newrpms.atrpms.net/apt/redhat/en/$basearch/fc$releasever
failovermethod=priority
enabled=0
gpgcheck=1
 
==== How to import GPG Keys ====
 
* Remember you have to do this as root Read [[#General Notes]]
 
rpm --import http://freshrpms.net/packages/RPM-GPG-KEY.txt
rpm --import http://dries.ulyssis.org/rpm/RPM-GPG-KEY.dries.txt
rpm --import http://newrpms.sunsite.dk/gpg-pubkey-newrpms.txt
rpm --import /usr/share/doc/fedora-release-*/*GPG-KEY*
 
== Fedora Updates ==
 
==== How to manually update Fedora ====
 
*Lugege [[#Üldised Märkused]]
*Lugege [[#Kuidas lisada repositooriume?]]
 
yum check-update
yum update
 
*Alternative is to use pup (Package Updater)
pup
*From the menu
Applications -> System Tools -> Software Updater
 
== Add-On Applications ==
 
==== How To use Yum ====
 
*Lugege [[#Üldised Märkused]]
*Lugege [[#Kuidas lisada repositooriume?]]
 
Yum is a very powerfull package manager. yum will resolve dependencies for you and makes installing applications a breeze. yum also searches, removes, and lists packages for you.
 
usage: yum [options] < update | install | info | remove | list |
clean | provides | search | check-update | groupinstall |
groupupdate | grouplist | groupinfo | groupremove |
makecache | localinstall | erase | upgrade | whatprovides |
localupdate | resolvedep | shell | deplist >
options:
-h, --help show this help message and exit
-t, --tolerant be tolerant of errors
-C run entirely from cache, don't update cache
-c [config file] config file location
-R [minutes] maximum command wait time
-d [debug level] debugging output level
-e [error level] error output level
-y answer yes for all questions
--version show Yum version and exit
--installroot=[path] set install root
--enablerepo=[repo] enable one or more repositories (wildcards allowed)
--disablerepo=[repo] disable one or more repositories (wildcards allowed)
--exclude=[package] exclude package(s) by name or glob
--obsoletes enable obsoletes processing during updates
--noplugins disable Yum plugins
 
From a first look this can look rather intimidating, but this is rather easy.
 
:'''Examples:'''
 
*To seach for a application
Yum will search all your enabled repos and tell you where you can obtain the package from
 
yum search application_name
 
*Yum can list all available packages from your enabled repos and tell you where you can obtain the package from:
 
yum list available
 
*To find out more info about some package
 
yum info application_name
 
*Installing applications
Inastalling is as easy as
 
yum install application_name
 
*Listing rpms
yum can list installed rpms for you from the repos you have enabled
 
yum list extras
 
*Removing rpms
Yum can remove a application and the dependenciesit installed with tat application. it will not remove depenencies if another application installed needs them.
yum remove application_name
 
*Updating the system
Yum can update the system for you with out user interact if you want it to.
yum update
 
*Not sure if you have upates?
yum check-update
 
*Local install
downloaded a rpm and cannot install it with rpm because of dependencies?
yum localinstall /path/to/the/rpm
 
:''Happy yumming...''
 
 
==== List out your last update with rpm ====
 
*Lugege [[#Üldised Märkused]]
 
rpm -qa --last | tac
 
==== How to install Graphical User Interface for yum ====
 
*Lugege [[#Üldised Märkused]]
*Lugege [[#Kuidas lisada repositooriume?]]
 
yum -y install yumex
 
*Applications -> System Tools -> Yum Extender
 
==== NetworkManager for Gnome ====
*Lugege [[#Üldised Märkused]]
*Lugege [[#Kuidas lisada repositooriume?]]
 
Start the services
chkconfig --level 345 NetworkManager on
chkconfig --level 345 NetworkManagerDispatcher on
service NetworkManager start
service NetworkManagerDispatcher start
 
 
Click the Radar or connected icon in the system tray and choose "New wireless network".
Enter your information
 
[http://www.fedorajim.homelinux.com/samples/NetworkManagerConnected.png Screenshot]
 
==== How to install Menu Editor for GNOME ====
 
*Lugege [[#Üldised Märkused]]
*Lugege [[#Kuidas lisada repositooriume?]]
 
yum -y install alacarte
 
*Applications -> Accessories System Tools -> Alacarte Menu Editor
 
==== How to install Clipboard Daemon for GNOME ====
 
*Lugege [[#Üldised Märkused]]
* first 5 commands are done as root the last is user your user ID.
wget -c http://easylinux.info/uploads/gnome-clipboard-daemon-1.0.bin.tar.bz2
tar jxvf gnome-clipboard-daemon-1.0.bin.tar.bz2 -C /usr/bin/
rm -f gnome-clipboard-daemon-1.0.bin.tar.bz2
chown root:root /usr/bin/gnome-clipboard-daemon
chmod 755 /usr/bin/gnome-clipboard-daemon
gnome-clipboard-daemon &
exit
export EDITOR=gedit && crontab -e
 
*Add the following line at the end of file
 
@reboot gnome-clipboard-daemon
 
*Save edited file
 
==== How to install Java with Plug-in for Mozilla Firefox ====
 
*Lugege [[#Üldised Märkused]]
*Download Linux self-extracting file (jre-1_5_0_06-linux-i586.bin) from
[http://java.com/en/download/manual.jsp Java's Site] and save it to your home folder
mv jre-1_5_0_06-linux-i586.bin /opt
cd /opt
chmod +x jre-1_5_0_06-linux-i586.bin
./jre-1_5_0_06-linux-i586.bin
ln -s /opt/jre1.5.0_06/plugin/i386/ns7/libjavaplugin_oji.so /usr/lib/mozilla/plugins/libjavaplugin_oji.so
 
The Java plugin is now installed Confirm with the command below that the sym links are green
ls /usr/lib/mozilla/plugins
 
 
To run Java enabled applictions like limewire continue below
 
gedit /etc/profile.d/java.sh
 
*Insert the following lines to the new file
 
#!/bin/sh
JAVA_HOME=/usr/java/jre1.5.0_06
export JAVA_HOME
JAVA_BIN=$JAVA_HOME/bin
CLASSPATH=$CLASSPATH:$JAVA_HOME:$JAVA_HOME/lib
PATH=$JAVA_BIN:$PATH
export JAVA_BIN CLASSPATH PATH
 
*Save edited file
 
source /etc/profile.d/java.sh
/usr/sbin/alternatives --install /usr/bin/java java /opt/jre1.5.0_06/bin/java 2
/usr/sbin/alternatives --config java
 
*You will see the following screen
 
There are 2 programs which provide 'java'.
Selection Command
-----------------------------------------------
*+ 1 /usr/lib/jvm/jre-1.4.2-gcj/bin/java
2 /opt/jre1.5.0_06/bin/java
Enter to keep the current selection[+], or type selection number:
 
*Enter '''2'''
*[http://www.java.com/en/download/help/testvm.xml Test your Java]
 
==== How to install Flash Player (Macromedia Flash) Plug-in for Mozilla Firefox ====
 
*Lugege [[#Üldised Märkused]]
*Lugege [[#Kuidas lisada repositooriume?]]
 
yum --enablerepo=flash install flash-plugin
 
*Restart Mozilla Firefox
 
==== How to install PDF Reader (Adobe Reader) ====
 
*You can already view .pdf documents, but if you wish to have Adobe Reader
*Lugege [[#Üldised Märkused]]
*Lugege [[#Kuidas lisada repositooriume?]]
 
wget -c http://ardownload.adobe.com/pub/adobe/reader/unix/7x/7.0.5/enu/AdobeReader_enu-7.0.5-1.i386.rpm
yum -y install compat-libstdc++-33
rpm -i AdobeReader_enu-7.0.5-1.i386.rpm
rm -f AdobeReader_enu-7.0.5-1.i386.rpm
 
*Applications -> Office -> Adobe Reader
 
==== Link Adobe Acrobat to the mozilla plugins ====
 
*Lugege [[#Üldised Märkused]]
 
Linking to the mozilla plugins folder will allow you to view the pdf in the browser instead of viewing with Acrobat Reader
 
cd /usr/lib/mozilla/plugins
ln -s /usr/local/Adobe/Acrobat7.0/Browser/intellinux/nppdf.so
 
==== How to install Download Manager (Downloader for X) ====
 
*Lugege [[#Üldised Märkused]]
*Lugege [[#Kuidas lisada repositooriume?]]
 
yum -y install d4x
 
*Applications -> Internet -> Downloader for X
 
==== How to install FTP Client (gFTP) ====
 
*Lugege [[#Üldised Märkused]]
*Lugege [[#Kuidas lisada repositooriume?]]
 
yum -y install gftp
 
*Applications -> Internet -> gFTP
 
==== How to install File share utility (DC++) ====
 
*Lugege [[#Üldised Märkused]]
 
wget -c http://easylinux.info/uploads/linuxdcpp.tar.gz
tar zxvf linuxdcpp.tar.gz -C /opt
rm -f linuxdcpp.tar.gz
gedit /usr/share/applications/dcpp.desktop
 
*Insert the following lines into the new file
 
[Desktop Entry]
Encoding=UTF-8
Name=DC++
Exec=/opt/linuxdcpp/dcpp
Terminal=false
Type=Application
StartupNotify=true
Icon=eyes.png
Categories=Application;Network;
 
*Applications -> Internet -> DC++
 
==== How to install P2P BitTorrent Client (Azureus) ====
 
*Lugege [[#Üldised Märkused]]
*Read [[#How to install J2SE Runtime Environment (JRE) with Plug-in for Mozilla Firefox]]
 
wget -c http://heanet.dl.sourceforge.net/sourceforge/azureus/Azureus_2.3.0.6_linux.tar.bz2
tar jxvf Azureus_2.3.0.6_linux.tar.bz2 -C /opt
gedit /usr/share/applications/azureus.desktop
 
*Add the following to the new file:
[Desktop Entry]
Name=Azureus
Comment=A Bittorrent client
Exec=/opt/azureus/azureus
Icon=/opt/azureus/Azureus.png
Terminal=false
Type=Application
Categories=Application;Network;
 
*Applications -> Internet -> Azureus
 
==== How to install P2P eMule Client (aMule) ====
 
*Lugege [[#Üldised Märkused]]
*Lugege [[#Kuidas lisada repositooriume?]]
 
yum -y install amule
 
*Applications -> Internet -> aMule
 
==== How to install P2P Gnutella Client (LimeWire) ====
 
*Lugege [[#Üldised Märkused]]
*Read [[#How to install J2SE Runtime Environment (JRE) with Plug-in for Mozilla Firefox]]
 
wget -c http://easylinux.info/uploads/LimeWireOther.zip
unzip -u LimeWireOther.zip -d /opt/
rm -f LimeWireOther.zip
gedit /usr/bin/runLime.sh
 
*Insert the following lines into the new file
 
cd /opt/LimeWire/
./runLime.sh
 
*Salvestage muudetud fail
chmod +x /usr/bin/runLime.sh
gedit /usr/share/applications/LimeWire.desktop
 
*Insert the following lines into the new file
 
[Desktop Entry]
Name=LimeWire
Comment=LimeWire
Exec=runLime.sh
Icon=/opt/LimeWire/LimeWire.ico
Terminal=false
Type=Application
Categories=Application;Network;
 
*Salvestage muudetud fail
 
*Applications -> Internet -> LimeWire
 
==== How to install Messenger (Skype) ====
 
*Lugege [[#Üldised Märkused]]
 
wget -c http://download.skype.com/linux/skype_staticQT-1.2.0.18.tar.bz2
tar jxvf skype_staticQT-1.2.0.18.tar.bz2 -C /opt/
ln -s /opt/skype-1.2.0.18/skype /usr/bin/skype
cp /opt/skype-1.2.0.18/skype.desktop /usr/share/applications/skype.desktop
cp /opt/skype-1.2.0.18/icons/skype_32_32.png /usr/share/pixmaps/skype.png
rm -f skype_staticQT-1.2.0.18.tar.bz2
 
*Applications -> Internet -> Skype
 
==== How to install Multimedia Codecs ====
 
*Lugege [[#Üldised Märkused]]
 
yum -y install gstreamer-plugins*
yum -y install lame
yum -y install ffmpeg
yum -y install mjpegtools
yum --enablerepo=atrpms install w32codec
gst-register-0.8
 
==== How to install DVD playback capability ====
 
*Lugege [[#Üldised Märkused]]
*Lugege [[#Kuidas lisada repositooriume?]]
 
wget -c http://download.videolan.org/pub/libdvdcss/1.2.9/rpm/libdvdcss2-1.2.9-1.i386.rpm
rpm -i libdvdcss2-1.2.9-1.i386.rpm
 
==== How to install Multimedia Player (MPlayer) with Plug-in for Mozilla Firefox ====
 
*Lugege [[#Üldised Märkused]]
*Lugege [[#Kuidas lisada repositooriume?]]
*Read [[#How to install Multimedia Codecs]]
*Read [[#How to install DVD playback capability]]
 
yum -y install mplayer-gui
yum -y install mplayerplug-in
 
*Applications -> Sound & Video -> MPlayer
*Restart Mozilla Firefox
 
==== How to install Multimedia Player (VLC) ====
 
*Lugege [[#Üldised Märkused]]
*Lugege [[#Kuidas lisada repositooriume?]]
*Read [[#How to install Multimedia Codecs]]
*Read [[#How to install DVD playback capability]]
 
yum -y install videolan-client
 
*Applications -> Sound & Video -> VLC
 
==== How to install Multimedia Player (XMMS) ====
 
*Lugege [[#Üldised Märkused]]
*Lugege [[#Kuidas lisada repositooriume?]]
*Read [[#How to install Multimedia Codecs]]
 
yum -y install xmms
yum -y install xmms-mp3
yum -y install xmms-skins
 
*Applications -> Sound & Video -> XMMS
 
==== How to install Multimedia Player (amaroK) ====
 
*Lugege [[#Üldised Märkused]]
*Lugege [[#Kuidas lisada repositooriume?]]
*Read [[#How to install Multimedia Codecs]]
 
yum -y install amarok
 
*Applications -> Sound & Video -> amaroK
 
==== How to install Multimedia Player (RealPlayer 10) ====
 
*Lugege [[#Üldised Märkused]]
*Lugege [[#Kuidas lisada repositooriume?]]
 
yum -y install compat-libstdc++-33
 
*Download RealPlayer Gold from [http://www.real.com/realcom/R?href=http%3A%2F%2Fforms.real.com%2Freal%2Fplayer%2Fdownload.html%3Ff%3Dunix%2FRealPlayer10GOLD.rpm%26product%3Dplayerplus%26system%3Dlinux&pageid=linuxPage&pageregion=advanced_install&src=linux&pcode=rn&opage=linux here].
*Install it.
: ''Assumed that .rpm file has been downloaded to your Desktop, because Firefox by default downloads everything to your Desktop''
 
rpm -ivh Desktop/RealPlayer10GOLD.rpm
yum remove HelixPlayer
 
*Applications -> Sound & Video -> RealPlayer 10
 
==== How to install Stream Directory Browser (streamtuner) ====
 
*Lugege [[#Üldised Märkused]]
 
wget -c ftp://ftp.freshrpms.net/pub/dag/dries/packages/streamtuner/fc4-i386/streamtuner-0.99.99-1.2.fc4.rf.i386.rpm
rpm -ivh streamtuner-0.99.99-1.2.fc4.rf.i386.rpm
rm -f streamtuner-0.99.99-1.2.fc4.rf.i386.rpm
 
*Applications -> Sound & Video -> streamtuner
 
 
 
==== How to install ID3 Tag Editor (EasyTAG) ====
 
*Lugege [[#Üldised Märkused]]
*Lugege [[#Kuidas lisada repositooriume?]]
 
yum --enablerepo=freshrpms install easytag
 
*Applications -> Sound & Video -> EasyTAG
 
==== How to install Video Editor (Kino) ====
 
*Lugege [[#Üldised Märkused]]
*Lugege [[#Kuidas lisada repositooriume?]]
*Read [[#How to install Multimedia Codecs]]
 
yum -y install kino
 
*Applications -> Sound & Video -> Kino
 
==== How to install Audio Editor (Audacity) ====
 
*Lugege [[#Üldised Märkused]]
*Lugege [[#Kuidas lisada repositooriume?]]
*Read [[#How to install Multimedia Codecs]]
 
yum -y install audacity
 
*Applications -> Sound & Video -> Audacity
 
==== How to install DVD Ripper (dvd::rip) ====
 
*Lugege [[#Üldised Märkused]]
*Lugege [[#Kuidas lisada repositooriume?]]
*Read [[#How to install Multimedia Codecs]]
*Read [[#How to install DVD playback capability]]
*Read [[#How to install Multimedia Player (MPlayer) with Plug-in for Mozilla Firefox]]
*Read [[#How to install RAR Archiver (rar)]]
 
yum -y install perl-Video-DVDRip
yum --enablerepo=freshrpms install vcdimager
yum -y install cdrdao
yum --enablerepo=freshrpms install subtitleripper
ln -fs /usr/bin/rar /usr/bin/rar-2.80
gedit /usr/share/applications/dvdrip.desktop
 
*Insert the following lines into the new file
 
[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;
 
*Salvestage muudetud fail
 
*Applications -> Sound & Video -> dvd::rip
 
==== How to install Image Viewer (Gwenview) ====
 
*Lugege [[#Üldised Märkused]]
*Lugege [[#Kuidas lisada repositooriume?]]
 
yum -y install gwenview
yum -y install kipi-plugins
yum -y install ImageMagick
 
*Applications -> Graphics -> Gwenview
 
==== How to install Email Client (Mozilla Thunderbird) ====
 
*Lugege [[#Üldised Märkused]]
*Lugege [[#Kuidas lisada repositooriume?]]
 
yum -y install thunderbird
 
*Applications -> Internet -> Thunderbird Mail Client
 
==== How to install Newsreader (Pan) ====
 
*Lugege [[#Üldised Märkused]]
*Lugege [[#Kuidas lisada repositooriume?]]
 
yum -y install pan
 
*Applications -> Internet -> Pan Newsreader
 
==== How to install RSS/RDF/Atom Newsreader (RSSOwl) ====
 
*Lugege [[#Üldised Märkused]]
*Read [[#How to install J2SE Runtime Environment (JRE) with Plug-in for Mozilla Firefox]]
 
wget -c http://easylinux.info/uploads/rssowl_linux_1_1_3_bin.tar.gz
tar zxvf rssowl_linux_1_1_3_bin.tar.gz -C /opt/
chown -R root:root /opt/rssowl_linux_1_1_3_bin/
gedit /usr/bin/runRSSOwl.sh
 
*Insert the following lines into the new file
 
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
 
*Salvestage muudetud fail
 
chmod +x /usr/bin/runRSSOwl.sh
gedit /usr/share/applications/RSSOwl.desktop
 
*Insert the following lines into the new file
 
[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;
 
*Salvestage muudetud fail
 
*Applications -> Internet -> RSSOwl
 
==== How to install CHM viewer (GnoCHM) ====
 
*Lugege [[#Üldised Märkused]]
*Lugege [[#Kuidas lisada repositooriume?]]
 
yum -y --enablerepo=dries install gnochm
 
*Applications -> Accessories -> CHM Viewer
 
==== How to install Web Authoring System (Nvu) ====
 
*Lugege [[#Üldised Märkused]]
*Lugege [[#Kuidas lisada repositooriume?]]
 
yum -y install xorg-x11-deprecated-libs
wget -c http://www.nvu.com/download/linux/1.0/nvu-1.0-RedHat_and_Fedora/nvu-1.0-1.rhel4.fs.i386.rpm
rpm -ivh nvu-1.0-1.rhel4.fs.i386.rpm
 
*Applications -> Programming -> Nvu
 
==== How to install Web Authoring System (bluefish) ====
 
*Lugege [[#Üldised Märkused]]
*Lugege [[#Kuidas lisada repositooriume?]]
 
yum -y install bluefish
 
Applications --> Programming --> Bluefish Editor
 
====How to install KDE Web Development Environment (quanta plus) ====
 
*Lugege [[#Üldised Märkused]]
*Lugege [[#Kuidas lisada repositooriume?]]
 
yum -y install kdewebdev
 
*Applications -> Programming -> Quanta Plus
 
==== How to install Accounting Application (GnuCash) ====
 
*Lugege [[#Üldised Märkused]]
*Lugege [[#Kuidas lisada repositooriume?]]
 
yum -y install gnucash
rm -fr /usr/share/gnome/apps/Applications/
gedit /usr/share/applications/GnuCash.desktop
 
*Insert the following lines into the new file
 
[Desktop Entry]
Name=GnuCash
Comment=GnuCash Personal Finance
Exec=gnucash
Icon=/usr/share/pixmaps/gnucash/gnucash-icon.png
Terminal=false
Type=Application
Categories=Application;Office;
 
*Salvestage muudetud fail
 
*Applications -> Office -> GnuCash
 
==== How to install Desktop Publishing Application (Scribus) ====
 
*Lugege [[#Üldised Märkused]]
*Lugege [[#Kuidas lisada repositooriume?]]
 
yum -y install scribus
 
*Applications -> Office -> Scribus
 
==== How to install CD/DVD Burning Application (GnomeBaker) ====
 
*Lugege [[#Üldised Märkused]]
*Lugege [[#Kuidas lisada repositooriume?]]
 
yum -y install gnomebaker
 
*Applications -> Sound & Video -> GnomeBaker
 
==== How to install CD/DVD Burning Application (k3b) ====
 
*Lugege [[#Üldised Märkused]]
*Lugege [[#Kuidas lisada repositooriume?]]
 
yum -y install k3b
 
*Applications -> Sound & Video -> K3b
 
==== How to install Partition Editor (GParted) ====
 
*Lugege [[#Üldised Märkused]]
*Lugege [[#Kuidas lisada repositooriume?]]
 
yum -y install gparted
 
*Applications -> System Tools -> GParted
 
==== How to install Firewall (Firestarter) ====
 
*Lugege [[#Üldised Märkused]]
*Lugege [[#Kuidas lisada repositooriume?]]
 
yum -y install firestarter
 
*Applications -> System Tools -> Firestarter
 
==== How to install network traffic analyzer (Ethereal) ====
 
*Lugege [[#Üldised Märkused]]
*Lugege [[#Kuidas lisada repositooriume?]]
 
yum -y install ethereal ethereal-gnome
 
*Applications -> Internet -> Ethereal
 
==== How to install RAR Archiver (rar) ====
 
*Lugege [[#Üldised Märkused]]
*Lugege [[#Kuidas lisada repositooriume?]]
 
yum --enablerepo=freshrpms install rar unrar
*Applications -> Accessories -> Archive Manager
 
==== How to install Extra Fonts ====
 
*Lugege [[#Üldised Märkused]]
*Lugege [[#Kuidas lisada repositooriume?]]
 
yum -y install xfonts-arabic
yum -y install xfonts-chinese
yum -y install xfonts-gujarati
yum -y install xfonts-hebrew
yum -y install xfonts-hindi
yum -y install xfonts-japanese
yum -y install xfonts-xorg-truetype
wget -c http://easylinux.info/uploads/msttcorefonts-1.3-4.noarch.rpm
rpm -ivh msttcorefonts-1.3-4.noarch.rpm
/etc/init.d/xfs restart
 
*Read [[#How to restart GNOME without rebooting computer]]
 
==== How to install Desktop Applets (gDesklets) ====
 
*Lugege [[#Üldised Märkused]]
*Lugege [[#Kuidas lisada repositooriume?]]
 
yum -y install gdesklets
 
*Applications -> Accessories -> gDesklets
*For more info see: http://gdesklets.gnomedesktop.org/
 
==== How to install Basic Compilers ====
 
*Lugege [[#Üldised Märkused]]
*Lugege [[#Kuidas lisada repositooriume?]]
 
yum -y install gcc
yum -y install gcc-c++
 
==== How to set up Development environment ====
 
*Lugege [[#Üldised Märkused]]
*Lugege [[#Kuidas lisada repositooriume?]]
 
*Add development repo
 
gedit /etc/yum.repos.d/fedora-devel.repo
 
*Add the following lines to the new file
 
[development]
name=Fedora Core $releasever - Development Tree
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/development/$basearch/
mirrorlist=http://fedora.redhat.com/download/mirrors/fedora-core-rawhide
enabled=1
gpgcheck=0
 
*Save the edited file
 
yum groupinstall "Development Tools"
 
==== How to install Integrated Development Environment (Anjuta) ====
 
*Lugege [[#Üldised Märkused]]
*Lugege [[#Kuidas lisada repositooriume?]]
 
rpm --import /usr/share/rhn/RPM-GPG-KEY
yum -y install anjuta
 
*Applications -> Programming -> Anjuta IDE
 
==== How to install 3D modeling tool (Blender 3d) ====
 
*Lugege [[#Üldised Märkused]]
*Lugege [[#Kuidas lisada repositooriume?]]
 
yum -y install blender
 
*Applications -> Graphics -> Blender 3D modeller
 
==== How to install game Frozen-Bubble ====
 
*Lugege [[#Üldised Märkused]]
*Lugege [[#Kuidas lisada repositooriume?]]
 
yum -y install frozen-bubble
 
*Applications -> Games -> Frozen-Bubble
*For more games see: http://games.linux.sk/ or http://www.tuxgames.com/
 
==== How to install virtual planetarium (Stellarium) ====
 
*Lugege [[#Üldised Märkused]]
*Lugege [[#Kuidas lisada repositooriume?]]
 
yum -y install stellarium
 
*Applications -> Graphics -> Stellarium nightsky renderer
 
==== How to install KDE Edutainment applications ====
 
*Lugege [[#Üldised Märkused]]
*Lugege [[#Kuidas lisada repositooriume?]]
 
yum -y install kdeedu
 
*Applications -> Edutainment -> ...
 
== Other Desktop Environments ==
 
==== How to install KDE ====
 
*Lugege [[#Üldised Märkused]]
*Lugege [[#Kuidas lisada repositooriume?]]
*You may also look at some [http://www.kde.org/screenshots/ KDE Screenshots]
*Use '' Desktop -> System Settings -> Add/Remove Applications ''
:'''or'''
 
yum -y install htdig
yum -y install kdebase
yum -y install arts
yum -y install desktop-printing
yum -y install kdegraphics
yum -y install kdenetwork
yum -y install kdemultimedia
yum -y install kdeaddons
yum -y install kdeutils
yum -y install kdeartwork
yum -y install autorun
 
*Log out
*In Sessions chose '''KDE'''
*Log in
 
== Commercial Applications ==
 
==== How to install Windows 9X/ME/2000/XP (Win4Lin) ====
 
*http://www.win4lin.com
 
==== How to install Windows Applications (CrossOver Office) ====
 
*http://www.codeweavers.com
 
==== How to install Windows Games (Cedega) ====
 
*http://www.transgaming.com
 
== Users Administration ==
 
====Set up Sudo on your PC ====
 
*Lugege [[#Üldised Märkused]]
 
gedit /etc/sudoers
 
*Leidke see rida
 
# User privilege specification
root ALL=(ALL) ALL
 
*Add your username underneath where it says root and copy the rest of the line as is:
 
# User privilege specification
root ALL=(ALL) ALL
your_user_name ALL=(ALL)NOPASSWD: ALL
 
The '''NOPASSWD:''' secition is optional. If you work in a environment that you feel there maybe a security risk '''DO NOT USE THIS OPTION'''. Simply remove that section of the line. If you do not use the '''NOPASSWD:''' option, when you run a command with sudo, you'll need to enter your password NOT Roots.
 
==== How to set/change/enable root user password ====
 
*Lugege [[#Üldised Märkused]]
 
passwd root
 
==== How to disable root user account ====
 
*Lugege [[#Üldised Märkused]]
 
passwd -l root
 
==== How to add/edit/delete system users ====
 
*Lugege [[#Üldised Märkused]]
*Desktop -> System Settings -> Users and Groups
*Users and Groups
 
Users Tab -> Add User.../Properties/Delete
 
==== How to add/edit/delete system groups ====
 
*Lugege [[#Üldised Märkused]]
*Desktop -> System Settings -> Users and Groups
*Users and Groups
 
Groups Tab -> Add Group.../Properties/Delete
 
==== How to automatic login into GNOME (not secure) ====
 
*Lugege [[#Üldised Märkused]]
*Desktop -> System Settings -> Login Screen
*Login Screen Setup
 
General Tab -> Automatic Login ->
Login a user automatically on first bootup ('''Checked''')
Automatic login username: '''Select "system_username"'''
 
==== How to change files/folders permissions ====
 
*Lugege [[#Üldised Märkused]]
 
Right click on files/folders -> '''Properties'''
 
Permissions Tab -> Read/Write/Execute (Checked the permissions for Owner/Group/Others)
 
==== How to change files/folders ownership ====
 
*Lugege [[#Üldised Märkused]]
 
chown system_username /location_of_files_or_folders
 
==== How to change files/folders group ownership ====
 
*Lugege [[#Üldised Märkused]]
 
chgrp system_groupname /location_of_files_or_folders
 
== Hardware ==
 
==== how to get wireless working Intel IPW2200 b,g ====
*Lugege [[#Üldised Märkused]]
*Lugege [[#Kuidas lisada repositooriume?]]
 
download [http://ipw2200.sourceforge.net/firmware.php?fid=6]
Agree to the licence and save the file to your desktop then open the terminal and copy & paste each line.
mkdir tmp
mv ~/Desktop/*-2.4.tgz ~/tmp
cd tmp
tar -zxvf ipw2200-fw-2.4.tgz
cp * /lib/firmware
rmmod ipw2200
modprobe ipw2200
iwconfig
you should now see a access point
You can use NetworkManager to control your wireless actvity
[[#NetworkManager_for_Gnome]]
 
==== How to install Graphics Driver (NVIDIA) ====
 
*Lugege [[#Üldised Märkused]]
*Lugege [[#Kuidas lisada repositooriume?]]
 
yum -y install nvidia-glx kernel-module-nvidia-$(uname -r)
 
*Read [[#How to restart GNOME without rebooting computer]]
*If you have any problems see [http://www.nvnews.net/vbulletin/forumdisplay.php?s=&forumid=14 nV News "Linux and nVidia Graphics" forum]
 
: '''or'''
 
*See http://www.mjmwired.net/resources/mjm-fedora-fc4.html#nvidia
 
==== How to install Graphics Driver (ATI) ====
 
*Lugege [[#Üldised Märkused]]
*Lugege [[#Kuidas lisada repositooriume?]]
 
yum -y install ati-fglrx kernel-module-fglrx-$(uname -r)
 
*If you have an Intel motherboard, you will have to modify your xorg.conf file after installing the drivers:
 
gedit /etc/X11/xorg.conf
 
*Find the following line
 
Driver "fglrx"
 
*Add the following line below it
 
Option "UseInternalAGPGART" "no"
 
==== How to identify Modem chipset ====
 
*Lugege [[#Üldised Märkused]]
*To install Modem chipset identifier
*Read [[#How to install Basic Compilers (build-essential)]]
 
wget -c http://easylinux.info/uploads/scanModem.gz
gunzip -c scanModem.gz > scanModem
chmod +x scanModem
cp scanModem /usr/bin/
 
*To identify Modem chipset
 
scanModem
gedit Modem/ModemData.txt
 
==== How to list partition tables ====
 
*Lugege [[#Üldised Märkused]]
 
fdisk -l
 
==== How to list filesystem disk space usage ====
 
*Lugege [[#Üldised Märkused]]
 
df -T -h
 
==== How to list mounted devices ====
 
*Lugege [[#Üldised Märkused]]
 
mount
 
==== How to list PCI devices ====
 
*Lugege [[#Üldised Märkused]]
 
lspci
 
==== How to list USB devices ====
 
*Lugege [[#Üldised Märkused]]
 
lsusb
 
==== How to speed up CD/DVD-ROM ====
 
*Lugege [[#Üldised Märkused]]
 
:''e.g. Assumed that /dev/cdrom is the location of CD/DVD-ROM''
 
/sbin/hdparm -d1 /dev/cdrom
gedit /etc/hdparm.conf
 
*Insert the following lines in the new file
 
/dev/cdrom {
dma = on
}
 
*Salvestage muudetud fail
 
==== How to mount/unmount CD/DVD-ROM manually, and show all hidden and associated files/folders ====
 
*Lugege [[#Üldised Märkused]]
 
:''e.g. Assumed that /media/cdrom0/ is the location of CD/DVD-ROM''
 
*To mount CD/DVD-ROM
 
mount /media/cdrom0/ -o unhide
 
*To unmount CD/DVD-ROM
 
umount /media/cdrom0/
 
==== How to forcefully unmount CD/DVD-ROM manually ====
 
*Lugege [[#Üldised Märkused]]
 
:''e.g. Assumed that /media/cdrom0/ is the location of CD/DVD-ROM''
 
umount /media/cdrom0/ -l
 
==== How to remount /etc/fstab without rebooting ====
 
*Lugege [[#Üldised Märkused]]
 
mount -a
 
== CD/DVD Burning ==
 
==== How to blank CD-RW/DVD-RW ====
 
*Lugege [[#Üldised Märkused]]
 
:''e.g. Assumed that /dev/cdrom is the location of CD/DVD-ROM''
 
umount /dev/cdrom
cdrecord dev=/dev/cdrom blank=fast
 
==== How to burn files/folders into CD/DVD ====
 
*Lugege [[#Üldised Märkused]]
 
nautilus burn:///
 
*File Browser: CD/DVD Creator
 
*Drag files/folders into window
 
File Menu -> Write to Disc... -> Write
 
==== How to burn Image (ISO) files into CD/DVD ====
 
*Lugege [[#Üldised Märkused]]
 
Right click on Image (ISO) file -> Write to Disc... -> Write
 
==== How to duplicate CD/DVD ====
 
*Lugege [[#Üldised Märkused]]
*Read [[#How to create Image (ISO) files from CD/DVD]]
*Read [[#How to burn Image (ISO) files into CD/DVD]]
 
==== How to create Image (ISO) files from CD/DVD ====
 
*Lugege [[#Üldised Märkused]]
 
:''e.g. Assumed that /dev/cdrom is the location of CD/DVD-ROM''
 
umount /dev/cdrom
dd if=/dev/cdrom of=file.iso bs=1024
 
==== How to create Image (ISO) files from folders ====
 
*Lugege [[#Üldised Märkused]]
 
mkisofs -o file.iso /location_of_folder/
 
==== How to generate MD5 checksum files ====
 
*Lugege [[#Üldised Märkused]]
 
md5sum file.iso > file.iso.md5
 
==== How to check MD5 checksum of files ====
 
*Lugege [[#Üldised Märkused]]
 
:''e.g. Assumed that file.iso and file.iso.md5 are in the same folder''
 
md5sum -c file.iso.md5
 
==== How to mount/unmount Image (ISO) files without burning ====
 
*Lugege [[#Üldised Märkused]]
*To mount Image (ISO) file
 
mkdir /media/iso
modprobe loop
mount file.iso /media/iso/ -t iso9660 -o loop
 
*To unmount Image (ISO) file
 
umount /media/iso/
 
==== How to set/change the burn speed for CD/DVD Burner ====
 
*Lugege [[#Üldised Märkused]]
*Applications -> System Tools -> Configuration Editor
*Configuration Editor
 
/ -> apps -> nautilus-cd-burner -> default_speed (set/change the burn speed)
 
==== How to enable burnproof for CD/DVD Burner ====
 
*Lugege [[#Üldised Märkused]]
*Applications -> System Tools -> Configuration Editor
*Configuration Editor
 
/ -> apps -> nautilus-cd-burner -> burnproof ('''Checked''')
 
==== How to enable overburn for CD/DVD Burner ====
 
*Lugege [[#Üldised Märkused]]
*Applications -> System Tools -> Configuration Editor
*Configuration Editor
 
/ -> apps -> nautilus-cd-burner -> overburn ('''Checked''')
 
== Networking ==
 
==== How to configure Google Talk ====
 
*See the answer at [http://www.google.com/support/talk/bin/answer.py?answer=24073 Google Talk Help Center]
 
==== How to activate/deactivate network connections ====
 
*Lugege [[#Üldised Märkused]]
*Desktop -> System Settings -> Network
*Devices Tab
*Activate/Deactivate
 
==== How to configure network connections ====
 
*Lugege [[#Üldised Märkused]]
*Desktop -> System Settings -> Network
*Network Configuration
*Edit
*Read [[#How to activate/deactivate network connections]]
 
==== How to change computer name ====
 
*Lugege [[#Üldised Märkused]]
 
hostname your_desired_computer_name
 
==== How to change computer descriptions ====
 
*Lugege [[#Üldised Märkused]]
*Read [[#How to install Samba Server for files/folders sharing service]]
cp /etc/samba/smb.conf /etc/samba/smb.conf_backup
gedit /etc/samba/smb.conf
 
*Leidke see rida
 
...
server string = Samba Server
...
 
*Asendage see järgnevaga
 
server string = new_computer_descriptions
 
*Salvestage muudetud fail
 
testparm
/etc/init.d/smb restart
 
==== How to change computer Domain/Workgroup ====
 
*Lugege [[#Üldised Märkused]]
*Read [[#How to install Samba Server for files/folders sharing service]]
 
cp /etc/samba/smb.conf /etc/samba/smb.conf_backup
gedit /etc/samba/smb.conf
 
*Leidke see rida
 
...
workgroup = MSHOME
...
 
*Asendage see järgnevaga
 
workgroup = new_domain_or_workgroup
 
*Salvestage muudetud fail
 
testparm
/etc/init.d/smb restart
 
==== How to assign Hostname to local machine with dynamic IP using free DynDNS service ====
 
*Lugege [[#Üldised Märkused]]
*Lugege [[#Kuidas lisada repositooriume?]]
 
:''e.g. Assumed that internet connections have been configured properly<br>''
:'' Register free Dynamic DNS at https://www.dyndns.org<br>''
:'' Automatically refresh IP in DynDNS Database/DNS every hour<br>''
:'' * * * * * means minute hour date month year''
yum -y install ipcheck
gedit /root/dyndns_update.sh
 
*Insert the following lines into the new file
 
USERNAME=myusername
PASSWORD=mypassword
HOSTNAME=myhostname.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
 
*Salvestage muudetud fail
chmod 700 /root/dyndns_update.sh
sh /root/dyndns_update.sh
export EDITOR=gedit && crontab -e
 
*Append the following line at the end of file
 
00 * * * * sh /root/dyndns_update.sh
 
*Save the edited file
 
==== How to share folders the easy way ====
 
*Lugege [[#Üldised Märkused]]
*Read [[#How to install Samba Server for files/folders sharing service]]
 
Right click on folder -> Share folder
 
Shared folder -> Share with: Select "SMB"
Share properties -> Name: Specify the share name
 
==== How to browse network computers ====
 
*Lugege [[#Üldised Märkused]]
 
:''e.g. Assumed that network connections have been configured properly''
:'' If computers or network folders could not be found, try access them directly''
:'' Read [[#How to access network folders without mounting]]''
 
*Places -> Network Servers
 
==== How to access network folders without mounting ====
 
*Lugege [[#Üldised Märkused]]
 
:''e.g. Assumed that network connections have been configured properly''
:'' Network computer's IP: 192.168.0.1''
:'' Shared folder's name: linux''
 
*Applications -> Run Application...
*Run Application
 
smb://192.168.0.1/linux
 
==== How to mount/unmount network folders manually, and allow all users to read ====
 
*Lugege [[#Üldised Märkused]]
*Read [[#How to install Samba Server for files/folders sharing service]]
 
:''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
 
mkdir /media/sharename
mount //192.168.0.1/linux /media/sharename/ -o username=myusername,password=mypassword
 
*To unmount network folder
 
umount /media/sharename/
 
==== How to mount/unmount network folders manually, and allow all users to read/write ====
 
*Lugege [[#Üldised Märkused]]
*Read [[#How to install Samba Server for files/folders sharing service]]
 
:''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
 
mkdir /media/sharename
mount //192.168.0.1/linux /media/sharename/ -o username=myusername,password=mypassword,dmask=777,fmask=777
 
*To unmount network folder
 
umount /media/sharename/
 
==== How to mount network folders on boot-up, and allow all users to read ====
 
*Lugege [[#Üldised Märkused]]
*Read [[#How to install Samba Server for files/folders sharing service]]
 
:''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''
 
mkdir /media/sharename
gedit /root/.smbcredentials
 
*Insert the following lines into the new file
 
username=myusername
password=mypassword
 
*Salvestage muudetud fail
chmod 700 /root/.smbcredentials
cp /etc/fstab /etc/fstab_backup
gedit /etc/fstab
 
*Append the following line at the end of file
 
//192.168.0.1/linux /media/sharename cifs credentials=/root/.smbcredentials 0 0
 
*Salvestage muudetud fail
*Read [[#How to remount /etc/fstab without rebooting]]
 
==== How to mount network folders on boot-up, and allow all users to read/write ====
 
*Lugege [[#Üldised Märkused]]
*Read [[#How to install Samba Server for files/folders sharing service]]
 
:''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''
 
mkdir /media/sharename
gedit /root/.smbcredentials
 
*Insert the following lines into the new file
 
username=myusername
password=mypassword
 
*Salvestage muudetud fail
 
chmod 700 /root/.smbcredentials
cp /etc/fstab /etc/fstab_backup
gedit /etc/fstab
 
*Append the following line at the end of file
 
//192.168.0.1/linux /media/sharename cifs credentials=/root/.smbcredentials,dmask=0777,fmask=0777 0 0
 
*Salvestage muudetud fail
*Read [[#How to remount /etc/fstab without rebooting]]
 
== Remote Desktop ==
 
==== How to configure remote desktop (not secure) ====
 
*Lugege [[#Üldised Märkused]]
 
:''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 off the monitor when computer is left unattended''
 
*Desktop -> 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 Fedora desktop ====
 
*Lugege [[#Üldised Märkused]]
 
:''e.g. Assumed that remote Fedora machine have configured Remote Desktop''
:'' Read [[#How to configure remote desktop (not secure)]]''
:'' Remote Fedora machine: 192.168.0.1''
 
vncviewer -fullscreen 192.168.0.1:0
 
*To quit vncviewer
 
Press 'F8' -> Quit viewer
 
==== Remote conection Script by fedorajim ====
 
Open a teminal window and switch to root.
 
gedit /usr/local/bin/remote2someone
 
Add the following text to the text editor
 
#!/bin/bash
# Written by fedorajim
# enter the IP address ofthe remote PC
IPADDRESS="$(zenity --entry --title "Enter IP Address" --text "Enter the IP Address of the remore PC:")"
echo $IPADDRESS
#Enter the username you aregoing to login with
UserName="$(zenity --entry --title "Enter User Name" --text "Enter the User Name to connect with:")"
echo $UserName
# opens a new terminal window and connects to remote PC
function ssh_Remote_PC
{
gnome-terminal -x ssh -L 5911:$IPADDRESS:5901 $UserName@$IPADDRESS
}
function View_Remote_PC
{
gnome-terminal -x vncviewer localhost:11
}
#################################################
selection=
until [ "$selection" = "0" ]; do
echo ""
echo "######################"
echo "1 - Make Remote Connection"
echo "2 - display Remote Desktop"
echo "0 - exit program"
echo ""
echo -n "Enter selection: "
read selection
echo ""
#####################
# Commands executed #
#####################
case $selection in
1 ) $(ssh_Remote_PC) ;;
2 ) $(View_Remote_PC) ;;
0 ) exit ;;
* ) echo "Please enter 1, 2 or 0"
esac
done
 
Click save and close the text editor. Right click the desktop an choose create launcher
add the following to the Create Launcher dialog
*Name: remote2someone
*Comment: ssh remote connection
*Command: /usr/local/bin/remote2someone
*Type: application
*Run in Terminal: Checked
*Icon: click the Icon button and choose a icon
 
 
Click save.
 
==== How to connect into remote Fedora desktop via Windows machine ====
 
*Lugege [[#Üldised Märkused]]
 
:''e.g. Assumed that remote Fedora machine have configured Remote Desktop''
:'' Read [[#How to configure remote desktop (not secure)]]''
:'' Remote Fedora machine: 192.168.0.1''
 
*Download VNC Viewer: [http://fresh.t-systems-sfr.com/cgi-bin/warex?linux/src/vnc-4_1_1-x86_win32_viewer.zip:a/vnc-4_1_1-x86_win32_viewer.exe Here]

Aita seda lehekülge täiustada!