Slamd64 11.0 and Virtualization
From GanjaLinux
Contents |
Hardware
See Gateway E-4610D
Software
Boot
GRUB Legacy
# wget ftp://alpha.gnu.org/gnu/grub/grub-0.97.tar.gz # export CFLAGS="-O2 -fPIC" # ./configure --libdir=/usr/lib64
Operating System
Kernel 2.6.20
- Built custom kernel on an existing Slamd64 machine so as to include PATA_MARVELL drivers.
- Used this kernel to rebuild installation ISO based off ISO build scripts (TODO: link and source).
Kernel 2.6.20.1
- With bootable system rebuilt kernel to include missing gigabit ethernet driver E1000 (TODO: more information).
- TODO: build command log
Package Management
slapt-get
installation
$ wget http://software.jaos.org/slackpacks/11.0-x86_64/slapt-get-0.9.11h-x86_64-1.tgz $ installpkg slapt-get-0.9.11h-x86_64-1.tgz
- added the http://slamd64.he.net/slamd64-11.0/ repository to /etc/slapt-get/slapt-getrc
execution
$ slapt-get --update $ slapt-get --upgrade
slackpkg
Cannot use because of x86_64 vs. x86_64_slamd64 change (ref)
Applications
checkinstall
- installed via source
# export CFLAGS="-O2 -fPIC"
# make
for file in locale/checkinstall-*.po ; do \
case ${file} in \
locale/checkinstall-template.po) ;; \
*) \
out=`echo $file | sed -s 's/po/mo/'` ; \
msgfmt -o ${out} ${file} ; \
if [ $? != 0 ] ; then \
exit 1 ; \
fi ; \
;; \
esac ; \
done
locale/checkinstall-de.po: warning: Charset "CHARSET" is not a portable encoding
name.
Message conversion to user's charset might n
ot work.
locale/checkinstall-es.po: warning: Charset "CHARSET" is not a portable encoding
name.
Message conversion to user's charset might n
ot work.
make -C installwatch-0.7.0beta5
make[1]: Entering directory `/root/sw/checkinstall-1.6.1/installwatch-0.7.0beta5
'
./create-localdecls
Checking truncate argument type... off_t
Checking libc version... /usr/bin/ldd: line 157: /lib/ld-linux.so.2: cannot exec
ute binary file
libc.so.6
Checking glibc subversion... /usr/bin/ldd: line 157: /lib/ld-linux.so.2: cannot
execute binary file
Treated as glibc >= 2.1 (finger crossed)
gcc -Wall -c -D_GNU_SOURCE -DPIC -fPIC -D_REENTRANT -DVERSION=\"0.7.0beta5\" ins
tallwatch.c
installwatch.c:262: warning: conflicting types for built-in function 'log'
installwatch.c: In function `__instw_printdirent64':
installwatch.c:879: warning: long long int format, __ino64_t arg (arg 4)
installwatch.c:879: warning: long long int format, __off64_t arg (arg 5)
installwatch.c: In function `fopen':
installwatch.c:2313: warning: cast from pointer to integer of different size
installwatch.c:2328: warning: cast from pointer to integer of different size
installwatch.c: In function `fopen64':
installwatch.c:3267: warning: cast from pointer to integer of different size
ld -shared -o installwatch.so installwatch.o -ldl -lc
make[1]: Leaving directory `/root/sw/checkinstall-1.6.1/installwatch-0.7.0beta5'
# make install
...
case ${file} in \
locale/checkinstall-template.po) ;; \
*) \
out=`echo $file | sed -s 's/po/mo/'` ; \
msgfmt -o ${out} ${file} ; \
if [ $? != 0 ] ; then \
exit 1 ; \
fi ; \
;; \
esac ; \
done
locale/checkinstall-de.po: warning: Charset "CHARSET" is not a portable encoding
name.
Message conversion to user's charset might n
ot work.
locale/checkinstall-es.po: warning: Charset "CHARSET" is not a portable encoding
name.
Message conversion to user's charset might n
ot work.
make -C installwatch-0.7.0beta5
make[1]: Entering directory `/root/sw/checkinstall-1.6.1/installwatch-0.7.0beta5
'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/root/sw/checkinstall-1.6.1/installwatch-0.7.0beta5'
export
export CFLAGS="-O2 -fPIC"
export GDK_USE_XFT="1"
export HOME="/root"
export HOSTNAME="engsv01.econolite.com"
export HUSHLOGIN="FALSE"
export HZ="100"
export INPUTRC="/etc/inputrc"
export JAVA_HOME="/usr/lib64/java"
export LANG="en_US"
export LC_COLLATE="C"
export LESS="-M"
export LESSOPEN="|lesspipe.sh %s"
export LOGNAME="root"
export LS_COLORS="no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:do=01;35:bd=40
;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:tw=30;42:ow=34;42:st=37;44:ex=0
;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:tw=30;42:ow=34;42:st=37;44:ex=0
1;32:*.bat=01;32:*.BAT=01;32:*.btm=01;32:*.BTM=01;32:*.cmd=01;32:*.CMD=01;32:*.c
om=01;32:*.COM=01;32:*.dll=01;32:*.DLL=01;32:*.exe=01;32:*.EXE=01;32:*.arj=01;31
:*.bz2=01;31:*.deb=01;31:*.gz=01;31:*.lzh=01;31:*.rar=01;31:*.RAR=01;31:*.rpm=01
;31:*.tar=01;31:*.taz=01;31:*.tb2=01;31:*.tbz2=01;31:*.tbz=01;31:*.tgz=01;31:*.t
z2=01;31:*.z=01;31:*.Z=01;31:*.zip=01;31:*.ZIP=01;31:*.zoo=01;31:*.asf=01;35:*.A
SF=01;35:*.avi=01;35:*.AVI=01;35:*.bmp=01;35:*.BMP=01;35:*.flac=01;35:*.FLAC=01;
35:*.gif=01;35:*.GIF=01;35:*.jpg=01;35:*.JPG=01;35:*.jpeg=01;35:*.JPEG=01;35:*.m
2a=01;35:*.M2A=01;35:*.m2v=01;35:*.M2V=01;35:*.m4a=01;35:*.M4A=01;35:*.m4p=01;35
:*.M4P=01;35:*.m4v=01;35:*.M4V=01;35:*.mov=01;35:*.MOV=01;35:*.mp3=01;35:*.MP3=0
1;35:*.mpc=01;35:*.MPC=01;35:*.mpeg=01;35:*.MPEG=01;35:*.mpg=01;35:*.MPG=01;35:*
.ogg=01;35:*.OGG=01;35:*.pbm=01;35:*.pgm=01;35:*.png=01;35:*.PNG=01;35:*.ppm=01;
35:*.rm=01;35:*.RM=01;35:*.tga=01;35:*.TGA=01;35:*.tif=01;35:*.TIF=01;35:*.tiff=
01;35:*.TIFF=01;35:*.wav=01;35:*.WAV=01;35:*.wma=01;35:*.WMA=01;35:*.wmv=01;35:*
.WMV=01;35:*.xbm=01;35:*.xcf=01;35:*.xpm=01;35:*.xwd=01;35:*.XWD=01;35:"
export LS_OPTIONS=" -F -b -T 0 --color=auto "
export MAIL="/var/spool/mail/root"
export MAKEFLAGS=""
export MAKELEVEL="1"
export MANPATH="/usr/local/man:/usr/man:/usr/X11R6/man:/usr/lib64/java/man"
export MFLAGS=""
export MINICOM="-c on"
export OLDPWD
export PATH="/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin:/usr/X
11R6/bin:/usr/games:/usr/lib64/java/bin:/usr/lib64/java/jre/bin"
export PKG_CONFIG_PATH="/usr/local/lib/pkgconfig:/usr/lib64/pkgconfig:/opt/kde/l
ib64/pkgconfig"
export PWD="/root/sw/checkinstall-1.6.1"
export SHELL="/bin/bash"
export SHLVL="3"
export STY="3108.vc-1.engsv01"
export T1LIB_CONFIG="/usr/share/t1lib/t1lib.config"
export TERM="screen"
export TERMCAP="SC|screen|VT 100/ANSI X3.64 virtual terminal:\\
:DO=\\E[%dB:LE=\\E[%dD:RI=\\E[%dC:UP=\\E[%dA:bs:bt=\\E[Z:\\
:cd=\\E[J:ce=\\E[K:cl=\\E[H\\E[J:cm=\\E[%i%d;%dH:ct=\\E[3g:\\
:do=^J:nd=\\E[C:pt:rc=\\E8:rs=\\Ec:sc=\\E7:st=\\EH:up=\\EM:\\
:le=^H:bl=^G:cr=^M:it#8:ho=\\E[H:nw=\\EE:ta=^I:is=\\E)0:\\
:li#82:co#80:am:xn:xv:LP:sr=\\EM:al=\\E[L:AL=\\E[%dL:\\
:dl=\\E[M:DL=\\E[%dM:dc=\\E[P:DC=\\E[%dP:im=\\E[4h:ei=\\E[4l:\\
:mi:IC=\\E[%d@:ks=\\E[?1h\\E=:ke=\\E[?1l\\E>:vi=\\E[?25l:\\
:ve=\\E[34h\\E[?25h:vs=\\E[34l:ti=\\E[?1049h:te=\\E[?1049l:\\
:us=\\E[4m:ue=\\E[24m:so=\\E[3m:se=\\E[23m:md=\\E[1m:\\
:mr=\\E[7m:me=\\E[m:ms:\\
:Co#8:pa#64:AF=\\E[3%dm:AB=\\E[4%dm:op=\\E[39;49m:AX:\\
:as=\\E(0:ae=\\E(B:\\
:ac=\\140\\140aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~..--++,,hh
II00:\\
:k0=\\E[10~:k1=\\EOP:k2=\\EOQ:k3=\\EOR:k4=\\EOS:k5=\\E[15~:\\
:k6=\\E[17~:k7=\\E[18~:k8=\\E[19~:k9=\\E[20~:k;=\\E[21~:\\
:F1=\\E[23~:F2=\\E[24~:F3=\\E[25~:F4=\\E[26~:F5=\\E[28~:\\
:F6=\\E[29~:F7=\\E[31~:F8=\\E[32~:F9=\\E[33~:FA=\\E[34~:\\
:kb=^H:K2=\\E[G:kh=\\E[1~:@1=\\E[1~:kH=\\E[4~:@7=\\E[4~:\\
:kN=\\E[6~:kP=\\E[5~:kI=\\E[2~:kD=\\E[3~:ku=\\EOA:kd=\\EOB:\\
:kr=\\EOC:kl=\\EOD:"
export USER="root"
export WINDOW="2"
export _="/usr/bin/make"
make -C installwatch-0.7.0beta5 install
make[1]: Entering directory `/root/sw/checkinstall-1.6.1/installwatch-0.7.0beta5
'
mkdir -p /usr/local/lib
mkdir -p /usr/local/bin
if [ -r /usr/local/lib/installwatch.so ]; then \
rm -f /usr/local/lib/installwatch.so; \
fi
install -s installwatch.so /usr/local/lib
sed -e "s|#PREFIX#|/usr/local|" < installwatch > /usr/local/bin/installwatch
chmod 755 /usr/local/bin/installwatch
make[1]: Leaving directory `/root/sw/checkinstall-1.6.1/installwatch-0.7.0beta5'
mkdir -p /usr/local/sbin
install checkinstall makepak /usr/local/sbin
for file in locale/*.mo ; do \
LANG=`echo $file | sed -e 's|locale/checkinstall-||' \
-e 's|\.mo||'` && \
mkdir -p /usr/local/lib/checkinstall/locale/${LANG}/LC_MESSAGES
&& \
cp $file /usr/local/lib/checkinstall/locale/${LANG}/LC_MESSAGES/
checkinstall.mo || \
exit 1 ; \
done
mkdir -p /usr/local/lib/checkinstall
install -m644 checkinstallrc-dist /usr/local/lib/checkinstall
if ! [ -f /usr/local/lib/checkinstall/checkinstallrc ]; then \
cp /usr/local/lib/checkinstall/checkinstallrc-dist /usr/local/li
b/checkinstall/checkinstallrc; \
else \
echo; \
echo; \
echo ======================================================== ;\
echo; \
echo An existing checkinstallrc file has been found. ;\
echo The one from this distribution can be found at: ; \
echo; \
echo -e \\t/usr/local/lib/checkinstall/checkinstallrc-dist ; \
echo; \
echo; \
echo ======================================================== ;\
echo; \
fi
# checkinstall
...
**********************************************************************
Done. The new package has been saved to
/root/sw/checkinstall-1.6.1/checkinstall-1.6.1-x86_64-1.tgz
You can install it in your system anytime using:
installpkg checkinstall-1.6.1-x86_64-1.tgz
**********************************************************************
Filesystem in Userspace
# ./configure --exec-prefix=/ # make # checkinstall # installpkg fuse-2.7.1-x86_64-1.tgz
NTFS-3G
# ./configure #make # checkinstall # installpkg ntfs-3g-1.1104-x86_64-1.tgz
Services
apache
vmware-server
installation
references
# wget VMware-server-1.0.4-56528.tar.gz
# mkdir /etc/pam.d
# tar xzvf VMware-server-1.0.4-56528.tar.gz
# cd vmware-server-distrib/
# mkdir /etc/pam.d
# mkdir /etc/vmware
# for i in {0,1,2,3,4,5,6}; do mkdir /etc/vmware/rc$i.d; done
# ./vmware-install.pl --compile
# cp /etc/vmware/vmware /etc/rc.d/rc.vmware
# chmod +x /etc/rc.d/rc.vmware
- creation of /etc/pam.d might not have been required
- there's a pam.d directory in /etc/vmware
- modify rc.local with
if [ -x /etc/rc.d/rc.vmware ]; then
/etc/rc.d/rc.vmware start
fi

