MoinMoin Logo
  • Comments
  • Immutable Page
  • Menu
    • Navigation
    • RecentChanges
    • FindPage
    • Local Site Map
    • Help
    • HelpContents
    • HelpOnMoinWikiSyntax
    • Display
    • Attachments
    • Info
    • Raw Text
    • Print View
    • Edit
    • Load
    • Save
  • Login

Navigation

  • Start
  • Sitemap
Revision 39 as of 2024-08-05 22:10:15
  • Slackware
  • Slackware64
  • ToshibaC850D

Toshiba C850D

Contents

  1. Toshiba C850D
    1. X11
    2. Sound
    3. Install VirtualBox on Slackware64 14
    4. Install Vagrant from source
    5. Install libdvdcss
    6. Upgrade from Slack64 14.0 to 14.1
    7. Upgrade from 14.1 to 14.2
    8. Radeon HD 7310 driver
    9. AMD driver
    10. Upgrade to Slackware64 15.0
    11. connectWifi.sh
    12. Add user to sudoers
    13. Install Virtualbox in Slackware64 15.0
    14. Docker container
    15. slackpkg+ and slackonly
    16. Updates via slackpkg

X11

On BIOS the touchpad is defined as internal mouse (PS/2) /etc/X11/xorg.conf

Section "Module"
    Load        "dbe"   # Double buffer extension
    SubSection  "extmod"
      Option    "omit xfree86-dga"   # don't initialise the DGA extension
    EndSubSection
    Load        "type1"
    Load        "freetype"
    Load       "glx"
EndSection

Section "Files"
    FontPath   "/usr/share/fonts/local/"
    FontPath   "/usr/share/fonts/misc/"
    FontPath   "/usr/share/fonts/OTF/"
    FontPath   "/usr/share/fonts/TTF/"
    FontPath   "/usr/share/fonts/Type1/"
    FontPath   "/usr/share/fonts/CID/"
    FontPath   "/usr/share/fonts/Speedo/"
    FontPath   "/usr/share/fonts/75dpi/:unscaled"
    FontPath   "/usr/share/fonts/100dpi/:unscaled"
    FontPath   "/usr/share/fonts/75dpi/"
    FontPath   "/usr/share/fonts/100dpi/"
    FontPath   "/usr/share/fonts/cyrillic/"
EndSection

Section "ServerFlags"
    Option     "DontZap"
EndSection

Section "InputDevice"
    Identifier  "Keyboard1"
    Driver      "kbd"
    Option "XkbLayout" "pt"
EndSection

Section "InputDevice"
    Identifier  "Mouse1"
    Driver      "mouse"
    Option "Device" "/dev/mouse"  
    Option "Protocol"    "PS/2"
EndSection

Section "Monitor"
    Identifier  "My Monitor"
    HorizSync   31.5 - 50.0
    VertRefresh 40-90
EndSection

Section "Device"
    Identifier  "VESA Framebuffer"
    Driver      "vesa"
EndSection

Section "Screen"
    Identifier  "Screen 1"
    Device      "VESA Framebuffer"
    Monitor     "My Monitor"
   DefaultDepth 24
    Subsection "Display"
        Depth       8
        Modes "1366x768" "1024x768" "800x600" "640x480"
    EndSubsection
    Subsection "Display"
        Depth       16
        Modes "1366x768" "1024x768" "800x600" "640x480"
    EndSubsection
    Subsection "Display"
        Depth       24
        Modes "1366x768" "1024x768" "800x600" "640x480"
    EndSubsection
    Subsection "Display"
        Depth       32
        Modes "1366x768" "1024x768" "800x600" "640x480"
    EndSubsection
EndSection

Section "ServerLayout"
    Identifier  "Simple Layout"
    Screen "Screen 1"
    InputDevice "Mouse1" "CorePointer"
    InputDevice "Keyboard1" "CoreKeyboard"
EndSection

/etc/kde/kdm/Xsetup

