Benutzer-Werkzeuge

Webseiten-Werkzeuge


becki:linux:slack_setup_tips

Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Beide Seiten der vorigen Revision Vorhergehende Überarbeitung
Nächste Überarbeitung
Vorhergehende Überarbeitung
becki:linux:slack_setup_tips [2012-08-19 12:43]
becki
becki:linux:slack_setup_tips [2020-06-27 09:11] (aktuell)
admin ↷ Links angepasst weil Seiten im Wiki verschoben wurden
Zeile 39: Zeile 39:
 ==== Boot == ==== Boot ==
  
-Since Slack 12.0 the default Kernel to select is hugesmp.s+UEFI systems might need some tweaking to boot: [[slack on uefi]] 
 + 
 +Since Slack 12.0 the default Kernel to select is hugesmp.s ​(hugse.s on 14.2 64Bit)
  
 <​del>​Select kernel: Since Slack 10.2 I prefer ''​bareacpi.i''​ over the default ''​bare.i''​ for standard IDE Systems. For my SCSI-PC I use ''​adaptec.s''​. ''​lspci -v''​ will help to select the suitable kernel.</​del>​ (obsolete) <​del>​Select kernel: Since Slack 10.2 I prefer ''​bareacpi.i''​ over the default ''​bare.i''​ for standard IDE Systems. For my SCSI-PC I use ''​adaptec.s''​. ''​lspci -v''​ will help to select the suitable kernel.</​del>​ (obsolete)
Zeile 55: Zeile 57:
 === Swap == === Swap ==
  
