After installing Slackware: a checklist: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 66: | Line 66: | ||
*<code>/etc/smartd.conf</code>. For HDD: | *<code>/etc/smartd.conf</code>. For HDD: | ||
<pre>/dev/disk/by-id/ata-... -a -o on -S on -I 9 -I 190 -I 194 -m root -s (S/../.././04)</pre> | <pre>/dev/disk/by-id/ata-... -a -o on -S on -I 9 -I 190 -I 194 -m root -s (S/../.././04)</pre> | ||
For SSD, substitute "<code>S</code>" in parentheses with "<code>L</code>" | For SSD, substitute "<code>S</code>" in parentheses with "<code>L</code>". | ||
To start smartd uncomment the corresponding lines in <code>/etc/rc.d/rc.M</code>. If the machine is not always on, add the option <code>--savestates=/var/tmp/smartd</code> | |||
To start smartd uncomment the corresponding lines in <code>/etc/rc.d/rc.M</code>. If the machine is not always on, add the option <code>--savestates=/var/tmp/smartd</code>. | |||
Revision as of 23:55, 18 November 2015
Should be done during installation:
- partitions
/etc/fstab/etc/mdadm.conf/etc/mkinitrd.conf/boot/grub/grub.cfg/etc/hosts/etc/rc.d/rc.inet1.conf- Software series:
- server:
a ap d e f k l n t tcl x y(i.e., all except forkde kdei xap xfce) - desktop: add
xapand removet(to be replaced with TeX Live)
- server:
After installation
- Replace
/etc/termcapwith thetermcapfile from the xterm source because it has the xterm-256color entry # ln -sf /usr/bin/vim /usr/bin/vi# chmod -x /etc/profile.d/bsd-games-login-fortune.sh/etc/resolv.conf/etc/profile.d/lang.sh(not forget to comment out "export LANG=en_US" and "export LC_COLLATE=C")
LANG=ru_RU.UTF-8 LC_MESSAGES=en_US.UTF-8 LC_TIME=en_GB.UTF-8 LC_NUMERIC=en_US.UTF-8 LC_MONETARY=en_US.UTF-8 export LANG LC_MESSAGES LC_TIME LC_NUMERIC LC_MONETARY
/etc/profile.d/man.sh
alias man='LANG=C /usr/bin/man'
- Set
ENCRYPT_METHOD SHA512in/etc/login.defsand re-create password for root - Creat users (using
adduserscript) # usermod -a -G wheel alan~/.bashrc:
source /etc/profile [ -f "$HOME/.bash_profile" ] && source "$HOME/.bash_profile"
.vimrc,.vim/$ ssh-copy-id -i ~/.ssh/id_rsa.pub/etc/ssh/sshd_config
PermitRootLogin no PasswordAuthentication no PrintMotd no PrintLastLog no
- Remove
lilo - Upgrade kernel;
/etc/rc.d/rc.modules.local, blacklist unneeded modules # iucode_tool --scan-system --overwrite --write-earlyfw=/boot/ucode.cpio microcode.dat- Disable unneeded rc-files, e.g.,
# chmod -x rc.acpid rc.alsa rc.consolekit rc.gpm-sample rc.wireless - Configure a mirror and install all
patches # slackpkg install bash-completion~/.bash_completion- Install and configure
slackpkg+ # /usr/doc/slackpkg+-*/setupmultilib.shto configure and install multilib# sensors-detect. Add modules for lm_sensors to/etc/rc.d/rc.modules.local/etc/rc.d/rc.local
# Set all sensors limits as specified in the configuration file if [ -x /usr/bin/sensors ]; then /usr/bin/sensors -s fi # Ensure the existence of /var/lib/dbus/machine-id if [ -x /usr/bin/dbus-uuidgen -a ! -x /etc/rc.d/rc.messagebus ] ; then echo "Ensure that /var/lib/dbus/machine-id exists: /usr/bin/dbus-uuidgen --ensure" /usr/bin/dbus-uuidgen --ensure fi
# slackpkg install ipmitools/etc/rc.d/rc.modules.local
# IPMI modules /sbin/modprobe ipmi_msghandler /sbin/modprobe ipmi_devintf /sbin/modprobe ipmi_si
/etc/smartd.conf. For HDD:
/dev/disk/by-id/ata-... -a -o on -S on -I 9 -I 190 -I 194 -m root -s (S/../.././04)
For SSD, substitute "S" in parentheses with "L".
To start smartd uncomment the corresponding lines in /etc/rc.d/rc.M. If the machine is not always on, add the option --savestates=/var/tmp/smartd.