Red Hat ENTERPRISE LINUX WS 2.1 - Instalační příručka Strana 202

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 272
  • Tabulka s obsahem
  • ŘEŠENÍ PROBLÉMŮ
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 201
202 Troubleshooting TopSpin
DONE
INDEX
INDEX
12.6 Useful configuration hints
In this chapter you can find some useful configurations of the xorg.conf file.
12.6.1 Definition of the font path
In the file /etc/X11/xorg.conf you can add an information about the loca-
tion of the fontpath, which make it easier for programs to find the necessary fonts.
E.g. if you have fonts available in /usr/X11R6/lib/X11/rgb
...
Section "Files"
RgbPath"/usr/X11R6/lib/X11/rgb"
FontPath "unix/:7100"
EndSection
...
12.6.2 Increase the swap space
With the description below you can create a second swap file in case you want to
increase the swap size of your system:
1. Open a linux shell
2. Login as root with the command su -
3. Enter the command:
dd if=/dev/zero of=/swapfile bs=2097445888 count=1
4. Enter the command:
mkswap /swapfile
5. Enter the command:
swapon /swapfile
6. Check if the creation of the swapfile was successful:
cat /proc/swaps
You should get a three-line answer, e.g.:
Filename Type Size Used Priority
/dev/hda5 partition 2048720 <xxx> -1
Zobrazit stránku 201
1 2 ... 197 198 199 200 201 202 203 204 205 206 207 ... 271 272

Komentáře k této Příručce

Žádné komentáře