# Xsetup - run as root before the login dialog appears
setxkbmap pt

ntpd

  • ntpdate pool.ntp.org
  • chmod 755 /etc/rc.d/rc.ntpd
  • /etc/rc.d/rc.ntpd start
  • /etc/rc.d/rc.ntpd status
  • ntpdate -q pt.pool.ntp.org

lilo.conf

append=" vt.default_utf8=1"
boot = /dev/sda

  bitmap = /boot/slack.bmp
  bmp-colors = 255,0,255,0,255,0
  bmp-table = 60,6,1,16
  bmp-timer = 65,27,0,255

prompt
timeout = 1200
change-rules
  reset
vga = 790
# Windows bootable partition config begins
other = /dev/sda1
  label = Windows
  table = /dev/sda
# Windows bootable partition config ends
# Linux bootable partition config begins
image = /boot/vmlinuz
  root = /dev/sda4
  label = Linux
  read-only
# Linux bootable partition config ends

image = /boot/vmlinuz-generic-3.2.29
  initrd = /boot/initrd.gz
  root = /dev/sda4
  label = SlackGen
  read-only

Sound

  • aplay -l # card 1: Generic_1 [HD-Audio Generic], device 0: ALC269VC Analog [ALC269VC Analog]
  • cd /usr/share/sounds
  • aplay -D plughw:1,0 pop.wav # made sound , card 1 device 0

/etc/asound.conf

defaults.pcm.card 1
defaults.pcm.device 0
defaults.ctl.card 1
  • aplay pop.wav
  • usermod -G audio,users vitor # access user vitor to audio devices ...

Install VirtualBox on Slackware64 14

For 4.3.26 http://download.virtualbox.org/virtualbox/4.3.26/VirtualBox-4.3.26-98988-Linux_amd64.run

As root run the following commands:

  • cd <place where the downloaded virtualbox installer is>

  • chmod 755 VirtualBox-4.3.26-98988-Linux_amd64.run

  • ./VirtualBox-4.3.26-98988-Linux_amd64.run

  • usermod -a -G vboxusers,users,audio <username>

  • id <username> #check user groups As a normal user run the following:

  • virtualbox --help # check the version and parameters
  • virtualbox #start virtualbox

Install Vagrant from source

Based on https://github.com/mitchellh/vagrant/wiki/Installing-Vagrant-from-source

As root run the following:

  • cd /tmp
  • mkdir gitVagrant
  • cd gitVagrant
  • git clone https://github.com/mitchellh/vagrant.git

  • cd vagrant
  • git pull origin master #get latest version
  • git reset a40522f5fabccb9ddabad03d836e120ff5d14093 --hard # reset to v1.3.5
  • gem install bundle #it may not be installed
  • bundle install
  • rake install
  • gem list
  • vagrant -v #check vagrant version

Install libdvdcss

  • cd /tmp
  • wget http://slackbuilds.org/slackbuilds/14.1/libraries/libdvdcss.tar.gz

  • wget http://download.videolan.org/pub/libdvdcss/1.2.13/libdvdcss-1.2.13.tar.bz2

  • tar xvzf libdvdcss.tar.gz
  • mv libdvdcss-1.2.13.tar.bz2 libdvdcss/
  • cd libdvdcss/
  • ./libdvdcss.SlackBuild

  • installpkg xyz.SBo.tgz
  • ln -s /dev/sr0 /dev/dvd
  • chmod 664 /dev/sr0
  • mplayer -ao alsa -dvd://

