Mandriva 2006 Alustamisjuhend: erinevus redaktsioonide vahel

Allikas: Pingviini viki
Mine navigeerimisribaleMine otsikasti
Resümee puudub
137. rida: 137. rida:
*Käivita Mozilla Firefox uuesti
*Käivita Mozilla Firefox uuesti


==== PDF-lugeja (Adobe Reader) koos pluginaga Mozilla Firefoxile ====
==== PDF-lugeja (Adobe Lugegeer) koos pluginaga Mozilla Firefoxile ====


*Loe [[#Üldised märkused]]
*Loe [[#Üldised märkused]]


  wget -c http://ardownload.adobe.com/pub/adobe/reader/unix/7x/7.0/enu/AdobeReader_enu-7.0.1-1.i386.rpm
  wget -c http://ardownload.adobe.com/pub/adobe/Lugegeer/unix/7x/7.0/enu/AdobeLugegeer_enu-7.0.1-1.i386.rpm
  rpm -i AdobeReader_enu-7.0.1-1.i386.rpm
  rpm -i AdobeLugegeer_enu-7.0.1-1.i386.rpm
  rm -f AdobeReader_enu-7.0.1-1.i386.rpm
  rm -f AdobeLugegeer_enu-7.0.1-1.i386.rpm
  kwrite /usr/share/applications/AdobeReader.desktop
  kwrite /usr/share/applications/AdobeLugegeer.desktop


*Leia see rida
*Leia see rida
154. rida: 154. rida:
  Categories=X-Mandrakelinux-Office-Publishing;
  Categories=X-Mandrakelinux-Office-Publishing;


*K menüü -> Office -> Publishing -> Adobe Reader
*K menüü -> Office -> Publishing -> Adobe Lugegeer
 
==== Allalaadimise haldur (Downloader for X) ====
 
*Loe [[#Üldised märkused]]
*Loe [[#Lisarepode lisamine]]
 
urpmi d4x
 
*K menüü -> Internet -> File Transfer -> Downloader for X
 
==== FTP-klient (gFTP) ====
 
*Loe [[#Üldised märkused]]
*Loe [[#Lisarepode lisamine]]
 
urpmi gftp
 
*K menüü -> Internet -> File Transfer -> gFTP
 
==== BitTorrenti klient (Azureus) ====
 
*Loe [[#Üldised märkused]]
*<b>Soovitatavalt kasuta drakbt</b>
*Loe [[#Java J2SE Runtime Environment (JRE) koos Mozilla Firefoxi pluginaga]]
 
wget -c http://www.mandrivaclub.nl/sources/official/10.0/i586/azureus-2.2.0.2-1mcnl.i586.rpm
rpm -i azureus-2.2.0.2-1mcnl.i586.rpm
rm -f azureus-2.2.0.2-1mcnl.i586.rpm
 
*K menüü -> Internet -> File Transfer -> Azureus
 
==== eMule klient (aMule) ====
 
*Loe [[#Üldised märkused]]
 
urpmi amule
 
*Ilmub hoiatus, loe seda. Sulgemiseks vajuta "'''q'''"
*K menüü-> Internet -> File Transfer -> aMule
 
==== Kiirsuhtluse klient (Skype) ====
 
*Loe [[#Ü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
rm -f skype_staticQT-1.2.0.18.tar.bz2
cp /opt/skype-1.2.0.18/icons/skype_32_32.png /usr/share/icons/hicolor/32x32/apps/skype.png
exit
cp /opt/skype-1.2.0.18/skype.desktop ~/Desktop/skype.desktop
 
*Vaata oma töölauale
:või
*K menüü -> Run Command...
*Sisesta ''skype''
 
 
:'''VÕI'''
 
wget http://www.skype.com/go/getskype-linux-mdk
urpmi skype-1.2.0.21-1mdk.i586.rpm
 
*K menüü -> Run Command...
*Sisesta ''skype''
 
==== Multimeediakoodekid ====
 
*Loe [[#Üldised märkused]]
*Loe [[#Lisarepode lisamine]]
 
wget -c http://easylinux.info/uploads/codecs.tar.gz
tar zxvf codecs.tar.gz
./install.sh
 
'''VÕI'''
 
urpmi win32-codecs
 
Kui sa lisasid plf peeglid.
 
==== DVD mängimiseks vajalik ====
 
*Loe [[#Üldised märkused]]
*Loe [[#Lisarepode lisamine]]
 
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
 
'''VÕI'''
 
urpmi libdvdcss2
 
kui oled lisanud plf-i peeglid.
 
==== Multimeediamängija (xine-ui) ====
 
*Loe [[#Üldised Märkused]]
*Loe [[#Lisarepode lisamine]]
*Loe [[#Multimeediakoodekid]]
*Loe [[#DVD mängimiseks vajalik]]
 
urpmi xine-ui
kwrite /usr/share/applications/xine.desktop
 
*Lisa uude faili järgnevad read
 
[Desktop Entry]
Categories=Qt;KDE;Application;AudioVideo;Player;
Encoding=UTF-8
Exec=xine
GenericName=Media Player
Name=Xine
Terminal=false
Type=Application
 
*Salvesta fail
*K menüü -> Multimedia -> Video -> Xine
 
==== Multimeediamängija (MPlayer) koos pluginaga Mozilla Firefoxile ====
 
*Loe [[#Üldised märkused]]
*Loe [[#Lisarepode lisamine]]
*Loe [[#Multimeediakoodekid]]
*Loe [[#DVD mängimiseks vajalik]]
 
urpmi mplayer-gui
urpmi mplayer-skins
urpmi mplayer-fonts
urpmi mplayerplugin
 
*Käivitage Mozilla Firefox uuesti
*K menüü -> Multimedia -> Video -> MPlayer
 
==== Multimeediamängija (RealPlayer) ====
 
*Loe [[#Üldised märkused]]
 
wget -c ftp://ftp.pbone.net/mirror/ftp.mandrakeusers.com/pub/Commercial-9.1/RealPlayer-8.0-5mdk.i586.rpm
rpm -i RealPlayer-8.0-5mdk.i586.rpm
rm -f RealPlayer-8.0-5mdk.i586.rpm
 
*K menüü -> Multimedia -> Video -> RealPlayer G2
 
==== Videotöötluse rakendus (Kino) ====
 
*Loe [[#Üldised märkused]]
*Loe [[#Lisarepode lisamine]]
*Loe [[#Multimeediakoodekid]]
 
urpmi kino
urpmi kino-plugins
 
*K menüü -> Multimedia -> Video -> Kino
 
==== Multimeediamängija (XMMS) ====
 
*Loe [[#Üldised märkused]]
*Loe [[#Lisarepode lisamine]]
*Loe [[#Multimeediakoodekid]]
 
urpmi xmms
urpmi xmms-skins
urpmi xmms-esd
urpmi xmms-alsa
 
*K menüü -> Multimedia -> Sound -> Xmms
 
''Kui XMMS ei mängi, proovi muuta väljundipluginat''
:*Preferences (Ctrl + P)
:*Muuda ''Output Plugin'' väärtusele ''eSound Output Plugin''
 
==== How to install Stream Directory Browser (streamtuner) ====
 
*Lugege [[#Üldised Märkused]]
*Lugege [[#How to add extra repositories]]
 
urpmi streamtuner
urpmi streamripper
 
*K Menu -> Multimedia -> Sound -> StreamTuner
 
==== ID3 tagide muutja (EasyTAG) ====
 
*Loe [[#Üldised märkused]]
*Loe [[#Lisarepode lisamine]]
 
urpmi easytag
 
*K menüü -> Multimedia -> Sound -> EasyTAG
 
==== Audiotöötluse rakendus (Audacity) ====
 
*Loe [[#Üldised märkused]]
*Loe [[#Lisarepode lisamine]]
*Loe [[#Multimeediakoodekid]]
 
urpmi audacity
 
*Loe [[#X aknasüsteemi taaskäivitamine]]
*K menüü -> Multimedia -> Sound -> Audacity
 
==== E-posti klient (Mozilla Thunderbird) ====
 
*Loe [[#Üldised märkused]]
*Loe [[#Lisarepode lisamine]]
 
urpmi mozilla-thunderbird
 
*K menüü -> Internet -> Mail -> Mozilla Thunderbird
 
==== How to install Diagram Editor (Dia) ====
 
*Lugege [[#Üldised Märkused]]
*Lugege [[#How to add extra repositories]]
 
urpmi dia
 
*K Menu -> Office -> Dia
 
==== How to install Compiled HTML Help (CHM) Viewer (xCHM) ====
 
*Lugege [[#Üldised Märkused]]
*Lugege [[#How to add extra repositories]]
 
urpmi xchm
 
*K Menu -> Office -> Publishing -> Xchm
 
==== How to install Partition Editor (GParted) ====
 
*Lugege [[#Üldised Märkused]]
*Lugege [[#How to add extra repositories]]
 
urpmi gparted
 
*K Menu -> System -> Configuration -> Hardware -> GParted
 
==== Tulemüür (Firestarter) ====
 
*Loe [[#Üldised märkused]]
*Loe [[#Lisarepode lisamine]]
 
urpmi firestarter
 
*K menüü -> System -> Firestarter
 
==== RAR arhiivija (rar) ====
 
*Loe [[#Üldised märkused]]
*Loe [[#Lisarepode lisamine]]
 
urpmi unrar
 
*K menüü -> System -> Archiving -> Ark
 
==== Lisafontide paigaldamine ====
 
*Loe [[#Üldised märkused]]
*Loe [[#Lisarepode lisamine]]
 
urpmi fonts-ttf-arabic
urpmi fonts-ttf-big5
urpmi fonts-ttf-dustismo
urpmi fonts-ttf-freefont
urpmi fonts-ttf-japanese
urpmi fonts-ttf-japanese-extra
urpmi fonts-type1-cyrillic
urpmi fonts-type1-greek
urpmi fonts-hebrew
urpmi cabextract
wget -c http://plf.lastdot.org/seerofsouls/10.2/RPMS/msttcorefonts-bootstrap-0.1-4brs.noarch.rpm
rpm -i msttcorefonts-bootstrap-0.1-4brs.noarch.rpm
 
==== Töölaua appletid (gDesklets) ====
 
*Loe [[#Üldised märkused]]
*Loe [[#Lisarepode lisamine]]
 
urpmi gdesklets-clock
 
*K menüü -> Run Command...
*Sisesta ''gdesklets''
*Rohkema info jaoks vaata: http://gdesklets.org
 
==== Kompileerijate paigaldamine ====
 
*Loe [[#Üldised märkused]]
*Loe [[#Lisarepode lisamine]]
 
urpmi gcc
urpmi gcc2.96
urpmi gcc3.3
 
==== How to install Integrated Development Environment (Anjuta) ====
 
*Lugege [[#Üldised Märkused]]
*Lugege [[#How to add extra repositories]]
 
urpmi anjuta
 
*K Menu -> More Applications -> Development -> Development Enviroments -> Anjuta IDE
 
==== How to install 3D modeling tool (Blender 3d) ====
 
*Lugege [[#Üldised Märkused]]
*Lugege [[#How to add extra repositories]]
 
urpmi blender
 
*K Menu -> Multimedia -> Graphics -> Blender
 
==== How to install virtual planetarium (Stellarium) ====
 
*Lugege [[#Üldised Märkused]]
*Lugege [[#How to add extra repositories]]
 
urpmi stellarium
 
*Lugege [[#More Applications ->]]
*K Menu -> More Applications -> Stellarium
 
==== How to install KDE Edutainment applications (kdeedu) ====
 
*Lugege [[#Üldised Märkused]]
*Lugege [[#How to add extra repositories]]
 
urpmi kdeedu
 
*K Menu -> More Applications -> Education -> ...
 
== 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
 
== User Administration ==
 
==== How to set/change/enable root user password ====
 
*Lugege [[#Üldised Märkused]]
*<b>Preferably use userdrake</b>
 
passwd root
 
==== How to disable the root user account ====
 
*Lugege [[#Üldised Märkused]]
*<b><span style="color: red;">Please think twice before doing this: it can get you into serious trouble</span></b>
*<b>Preferably use userdrake</b>
 
sudo passwd -l root
 
==== Konsoolis kasutajaks root vahetamine ====
 
*Lugege [[#Üldised Märkused]]
 
su
Password: <sisesta rooti parool>
 
==== How to add/edit/delete system users and groups ====
 
*Lugege [[#Üldised Märkused]]
*<b>Preferably use userdrake</b>
*K Menu -> System -> Configuration -> Other -> User Administration
 
'''OR'''
 
*Lugege [[#How to switch to root user in Console mode]]
useradd <username>
userdel <username>
usermod <username>
 
groupadd <groupname>
groupdel <groupname>
groupmod <groupname>
 
==== How to change files/folders permissions ====
 
*Lugege [[#Üldised Märkused]]
*Right click on files/folders -> ''Properties''
*Permissions Tab
*Set Your Permissions
 
==== How to change files/folders ownership ====
 
*Lugege [[#Üldised Märkused]]
 
sudo chown system_username /location_of_files_or_folders
 
==== How to change files/folders group ownership ====
 
*Lugege [[#Üldised Märkused]]
 
sudo chgrp system_groupname /location_of_files_or_folders
 
== Hardware ==
 
==== How to list partition tables ====
 
*Lugege [[#Üldised Märkused]]
 
fdisk -l
 
==== How to list filesystem disk space usage ====
 
*Lugege [[#Üldised Märkused]]
 
df -T
 
*You can also use K Menu -> System -> Monitoring -> KDisk
 
==== How to list mounted devices ====
 
*Lugege [[#Üldised Märkused]]
 
mount
 
==== How to list PCI devices ====
 
*Lugege [[#Üldised Märkused]]
 
lspci
 
''OR''
 
lspcidrake -vv
 
==== How to list USB devices ====
 
*Lugege [[#Üldised Märkused]]
 
lsusb
 
==== How to speed up CD/DVD-ROM ====
 
*Lugege [[#Üldised Märkused]]
 
*''This is assuming that /dev/cdrom is the location of CD/DVD-ROM''
 
hdparm -d1 /dev/cdrom
kwrite /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]]
 
*These operations may only be necessary in older versions of Mandriva; in the latest versions CD/DVD's are mounted automatically, or it can be done via the menu when right clicking in the file manager (e.g. konqueror).
 
*''This is assuming that /mnt/cdrom0/ is the location of CD/DVD-ROM''
 
*To mount CD/DVD-ROM
 
mount /mnt/cdrom0/ -o unhide
 
*To unmount CD/DVD-ROM
 
umount /mnt/cdrom0/
 
==== How to forcefully unmount CD/DVD-ROM manually ====
 
*Lugege [[#Üldised Märkused]]
*These operations may only be necessary in older versions of Mandriva; in the latest versions CD/DVD's are mounted automatically, or it can be done via the menu when right clicking in the file manager (e.g. konqueror).
 
*''This is assuming that /mnt/cdrom0/ is the location of CD/DVD-ROM''
 
umount /mnt/cdrom0/ -l
 
==== How to remount /etc/fstab without rebooting ====
 
*Lugege [[#Üldised Märkused]]
 
mount -a
 
==== How to create Image (ISO) files from CD/DVD ====
 
*Lugege [[#Üldised Märkused]]
 
*''This is assuming 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 mount/unmount Image (ISO) files without burning ====
 
*Lugege [[#Üldised Märkused]]
*To mount Image (ISO) file
 
mkdir /home/uid/iso
modprobe loop
mount file.iso /home/uid/iso/ -t iso9660 -o loop
 
*To unmount Image (ISO) file
 
umount home/uid/iso/
 
==== How to create an emergency boot disk ====
 
*Lugege [[#Üldised Märkused]]
 
How to make a bootable CDRom - as an alternative to, or in addition to a bootable floppy disk.
 
As it is sometimes difficult to fit a modern kernel on a floppy, and because more and more machines do not have a floppy drive at all, it is usually a good idea to have a bootable CDRom if for any reason your machine does not seem to be able to complete the boot process by itself. The following describes the steps to make a bootable CDRom containing the kernel that is running at this time.
 
It should be borne in mind that when actually using the Boot CD in case of need, some operations require the presence on the system of files relative to the kernel that is on the CD. In other words, the best possible boot CD is one for a kernel that is actually installed on the system. When upgrading or adding another kernel to your system, it is advisable to make a new boot CD. When you are already satisfied that the newest kernel does everything it should with your hardware, you can use a CDRW and burn the bootable CD over an older kernel. If not, a separate disk is advisable.
 
Steps to take:
 
Start any console or terminal.
 
Give the commands shown:
 
su # to become root; enter root password when prompted
 
cd /tmp # some temporary files will be created here
 
Insert a blank, writable CDRom or a fresh, unformatted CDRW. In my experience it is best to check that the disk has not been automounted or 'supermounted':
 
umount /mnt/cdrom0 # change 'cdrom0' as needed ¹)
 
(Skip for cdrom): Blank any CDRW with the following command (or with your preferred burnware):
 
cdrecord blank=fast dev=/dev/hdc
 
in which '/dev/hdc' is the mount point of the CDwriter, change as needed ¹)
 
===== Create the ISO file or 'image' from the currently running kernel, that will be needed to burn to disk later =====
 
mkrescue --iso
 
=====  Or: create an ISO file from any kernel on your system, other than the one currently running =====
 
mkrescue --image LABEL --iso
 
in which you must replace 'LABEL' with the label name as it appears in your /etc/lilo.conf . For example if your lilo.conf contains the line: label="linux-2.6.10-1.mm.18" in the paragraph describing the kernel that you want to make a bootable cd from, you should use the command:
 
mkrescue --image linux-2.6.10-1.mm.18 --iso
 
Burn the image to disk:
 
cdrecord speed=16 -eject dev=/dev/hdc rescue.iso
 
in which /dev/hdc is an example; change to same as above ¹); 'speed' may be changed to a proper number for your burner and -eject is not necessary, but I believe a burned disk can better cool off outside than inside the box :)
 
Remove the temporary files from your hard drive (not needed if your system is set to remove temp files).
 
rm rescue.iso
rm mkrescue-flp/boot.bin
rd mkrescue-flp
 
exit # to return to being user.
 
¹) Usually the easiest way to remind yourself which is which is to insert a finished CD in the drive and give the command: "df" and/or "grep cd /etc/fstab"
 
== Networking ==
 
==== How to configure network connections ====
 
*Lugege [[#Üldised Märkused]]
*K Menu -> System -> Configuration -> Configure Your Computer
*Network & Internet
*Reconfigure a network interface
 
==== How to change the computer name ====
 
*Lugege [[#Üldised Märkused]]
 
hostname your_desired_computer_name
 
''OR''
 
*Menu > System > Configuration > Configure your computer > Network  & Internet > Manage hosts definitions
 
''OR''
 
drakhosts
 
==== How to browse network computers ====
 
*Lugege [[#Üldised Märkused]]
 
*''This is assuming that the 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]]''
 
*K Menu -> Home
*At the Location bar replace ''/home/your_user_name'' with ''lan:/''
 
==== How to access network folders without mounting ====
 
*Lugege [[#Üldised Märkused]]
 
:''This is assuming that the network connections have been configured properly''
:''  Network computer's IP: 192.168.0.1''
:''  Shared folder's name: linux''
 
*K Menu -> Run Command...
*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]]
 
:''This is assuming that the 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: /home/uid/sharename''
 
*To mount network folder
 
mkdir /home/uid/sharename
mount //192.168.0.1/linux /home/uid/sharename/ -o username=myusername,password=mypassword
 
*To unmount network folder
 
umount /home/uid/sharename/
 
==== How to mount/unmount network folders manually, and allow all users to read/write ====
 
*Lugege [[#Üldised Märkused]]
 
:''This is assuming that the 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: /home/uid/sharename''
 
*To mount network folder
 
mkdir /home/uid/sharename
mount //192.168.0.1/linux /home/uid/sharename/ -o username=myusername,password=mypassword,dmask=777,fmask=777
 
*To unmount network folder
 
umount /home/uid/sharename/
 
==== How to mount network folders on boot-up, and allow all users to read ====
 
*Lugege [[#Üldised Märkused]]
 
:''This is assuming 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: /home/uid/sharename''
 
mkdir /home/uid/sharename
kwrite /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
kwrite /etc/fstab
 
*Lisage järgnevad read faili lõppu
 
//192.168.0.1/linux    /home/uid/sharename smbfs  credentials=/root/.smbcredentials    0    0
 
*Salvestage muudetud fail
*Lugege [[#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]]
 
:''This is assuming that the 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: /home/uid/sharename''
 
mkdir /home/uid/sharename
kwrite /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
kwrite /etc/fstab
 
*Lisage järgnevad read faili lõppu
 
//192.168.0.1/linux    /home/uid/sharename smbfs  credentials=/root/.smbcredentials,dmask=777,fmask=777  0    0
 
*Salvestage muudetud fail
*Lugege [[#How to remount /etc/fstab without rebooting]]
 
==== How to connect to Google Talk ====
 
*See the answer at [http://www.google.com/talk/otherclients.html Google Talk Help Center]
 
== Windows ==
 
==== How to mount/unmount Windows partitions (NTFS) manually, and allow all users to read only ====
 
*Lugege [[#Üldised Märkused]]
*Lugege [[#How to list partition tables]]
*<b>Preferably use diskdrake</b>
 
:''This is assuming that /dev/hda1 is the location of Windows partition (NTFS)''
:''  Local mount folder: /mnt/win_c''
 
*To mount Windows partition (skip first line if already in /etc/fstab):
 
mkdir /mnt/win_c
mount /dev/hda1 /mnt/win-c/ -t ntfs -o nls=utf8,umask=0222
 
*To unmount Windows partition
 
umount /mnt/win_c/
 
==== How to mount/unmount Windows partitions (FAT) manually, and allow all users to read/write ====
 
*Lugege [[#Üldised Märkused]]
*Lugege [[#How to list partition tables]]
*<b>Preferably use diskdrake</b>
 
:''This is assuming that /dev/hda1 is the location of Windows partition (FAT)''
:''  Local mount folder: /mnt/win_c''
 
*To mount Windows partition (skip first line if already in fstab):
 
mkdir /mnt/win_c
mount /dev/hda1 /mnt/win_c/ -t vfat -o iocharset=utf8,umask=000
 
*To unmount Windows partition
 
umount /mnt/win_c/
 
==== How to mount Windows partitions (NTFS) on boot-up, and allow all users to read only ====
 
*Lugege [[#Üldised Märkused]]
*Lugege [[#How to list partition tables]]
*<b>Preferably use diskdrake</b>
 
:''This is assuming that /dev/hda1 is the location of Windows partition (NTFS), and also that /mnt/win_c isn't in /etc/fstab yet''
:''  Local mount folder: /mnt/win_c''
 
mkdir /mnt/win_c
cp /etc/fstab /etc/fstab_backup
kwrite /etc/fstab
 
*Lisage järgnevad read faili lõppu
 
/dev/hda1    /mnt/win_c ntfs  nls=utf8,umask=0222 0    0
 
*Salvestage muudetud fail
*Lugege [[#How to remount /etc/fstab without rebooting]]
 
==== How to mount Windows partitions (FAT) on boot-up, and allow all users to read/write ====
 
*Lugege [[#Üldised Märkused]]
*Lugege [[#How to list partition tables]]
*<b>Preferably use diskdrake</b>
 
:''This is assuming that /dev/hda1 is the location of Windows partition (FAT) and also assuming that /mnt/win_c isn't in /etc/fstab yet''
:''  Local mount folder: /mnt/win_c''
 
mkdir /mnt/win_c
cp /etc/fstab /etc/fstab_backup
kwrite /etc/fstab
 
*Lisage järgnevad read faili lõppu
 
/dev/hda1    /mnt/win_c vfat  iocharset=utf8,umask=000  0    0
 
*Salvestage muudetud fail
*Lugege [[#How to remount /etc/fstab without rebooting]]
 
== Tips & Tricks ==
 
==== How to restart KDE without rebooting computer ====
 
*Lugege [[#Üldised Märkused]]
*Save and close all opened applications
 
Press 'Ctrl + Alt + Backspace'
 
==== How to switch to Console mode in KDE? ====
 
*Lugege [[#Üldised Märkused]]
*To switch to Console mode
 
Press 'Ctrl + Alt + F1' (F2 - F6)
 
*To switch between consoles in Console mode
 
Press 'Alt + F1' (F2 - F6)
 
*To switch back to KDE mode
 
Press 'Alt + F7'
 
==== How to disable Ctrl+Alt+Backspace from restarting X in KDE ====
 
*Lugege [[#Üldised Märkused]]
 
cp /etc/X11/xorg.conf /etc/X11/xorg.conf_backup
kwrite /etc/X11/xorg.conf
 
*Lisage järgnevad read faili lõppu
 
Section "ServerFlags"
Option "DontZap" "yes"
EndSection
 
*Salvestage muudetud fail
*Lugege [[#How to restart KDE without rebooting computer]]
 
==== How to change default file type "Open with" program ====
 
*Lugege [[#Üldised Märkused]]
*Right click on file -> '''Properties'''
*Click the little monkeywrench button near ''Type:''
*Move the default "Open With" application to top
: If your application is not in the list click ''Add...''
 
==== How to load Web site faster in Mozilla Firefox ====
 
*Lugege [[#Üldised Märkused]]
*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
 
*Käivitage Mozilla Firefox uuesti
 
==== How to disable beep sound for link find function in Mozilla Firefox ====
 
*Lugege [[#Üldised Märkused]]
*Applications -> Internet -> Firefox Web Browser
*Mozilla Firefox
 
Address Bar -> about:config
 
Filter: -> accessibility.typeaheadfind.enablesound -> false
 
*Käivitage Mozilla Firefox uuesti
 
==== How to install/uninstall .rpm files ====
 
*Lugege [[#Üldised Märkused]]
*<b>Preferably use Menu > System > Configuration > Configure Your Computer > Software Management</b>
 
*To install .rpm file
 
urpmi package_file.rpm
 
*To uninstall .rpm file
 
urpme package_name
 
==== How to set System wide Environment Variables ====
 
*Lugege [[#Üldised Märkused]]
 
cp /etc/bashrc /etc/bashrc_backup
kwrite  /etc/bashrc
 
*Append the System-wide Environment Variables at the end of file
*Salvestage muudetud fail
 
==== How to set user only environment variables ====
 
*Lugege [[#Üldised Märkused]]
*Contrary to most other commands, this should be done as the user him/herself, not as root
 
cp /home/userid/.bash_profile /home/userid/.bash_profile_backup
kwrite  ~/bash_profile
 
*Add the user environment variable(s), for example, to add the directory /home/userid/bin to your path:
 
PATH=$PATH:$HOME/bin
 
and to make the variable really work, add also the line:
 
export PATH
 
*Salvestage muudetud fail
 
==== How to save "man" outputs into files ====
 
*Lugege [[#Üldised Märkused]]
 
man command | col -b > file.txt
 
==== How to temporarily skip boot-up services ====
 
*Lugege [[#Üldised Märkused]]
 
Press 'Ctrl + C'
 
==== How to scroll up and down to view previous outputs in Console mode ====
 
*Lugege [[#Üldised Märkused]]
*To scroll up to view previous output
 
Press 'Shift + Page Up'
 
*To scroll down to view previous output
 
Press 'Shift + Page Down'
 
== AntiVirus Server ==
 
==== How to install ClamAV AntiVirus Server ====
 
*Lugege [[#Üldised Märkused]]
*Lugege [[#How to add extra repositories]]
 
urpmi clamav
 
==== How to manually update virus databases ====
 
*Lugege [[#Üldised Märkused]]
*Lugege [[#How to install ClamAV AntiVirus Server]]
 
freshclam
 
==== How to manually scan files/folders for viruses ====
 
*Lugege [[#Üldised Märkused]]
*Lugege [[#How to install ClamAV AntiVirus Server]]
 
clamscan -r /location_of_files_or_folders
 
==== How to automatically scan files/folders for viruses ====
 
*Lugege [[#Üldised Märkused]]
*Lugege [[#How to install ClamAV AntiVirus Server]]
 
:''e.g. Automatically scan files/folders for viruses at midnight everyday''
:''  * * * * * means minute hour date month year''
 
export EDITOR=kwrite &&  crontab -e
 
*Lisage järgnevad read faili lõppu
 
00 00 * * *  clamscan -r /location_of_files_or_folders
 
*Salvestage muudetud fail
 
== SSH Server ==
 
==== How to install SSH Server for remote administration service ====
 
*Lugege [[#Üldised Märkused]]
*Lugege [[#How to add extra repositories]]
 
urpmi openssh
 
==== How to SSH into remote Mandriva machine ====
 
*Lugege [[#Üldised Märkused]]
 
:''This is assuming that the remote Mandriva machine has installed the SSH Server service''
:''  Read [[#How to install SSH Server for remote administration service]]''
:''  Remote Mandriva machine: 192.168.0.1''
 
ssh username@192.168.0.1
 
==== How to copy files/folders from remote Mandriva machine into local machine (scp) ====
 
*Lugege [[#Üldised Märkused]]
 
:''This is assuming that the remote Mandriva machine has installed the SSH Server service''
:''  Read [[#How to install SSH Server for remote administration service]]''
:''  Remote Mandriva 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 Mandriva machine (scp) ====
 
*Lugege [[#Üldised Märkused]]
 
:''This is assuming that the remote Mandriva machine has installed the SSH Server service''
:''  Read [[#How to install SSH Server for remote administration service]]''
:''  Local files/folders location: localfile.txt''
:''  Remote Mandriva machine: 192.168.0.1''
:''  Remote Mandriva machine save location: /home/username/''
 
scp -r localfile.txt username@192.168.0.1:/home/username/
 
==== How to copy files/folders from remote Mandriva machine into local machine (rsync) ====
 
*Lugege [[#Üldised Märkused]]
 
:''This is assuming that the remote Mandriva machine has installed the SSH Server service''
:''  Read [[#How to install SSH Server for remote administration service]]''
:''  Remote Mandriva 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 Mandriva machine (rsync) ====
 
*Lugege [[#Üldised Märkused]]
 
:''This is assuming that the remote Mandriva machine has installed the SSH Server service''
:''  Read [[#How to install SSH Server for remote administration service]]''
:''  Local files/folders location: localfile.txt''
:''  Remote Mandriva machine: 192.168.0.1''
:''  Remote Mandriva machine save location: /home/username/''
 
rsync -v -u -a --delete --rsh=ssh --stats localfile.txt username@192.168.0.1:/home/username/
 
==== How to SSH into remote Mandriva machine via Windows machine ====
 
*Lugege [[#Üldised Märkused]]
 
:''This is assuming that the remote Mandriva machine has installed the SSH Server service''
:''  Read [[#How to install SSH Server for remote administration service]]''
 
*Laadige alla PuTTY: [http://the.earth.li/~sgtatham/putty/latest/x86/putty.exe Here]
 
==== How to copy files/folders from/into remote Mandriva machine via Windows machine ====
 
*Lugege [[#Üldised Märkused]]
 
:''This is assuming that the remote Mandriva machine has installed the SSH Server service''
:''  Read [[#How to install SSH Server for remote administration service]]''
 
*Laadige alla WinSCP: [http://jaist.dl.sourceforge.net/sourceforge/winscp/winscp374setupintl.exe Here]

Redaktsioon: 9. juuli 2006, kell 21:30

Aidake koostamisega/tõlkimisega!

Mitteametlik Mandriva Linux 2006 Alustamisjuhend

See juhend põhineb University of Latvia kirjutatud Unofficial Mandriva Linux 2006 Starter Guide-l ja on tõlgitud ja kohandatud eesti keelde Pingviini Vikis.

Üldised märkused

  • See on mitteametlik Mandriva Linux 2006 alustamisjuhend. Sellel puudub igasugune seos Mandriva firmaga.
  • See juhend on testitud täieliku Mandriva Linux 2006 paigaldusega, mis kasutab KDE-d töölauahaldurina (kuigi allpool on mainutud ka mõnda GNOME-i rakendust).
Soovitatav on valida ainult üks töölauahaldur, et vältida segadust juhul kui mitmed sarnased programmid teevad sarnast asja.
  • Kastide sees paiknevad käsud pead sa käivitama terminalis (K menüü-> Süsteem -> Terminalid -> Konsool või siis K Menu -> System -> Terminals -> Konsole).
NB! Neid käske peab käivitama rootina. Loe #Konsoolis kasutajaks root vahetamine
Põhimõtteliselt enne millegi tegemist pead sa trükkima
su
ja sisestama oma rooti parooli.
  • Sa pead ka lisama lisareposid, millest saad alla laadida programme ja nende uuendusi.
Loe #Lisarepode lisamine
  • Et vältida vigu ümberkirjutamisel, kopeeri ja aseta käsud terminali (parem klõps käskudel -> "Kopeeri" /"Aseta". Sa võid kasutada ka Ctrl+C kopeerimiseks ja Shift+Insert asetamiseks.)
  • Kui sa ei taha töötada terminaliga, loe #Kerge programmide paigaldamine (Rpmdrake)
  • "urpmi" ja "wget" vajavad internetiühendust
  • Kasutades "urpmi" küsitakse sult lisapakettide kohta (additional packages), vasta alati Jah (Yes "y")
  • Loodetavasti on sellest juhendist sulle abi

Alustuseks

Mis on Mandriva?

Mandriva kuvapildid

Kust Mandrivat alla laadida?

Abi otsimine

Inglise keelsed lehed:

Kust ma võin leida uusi programme?

Kust ma võin leida vahendeid oma töölaua muutmiseks?

Lisarepode lisamine

Soovitatavalt lisa vähemalt main, contrib, plf-free ja plf-nonfree.

Paigaldus-CD eemaldamine meedianimekirjast

urpmi.removemedia Installation Free CD

Mandriva uuendamine

urpmi --auto-select

Lisarakenduste paigaldamine

Java J2SE Runtime Environment (JRE) koos Mozilla Firefoxi pluginaga

wget -c http://www.mandrivaclub.nl/sources/official/2006/i586/j2re-1.5.0.5-1.2006mcnl.i586.rpm
rpm -i j2re-1.5.0.5-1.2006mcnl.i586.rpm
rm -f j2re-1.5.0.5-1.2006mcnl.i586.rpm
urpmi java-1.4.2-gcj-compat
  • Käivita Mozilla Firefox uuesti

Flash Player (Macromedia Flash) plugin Mozilla Firefoxile

wget -c http://fpdownload.macromedia.com/get/flashplayer/current/install_flash_player_7_linux.tar.gz
tar zxvf install_flash_player_7_linux.tar.gz
./install_flash_player_7_linux/flashplayer-installer
rm -rf install_flash_player_7_linux
rm -f install_flash_player_7_linux.tar.gz
wget -c http://macromedia.rediris.es/rpm/mandrake/flash-plugin-7.0.63-1.i386.rpm
rpm -Uvh  flash-plugin-7.0.63-1.i386.rpm
  • Käivita Mozilla Firefox uuesti

PDF-lugeja (Adobe Lugegeer) koos pluginaga Mozilla Firefoxile

wget -c http://ardownload.adobe.com/pub/adobe/Lugegeer/unix/7x/7.0/enu/AdobeLugegeer_enu-7.0.1-1.i386.rpm
rpm -i AdobeLugegeer_enu-7.0.1-1.i386.rpm
rm -f AdobeLugegeer_enu-7.0.1-1.i386.rpm
kwrite /usr/share/applications/AdobeLugegeer.desktop
  • Leia see rida
Categories=Application;Office;Viewer;X-Red-Hat-Base;
  • Asenda see järgneva reaga
Categories=X-Mandrakelinux-Office-Publishing;
  • K menüü -> Office -> Publishing -> Adobe Lugegeer