-How big should my swap space be? See [[http://www.linux.com/​news/​software/​applications/​8208-all-about-linux-swap-space|All about Linux swap space]]+If you have plenty of RAM than Swap is not so important, but create a Swap partition anyway, probabliy with the //same size as the RAM//. Otherwise a fstab may not be created.
  
-If you have plenty of RAM than Swap is not so important, but create a Swap partition anyway, probabliy with the same size as the RAM. Otherwise a fstab may not be created.+Further reading: How big should my swap space be? See [[http://​www.linux.com/​news/​software/​applications/​8208-all-about-linux-swap-space|All about Linux swap space]]
  
 === / == === / ==
Zeile 76: Zeile 78:
 If you want to reuse old partitions which contain already data, eg for /home /home/share you can specify them here, but  **don'​t** select to format them! If you want to reuse old partitions which contain already data, eg for /home /home/share you can specify them here, but  **don'​t** select to format them!
  
-A note on network boot: It worked with the single line ''/​mnt/​cdrom/​slackware *(ro,​sync)''​ in ''/​etc/​exports''​ on the server and at the promt "What is the Slackware source directory"​ ''/​mnt/​cdrom/​slackware''​. Of course, the install DVD/CD has to be mountet in the cd-drive of the server before+<del>A note on network boot: It worked with the single line ''/​mnt/​cdrom/​slackware *(ro,​sync)''​ in ''/​etc/​exports''​ on the server and at the promt "What is the Slackware source directory"​ ''/​mnt/​cdrom/​slackware''​. Of course, the install DVD/CD has to be mountet in the cd-drive of the server before</​del>​ 
 + 
 +Package Series Selection Recommendations:​ If disc space is sparse deselect E (Emacs), F (FAQ'​s),​ K (Kernel Source), T  (TeX typesetting language), TCL (Tcl/​Tk/​TclX scripting languages and tools) & Y (Classic text-based BSD games). But //select// KDEI (KDE i18n -- why??) (and remove unnecessary languages later)
  
-Package Series Selection RecommendationsIf disc space is sparse deselect E (Emacs), F (FAQ'​s),​ K (Kernel Source), T  (TeX typesetting language), TCL (Tcl/Tk/TclX scripting languages and tools) & Y (Classic text-based BSD games). But //select// KDEI (KDE i18n) (and remove unnecessary languages later)+:!: In order to track //all// local configuration changes, when the setup program asks to configure the network, switch to another console and make a cp of /mnt/etc
  
 === Setup Example == === Setup Example ==
Zeile 248: Zeile 252:
 ==== xorg.conf == ==== xorg.conf ==
  
-See [[xorg_tips#​etc_x11_xorg.conf|xorg_tips->​etc_x11_xorg.conf]]+No config necessary any more. (Otherwise see [[xorg_tips#​etc_x11_xorg.conf|xorg_tips->​etc_x11_xorg.conf]])
  
-==== Alsa Sound ==+==== Alsa/​Pulse ​Sound ==
  
-  * alsamixer : unmute master & pcm with m-Key; ​set master ​to ~75% and pcm to 100%; Quit with ESC +see [[sound#Basic setup]] and as of 14.2 set mplayer ​to use [[sound#​select_output_driver|pulse]] as output device
-  * alsactrl store +
-Source: /​etc/​rc.d/​rc.alsa and Bootmessages;​ amarok home page has also infos about alsarc configuration+
  
 ==== Harddisk Standby == ==== Harddisk Standby ==
Zeile 292: Zeile 294:
 ==== Create and install an Initrd == ==== Create and install an Initrd ==
  
-To use the [[slack>​slackware-13.1/​CHANGES_AND_HINTS.TXT|recommended]] generic instead of the huge kernel you have to build an initrd. This section is based on [[slack>​slackware-13.1/​README.initrd]] +See [[slack_initrd]]
- +
-Make a copy of ''/​boot''​ dir to be on the save side: ''​cp -a /boot /​boot.org''​ +
- +
-Create the initial ramdisk filesystem ''/​boot/​initrd.gz''​ with +
-  mkinitrd -c -k 2.6.33.4-smp -m ext3 -f ext3 -r /dev/sda2 +
-In this example we have an ''​ext3''​ root "''/''"​ partition on ''/​dev/​sda2''​ (see ''​ls -al /​dev/​root''​) for a kernel of version ''​2.6.33.4-smp''​ (See ''​uname -r''​). +
-Or +
-  mkinitrd -c -k 2.6.33.4-smp -m reiserfs +
-for Reiserfs, or +
-  mkinitrd -c -k 2.6.33.4-smp -m ext4 -f ext4 -r /dev/sda2 +
-for ext4 on /dev/sda2 +
- +
-It is not necessary to change the symlinks in /boot :?: +
- +
-Add a new image-section at the beginning of the image sections to ''/​etc/​lilo.config'':​ +
-<​code>​ +
-image = /​boot/​vmlinuz-generic-smp-2.6.33.4-smp +
-  initrd ​ = /​boot/​initrd.gz +
-  root= /dev/sda2 +
-  label = LinuxGeneric +
-  read-only +
-</​code>​ +
- +
-Run ''​lilo''​ and restart. +
- +
-<note important>​If a new kernel is installed (e.g. by running ''​slackpkg''​),​ a new ''​initrd.gz''​ must be created. And if ''​initrd.gz''​ is modified, ''​lilo''​ must be started again!</​note> ​+
  
 ==== Remote Login == ==== Remote Login ==
Zeile 589: Zeile 565:
 tar -xf jdk-XXXX-linux-i586.tar.gz tar -xf jdk-XXXX-linux-i586.tar.gz
 rm jdk-XXXX-linux-i586.tar.gz rm jdk-XXXX-linux-i586.tar.gz
-chown -root:root jreXXX+chown -root:root jreXXX
 ln -s jreXXX java ln -s jreXXX java
 cd /​etc/​profile.d cd /​etc/​profile.d
-wget http://ftp.gwdg.de/​pub/​linux/​slackware/​slackware-current/​extra/​java/​profile.d/​jre.sh+curl -O http://download.dlackware.com/​slackware/​slackware/​extra/​java/​profile.d/​jre.sh
 chmod +x jre.sh chmod +x jre.sh
 </​code>​ </​code>​
Zeile 607: Zeile 583:
 </​code>​ </​code>​
  
 +Note: This jre.sh works for the JDK as well. It doesn'​t matter if you istall the JDK or just the JRE to /usr/local
 ==== Apache Ant == ==== Apache Ant ==
  
Zeile 625: Zeile 602:
 ===== Setup a Mailserver == ===== Setup a Mailserver ==
  
-For Postfix and Dovecot see [[mailserver tips]]+For Postfix and Dovecot see [[..:​my:​blog:​2010:​0120_mailserver_tips]] 
 + 
 +===== Quota == 
 + 
 +See [[Quota]] 
becki/linux/slack_setup_tips.1345380238.txt.gz · Zuletzt geändert: 2012-08-19 12:43 von becki

Impressum - Datenschutzerklärung