Upgrade from Slack64 14.0 to 14.1

  • ctrl+alt+f1
  • mount /dev/cdrom /mnt/cdrom
  • cd /mnt/cdrom
  • cp slackware64 /root/ -r
  • cd /root
  • mv slackware64 slackware
  • telninit 1
  • login as root
  • cd /root/slackware
  • upgradepkg a/glibc-solibs-*.t?z
  • upgradepkg a/pkgtools-*.tgz
  • upgradepkg a/tar-*.tgz
  • upgradepkg a/xz-*.tgz
  • upgradepkg a/findutils-*.txz
  • upgradepkg --install-new /root/slackware/*/*.t?z
  • removepkg Terminal aumix kdegames kdemultimedia ksecrets mysql printer-applet quanta rexima scim-bridge xxgdb
  • Check file /etc/lilo.conf to see which old kernel is used #/boot/vmlinuz-generic-3.2.29
  • /usr/share/mkinitrd/mkinitrd_command_generator.sh -k 3.10.17 | bash
  • In /etc/lilo.conf use image=/boot/vmlinuz-generic-3.10.17
  • lilo -v
  • telinit 3
  • reboot
  • After the reboot shows the kernel version 3.10.17
  • On file /etc/kde/kdm/Xsetup add setxkbmap pt

  • In /etc/rc.d/rc.local add modprobe snd_mixer_oss

  • hwclock --set --date="2016-03-20 19:08:00"
  • hwclock -s

Upgrade from 14.1 to 14.2

Get and burn ISO

  • wget http://ftp.slackware.com/pub/slackware-iso/slackware64-14.2-iso/slackware64-14.2-install-dvd.iso

  • modprobe sg # for cdrecord
  • cdrecord -scanbus #identify the device DVDRAM LG GP08NU6B
  • cdrecord -dev=6,0,0 -pad -data slackware64-14.2-install-dvd.iso
  • eject /dev/sr0 # eject the DVD after burning
  • cd /
  • mount /dev/sr0 /mnt/cdrom #check DVD
  • cd /mnt/cdrom
  • ls
  • cd /
  • umount /mnt/cdrom

Mount ISO

  • mkdir /packages
  • mount -o loop slackware64-14.2-install-dvd.iso /packages
  • cd packages
  • telinit 1
  • upgradepkg /packages/slackware64/a/glibc-solibs-*.txz
  • upgradepkg /packages/slackware64/a/pkgtools-*.txz
  • upgradepkg /packages/slackware64/a/tar-*.txz
  • upgradepkg /packages/slackware64/a/xz-*.txz
  • upgradepkg /packages/slackware64/a/findutils-*.txz
  • upgradepkg --install-new /packages/slackware64/*/*.t?z
  • removepkg ConsoleKit apmd bluez-hcidump cxxlibs foomatic-filters \

    • gnome-icon-theme imlib kdeadmin kdenetwork kdesdk kdetoys kwallet \ lesstif libelf libjpeg libxfcegui4 networkmanagement obex-data-server \ obexfs open-cobol oxygen-gtk3 phonon-mplayer phonon-xine pil portmap \ procps qca-cyrus-sasl qca-gnupg qca-ossl udev xchat xf86-input-aiptek \ xf86-video-modesetting xfce4-mixer xfce4-volumed xfwm4-themes
  • /usr/share/mkinitrd/mkinitrd_command_generator.sh -k 4.4.14 | bash
  • check lilo.conf
  • telinit 3

CURRDIR=`pwd`

