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-05-05 08:31]
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 581: Zeile 557:
 See [[apache httpd]] See [[apache httpd]]
  
-===== Java == +===== Java Runtime ​==
-==== Newest JDK ==+
  
-  * Download e.g. ''​jdk-6u11-linux-i586.bin''​ from java.sun.com (no rpm) +Since Slack14 Java is gone => Download ​''​jdk-XXXX-linux-i586.tar.gz''​ from java.sun.com (no rpm)
-  * Installation:​+
  
 <code bash> <code bash>
-mv jdk-6u11-linux-i586.bin /​usr/​local/​lib +cd  /​usr/​local 
-cd /usr/local/lib +tar -xf jdk-XXXX-linux-i586.tar.gz 
-chmod a+x jdk-6u11-linux-i586.bin +rm jdk-XXXX-linux-i586.tar.gz 
-./jdk-6u11-linux-i586.bin +chown -R root:root jreXXX 
-cd /usr/lib +ln -s jreXXX java 
-mv java java.org +cd /etc/profile.d 
-ln -/usr/local/lib/jdk1.6.0_11 java+curl -O http://download.dlackware.com/slackware/​slackware/​extra/​java/profile.d/jre.sh 
 +chmod +x jre.sh
 </​code>​ </​code>​
  
-==== Default JDK == +<code diff> 
- +--- jre.sh~ 2009-04-29 19:​29:​03.000000000 +0200 
-For clearness first uninstall the JRE! ++++ jre.sh 2012-08-19 14:​41:​41.712846717 +0200 
- +@@ -1,4 +1,4 @@ 
-For developing in Javadownload the JDK from AnySlackwareServer/extra & install it with installpkg. + #!/bin/sh 
- +-export JAVA_HOME=/​usr/​lib/​java 
-Check if the java plugin of firefox still works after installation ​ --- 2007-03-29++export JAVA_HOME=/​usr/​local/​java 
 + ​export MANPATH="​${MANPATH}:​${JAVA_HOME}/​man"​ 
 + ​export PATH="​${PATH}:​${JAVA_HOME}/​bin"​ 
 +</​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 623: 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.1336206671.txt.gz · Zuletzt geändert: 2012-05-05 08:31 von becki

Impressum - Datenschutzerklärung