# upgrade stuff
function upgrade
{  
  # slackware64-14-2 ISO must be mounted in packages
  # mount -o loop slackware64-14.2-install-dvd.iso  /packages/
  # must be in single user mode !!!
  # telinit 1
  mkdir -p /tmp/slack14_2
  cd /tmp/slack14_2
  echo Backup /etc
  tar cvzf backetc14_2.tgz /etc
  
  echo Initial install
  cd /packages
  upgradepkg /packages/slackware64/a/glibc-solibs-*.txz
  upgradepkg /packages/slackware64/a/pkgtools-*.txz
  upgradepkg /packages/slackware64/a/tar-*.txz
  upgradepkg /packages/slackware64/a/xz-*.txz
  upgradepkg /packages/slackware64/a/findutils-*.txz
    
  echo Install other stuff
  upgradepkg --install-new /packages/slackware64/*/*.t?z
  echo Remove old packages
  removepkg ConsoleKit apmd bluez-hcidump cxxlibs foomatic-filters gnome-icon-theme imlib kdeadmin kdenetwork kdesdk kdetoys kwallet lesstif libelf libjpeg libxfcegui4 networkmanagement obex-data-server obexfs open-cobol oxygen-gtk3 phonon-mplayer phonon-xine pil portmap procps qca-cyrus-sasl qca-gnupg qca-ossl udev xchat xf86-input-aiptek xf86-video-modesetting xfce4-mixer xfce4-volumed xfwm4-themes 

  echo Configure kernel
  /usr/share/mkinitrd/mkinitrd_command_generator.sh -k 4.4.14 | bash
 
  echo Check lilo.conf to point to 4.4.14 in image=
  cat /etc/lilo.conf | grep image
  echo Run lilo
  lilo
  echo Probable error above if image does not have the kernel 4.4.14-smp
  echo telinit 3
  # reboot 
  # in case of problems to get a login in lilo after '''boot: SlackwareGen single''' to start in single user mode
  # /etc/rc.d/rc.modules should point to rc.modules.new to use modules for 4.4.14
}

upgrade
echo $CURRDIR
cd $CURRDIR

/etc/kde/kdm/Xsetup

setxkbmap pt

Maximum performance for the cpus

  • /etc/rc.d/rc.local

   1 echo "performance" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor 
   2 echo "performance" > /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor
   3 
   4 cpufreq-set --cpu 0 --governor performance
   5 cpufreq-set --cpu 1 --governor performance
  • cpufreq-info
  • chmod 755 /etc/rc.d/rc.cpufreq
  • Change SCALING_GOVERNOR in the rc file to performance

Radeon HD 7310 driver

/etc/X11/xorg.conf

Section "Module"
    Load        "dbe"   # Double buffer extension
    SubSection  "extmod"
      Option    "omit xfree86-dga"   # don't initialise the DGA extension
    EndSubSection
    Load        "type1"
    Load        "freetype"
    Load       "glx"
    Load "dri"
EndSection

Section "Files"
    FontPath   "/usr/share/fonts/local/"
    FontPath   "/usr/share/fonts/misc/"
    FontPath   "/usr/share/fonts/OTF/"
    FontPath   "/usr/share/fonts/TTF/"
    FontPath   "/usr/share/fonts/Type1/"
    FontPath   "/usr/share/fonts/CID/"
    FontPath   "/usr/share/fonts/Speedo/"
    FontPath   "/usr/share/fonts/75dpi/:unscaled"
    FontPath   "/usr/share/fonts/100dpi/:unscaled"
    FontPath   "/usr/share/fonts/75dpi/"
    FontPath   "/usr/share/fonts/100dpi/"
    FontPath   "/usr/share/fonts/cyrillic/"
EndSection

Section "ServerFlags"
    Option     "DontZap"
EndSection

Section "InputDevice"
    Identifier  "Keyboard1"
    Driver      "kbd"
    Option "XkbLayout" "pt"
EndSection

Section "InputDevice"
    Identifier  "Mouse1"
    Driver      "mouse"
    Option "Device" "/dev/mouse"  
    Option "Protocol"    "PS/2"
EndSection

Section "Monitor"
    Identifier  "My Monitor"
    HorizSync   31.5 - 50.0
    VertRefresh 40-90
EndSection

Section "Device"
    Identifier  "Radeon Framebuffer"
    Driver      "radeon"
EndSection

Section "Screen"
    Identifier  "Screen 1"
    Device      "Radeon Framebuffer"
    Monitor     "My Monitor"
   DefaultDepth 24
    Subsection "Display"
        Depth       8
        Modes "1366x768" "1024x768" "800x600" "640x480"
    EndSubsection
    Subsection "Display"
        Depth       16
        Modes "1366x768" "1024x768" "800x600" "640x480"
    EndSubsection
    Subsection "Display"
        Depth       24
        Modes "1366x768" "1024x768" "800x600" "640x480"
    EndSubsection
    Subsection "Display"
        Depth       32
        Modes "1366x768" "1024x768" "800x600" "640x480"
    EndSubsection
EndSection

Section "ServerLayout"
    Identifier  "Simple Layout"
    Screen "Screen 1"
    InputDevice "Mouse1" "CorePointer"
    InputDevice "Keyboard1" "CoreKeyboard"
EndSection

Section "DRI"
  Mode 0666
EndSection

Add to /etc/rc.d/rc.local

echo "10" > /proc/sys/vm/swappiness

Add to /etc/rc.d/rc.modules.local

/sbin/modprobe drm
/sbin/modprobe radeon

AMD driver

  • https://www.amd.com/en/support/apu/amd-e-series-processors/amd-e1-series-apu-for-laptops/e1-1200-radeon-hd-7310

  • AMD Catalystâ„¢ 15.9 Proprietary Linux x86 Display Driver
  • https://drivers.amd.com/drivers/linux/amd-catalyst-15.9-linux-installer-15.201.1151-x86.x86_64.zip

error: Detected X Server version 'XServer _64a' is not supported. Supported versions are X.Org 6.9 or later, up to XServer 1.10 (default:v2:x86_64:lib:XServer _64a:none:4.4.172:)
Installation will not proceed.
  • xrandr --output LVDS --mode 800x600

Upgrade to Slackware64 15.0

   1 wget https://ftp.rnl.tecnico.ulisboa.pt/pub/slackware/slackware-iso/slackware64-15.0-iso/slackware64-15.0-install-dvd.iso
   2 
   3 cdrecord -dev=1,0,0 -pad -data slackware64-15.0-install-dvd.iso 
   4 mount /dev/sr0 /mnt/cdrom/
   5 ls /mnt/cdrom/
   6 cat /mnt/cdrom/ANNOUNCE.15.0 
   7 umount /mnt/cdrom/
   8 cdrecord -dev=1,0,0 -pad -data slackware-15.0-install-dvd.iso 
   9 umount /mnt/cdrom/
  10 mount /dev/sr0 /mnt/cdrom/
  11 ls /mnt/cdrom/
  12 umount /mnt/cdrom/

   1 time dd if=slackware*15*iso of=/dev/sdb
   2 # took about 29 minutes
   3 reboot
   4 #F12 boot menu
   5 #select pt.map
   6 #login root
   7 setup
   8 #target partition /dev/sda4 
   9 #No format 
  10 #Add partitions to fstab: no 
  11 #Install from usb stick 
  12 #all packages, full
  13 #configure
  14 #skip usb stick 
  15 #simple lilo, standard, MBR
  16 #imps2, no gpm
  17 #configure network: no
  18 #change /etc/inittab to 3
  19 df -h
  20 dd if=/dev/zero of=/swapfile1 bs=1024 count=524288
  21 chown root:root /swapfile1 
  22 chmod 0600 /swapfile1 
  23 mkswap /swapfile1 
  24 swapon /swapfile1
  25 free -m
  26 vi /etc/fstab
  27 # /swapfile1 none swap sw 0 0
  28 free -m
  29 htop
  • installpkg wmclockmon-0.8.1-x86_64-1_SBo.tgz
  • installpkg wmmon-1.0b2_p14-x86_64-1_SBo.tgz

Disk structure

/dev/sda4       428445696 592233266 163787571  78.1G 85 Linux extended
/dev/sda5  *    428447744 583845887 155398144  74.1G 83 Linux
/dev/sda6       583847936 592233266   8385331     4G 82 Linux swap

/etc/modprobe.d/blacklist.conf

blacklist rtl8192ce

/etc/modprobe.d/rtl8192ce.conf

options rtl8192ce ips=0 fwlps=0

/usr/share/xsessions/windowmaker.desktop

[Desktop Entry]
Version=1.0
Name=WindowMaker Session
Comment=Use this session to run WindowMaker as your desktop environment
Exec=wmaker --for-real
Icon=
Type=Application
DesktopNames=WindowMaker

~/GNUstep/Library/WindowMaker/autostart

setxkbmap pt &

/etc/rc.d/rc.4

Only have xdm

   1 #!/bin/bash
   2 if [ -x /etc/rc.d/rc.4.local ]; then
   3   exec /bin/bash /etc/rc.d/rc.4.local
   4 fi
   5 
   6 # If all you have is XDM, I guess it will have to do:
   7 if [ -x /usr/bin/xdm ]; then
   8   exec /usr/bin/xdm -nodaemon
   9 elif [ -x /usr/X11R6/bin/xdm ]; then
  10   exec /usr/X11R6/bin/xdm -nodaemon
  11 fi
  12 
  13 # error
  14 echo
  15 echo "Hey, you don't have SDDM, KDM, GDM, or XDM.  Can't use runlevel 4 without"
  16 echo "one of those installed."
  17 sleep 30
  18 # All done.
  19 

/etc/X11/xorg.conf.d/00-keyboard.conf

Section "InputClass"
    Identifier           "Keyboard Defaults"
    MatchIsKeyboard      "yes"
    Option  "XkbLayout"  "pt"
EndSection

connectWifi.sh

  • lsmod | grep rtl

   1 rtl8xxxu              126976  0
   2 mac80211             1069056  1 rtl8xxxu
   3 cfg80211             1032192  2 mac80211,rtl8xxxu
  • dmesg

   1   233.537338] usb 1-1: RTL8192EU rev B (SMIC) 2T2R, TX queues 3, WiFi=1, BT=0, GPS=0, HI PA=0
   2 [  233.537347] usb 1-1: RTL8192EU MAC: xx:xx:xx:xx:xx:xx
   3 [  233.537354] usb 1-1: rtl8xxxu: Loading firmware rtlwifi/rtl8192eu_nic.bin
   4 [  233.683879] usb 1-1: Firmware revision 19.0 (signature 0x92e1)
   5 [  234.707971] usb 1-1: rtl8192eu_rx_iqk_path_a: Path A RX IQK failed!
   6 [  234.743093] usb 1-1: rtl8192eu_rx_iqk_path_a: Path A RX IQK failed!
   7 [  234.919519] usbcore: registered new interface driver rtl8xxxu
   8 [  235.017939] rtl8xxxu 1-1:1.0 wlan125: renamed from wlan0
   9 [  235.023258] rtl8xxxu 1-1:1.0 wlan1: renamed from wlan125

   1 DEVICE=wlan1
   2 rm  /var/run/wpa_supplicant/$DEVICE
   3 PID=`cat /var/run/wpa_supplicant.pid`
   4 echo Killing process $PID
   5 kill $PID
   6 wpa_supplicant -c connectWifi.conf -i $DEVICE -B -P/var/run/wpa_supplicant.pid -f /var/log/wpa_supplicant.log
   7 sleep 15
   8 #ifconfig $DEVICE 192.168.0.3 netmask 255.255.255.0 broadcast 192.168.0.255
   9 #route add default gw 192.168.0.1
  10 dhclient -r -v $DEVICE
  11 dhclient -v -4 $DEVICE
  12 sleep 10
  13 ping 8.8.8.8 -c 5
  14 route -n

Add user to sudoers

   1 su
   2 visudo
   3 # uncomment line with %wheel ALL=(ALL:ALL) ALL
   4 usermod -aG wheel userx
   5 # restart computer
   6 

Install Virtualbox in Slackware64 15.0

   1 cd /tmp/
   2 wget https://download.virtualbox.org/virtualbox/6.1.34/VirtualBox-6.1.34-150636-Linux_amd64.run 
   3 chmod 755 VirtualBox-6.1.34-150636-Linux_amd64.run 
   4 ./VirtualBox-6.1.34-150636-Linux_amd64.run 
   5 usermod -a -G vboxusers,users,audio userx 
   6 id userx
   7 virtualbox --help

   1 cd /tmp/
   2 wget https://download.virtualbox.org/virtualbox/7.0.20/VirtualBox-7.0.20-163906-Linux_amd64.run 
   3 chmod 755 VirtualBox-7.0.20-163906-Linux_amd64.run 
   4 ./VirtualBox-7.0.20-163906-Linux_amd64.run 
   5 sudo ./VirtualBox-7.0.20-163906-Linux_amd64.run 
   6 sudo usermod -a -G vboxusers,users,audio userx
   7 virtualbox --help

Docker container

Dockerfile

FROM liveslak/slackware
RUN slackpkg install python3 nano python-pip procps-ng elogind
RUN cd /tmp && wget https://sourceforge.net/projects/slackpkgplus/files/slackpkg%2B-1.8.0-noarch-7mt.txz/download
RUN cd /tmp && mv download slackpkgplus-1.8.0-noarch-7mt.txz
RUN installpkg /tmp/slackpkgplus-1.8.0-noarch-7mt.txz
RUN echo "MIRRORPLUS['slackonly']=http://slackonly.com/pub/packages/15.0-x86_64/" >>  /etc/slackpkg/slackpkgplus.conf
RUN slackpkg update gpg
RUN slackpkg update
RUN slackpkg install zulu-openjdk8 apache-maven libmnl
RUN ln -s /usr/lib64/zulu-openjdk8/bin/java /usr/bin/java
RUN ln -s /usr/lib64/zulu-openjdk8/bin/javac /usr/bin/javac
RUN echo 'export JAVA_HOME=/usr/lib64/zulu-openjdk8' >> /etc/profile
RUN echo 'export MANPATH="${MANPATH}:${JAVA_HOME}/man"' >> /etc/profile
RUN echo 'export PATH="${PATH}:${JAVA_HOME}/bin:${JAVA_HOME}/jre/bin"' >> /etc/profile

CMD ["cat"]

   1 docker build -t myslack .
   2 docker run --rm -d -it --name myslack-container myslack
   3 docker exec -it myslack-container bash
   4 mvn
   5 java -version

slackpkg+ and slackonly

   1 sudo bash
   2 cd /tmp 
   3 wget https://sourceforge.net/projects/slackpkgplus/files/slackpkg%2B-1.8.0-noarch-7mt.txz/download
   4 mv download slackpkgplus-1.8.0-noarch-7mt.txz
   5 installpkg /tmp/slackpkgplus-1.8.0-noarch-7mt.txz
   6 echo "MIRRORPLUS['slackonly']=http://slackonly.com/pub/packages/15.0-x86_64/" >>  /etc/slackpkg/slackpkgplus.conf
   7 slackpkg update gpg
   8 slackpkg update
   9 slackpkg upgrade-all
  10 # rebuild kernel
  11 cd /usr/share/mkinitrd/
  12 ./mkinitrd_command_generator.sh -k 5.15.80 | bash
  13 ls /boot/ -lah
  14 lilo
  15 nano /etc/inittab
  16 reboot

Updates via slackpkg

   1 su
   2 slackpkg update
   3 slackpkg upgrade-all
   4 ls /boot/vmlinuz* -lah
   5 ls /boot/vmlinuz-generic-* | sed 's/-/ /g' | awk '//{print $3}'
   6 KERNEL_VERSION=$(ls /boot/vmlinuz-generic-* | sed 's/-/ /g' | awk '//{print $3}')
   7 echo $KERNEL_VERSION 
   8 # 5.15.94
   9 /usr/share/mkinitrd/mkinitrd_command_generator.sh -k $KERNEL_VERSION | bash
  10 lilo
  11 reboot 
  • MoinMoin Powered
  • Python Powered
  • GPL licensed
  • Valid HTML 4.01