Nesrail wrote:Hello.
I was an Arch user but grew tied of it and now I wants to try this

. When I used Arch I installed a minimal version of it using the net install cd. I want to do the same with Sabayon (using spinbase) but I can't really find any guides or wiki for spinbase.
I am trying to do the same thing, I will post my notes, they are incomplete because I am not finished configuring everything yet. I use plain icewm for my desktop. It is the fastest and most configurable of the light window managers. You can see the list of programs I install, you can use your own list.
SL 9 SpinBase install notes:
Takes 5 minutes to install (text installer).
Install iproute2 (needed to manage the network):
Put the current version of iproute2 on a flash drive.
mkdir /mnt/flash
mount /dev/sdb1 /mnt/flash/
cd /mnt/flash/
equo install --ask iproute2-3.1.0~0.tbz2
Easiest way to setup network from the commandline:
net-setup
IP -> 192.168.1.25
ip addr add 192.168.1.25/24 dev wlan0
Gateway -> 192.168.1.5
ip route add default via 192.168.1.5
OpenDNS Servers -> 208.67.222.222, 208.67.220.220
Network drops out from time to time, use ip to reassign the IP and Gateway.
Change Repository to weekly for more stability:
sed -i -e 's/sabayonlinux.org/sabayon-weekly/' entropy_sabayonlinux.org
equo update
Did not work for a whole day, worked on 1st try the next day. Be aware this can happen. Don't know why, maybe somebody was doing maintenance on the server.
Turn on ssh:
/etc/init.d/sshd start
Open firewall for ssh on local LAN:
ufw allow from 192.168.1.0/24 to any port 22 #allows port 22 from LAN
ufw status
Login via ssh from a remote computer it has GUI and more tools.
ssh
bhr@192.168.1.25su -
Start sshd on boot:
rc-update add sshd default
cat /etc/conf.d/hwclock
Need clock_systohc="YES" so system clock is saved to hardware (BIOS) clock during shutdown. (is the default, no change needed).
Need clock="local", set during installation
Is the default for both.
cat /etc/timezone
Set to America/New_York (OK)
/etc/localtime is probably correct but run the following to be sure:
rm /etc/localtime && cp /usr/share/zoneinfo/America/New_York /etc/localtime
Configure Users.
# Note .bash_profile is used when a login shell is executed.
# .bashrc is used when a non login interactive shell is invoked (sub shell).
For user bhr:
groups bhr |tr ' ' '\n' |sort
audio
bhr
cdrom
cdrw
console
entropy
lp
lpadmin
messagebus
plugdev
polkituser
portage
pulse
pulse-access
scanner
usb
users
uucp
video
wheel
Add bhr to groups: dialout, floppy, tty
#Add to these groups later when appropriate software is installed: games,vboxusers,pulse,pulse-access
usermod -aG dialout,floppy,tty bhr
su - bhr
echo "# Keep 3000 lines in .bash_history and erase duplicate commands
export HISTSIZE=3000
export HISTFILESIZE=3000
export HISTCONTROL=erasedups" >>/home/bhr/.bashrc
cp /home/bhr/.bashrc /home/bhr/.bash_profile
cat /home/bhr/.bashrc
cat /home/bhr/.bash_profile
exit
Add user wjd:
useradd wjd -m -G audio,cdrom,cdrw,console,dialout,entropy,floppy,lp,lpadmin,messagebus,plugdev,portage,scanner,tty,usb,uucp,users,video,wheel -s /bin/bash
#Add later when appropriate software is installed: games,vboxusers,pulse,pulse-access
Set user password:
passwd wjd
su - wjd
echo "# Keep 3000 lines in .bash_history and erase duplicate commands
export HISTSIZE=3000
export HISTFILESIZE=3000
export HISTCONTROL=erasedups" >>/home/wjd/.bashrc
cp /home/wjd/.bashrc /home/wjd/.bash_profile
cat /home/wjd/.bashrc
cat /home/wjd/.bash_profile
exit
Add surfer:
useradd surfer -m -G audio,uucp,video -s /bin/bash
#Add later when appropriate software is installed: games,pulse,pulse-access
Set user password:
passwd surfer
su - surfer
echo "# Keep 3000 lines in .bash_history and erase duplicate commands
export HISTSIZE=3000
export HISTFILESIZE=3000
export HISTCONTROL=erasedups" >>/home/surfer/.bashrc
cp /home/surfer/.bashrc /home/surfer/.bash_profile
cat /home/surfer/.bashrc
cat /home/surfer/.bash_profile
exit
Add chkbk:
useradd chkbk -m -G audio,uucp,video -s /bin/bash
Set user password:
passwd chkbk
su - chkbk
echo "# Keep 3000 lines in .bash_history and erase duplicate commands
export HISTSIZE=3000
export HISTFILESIZE=3000
export HISTCONTROL=erasedups" >>/home/chkbk/.bashrc
cp /home/chkbk/.bashrc /home/chkbk/.bash_profile
cat /home/chkbk/.bashrc
cat /home/chkbk/.bash_profile
exit
Update Sabayon 9.0:
equo update
equo repo mirrorsort sabayon-weekly # Did not work?????????
equo install entropy --ask
entropy is upto date
equo upgrade --ask
Reinstall:
sys-apps:iproute2-3.1.0~0.tbz2
equo conf update
Everything is up to date.
Check installed kernel:
eselect kernel list
Available kernel symlink targets:
[1] linux-3.4.0-sabayon *
Check Video:
eselect opengl list
Available OpenGL implementations:
[1] xorg-x11 *
equo query installed radeon
>> @@ Searching...
>> Keyword: radeon
>> Found: 0 entries
-> radeon drivers not installed
Check installed kernel:
uname -a
Linux localhost.localdomain 3.4.0-sabayon #1 SMP Thu May 24 14:17:14 UTC 2012 x86_64 AMD FX(tm)-4100 Quad-Core Processor AuthenticAMD GNU/Linux
Check gcc:
gcc --version ????
gcc not installed
gcc-config -l
[1] x86_64-pc-linux-gnu-4.6.2
[2] x86_64-pc-linux-gnu-4.6.2-hardenednopie
[3] x86_64-pc-linux-gnu-4.6.2-hardenednopiessp
[4] x86_64-pc-linux-gnu-4.6.2-hardenednossp
[5] x86_64-pc-linux-gnu-4.6.2-vanilla *
binutils-config -l
[1] x86_64-pc-linux-gnu-2.22 *
Check Python version:
eselect python list
[1] python2.7 *
check java version:
java-config --list-available-vms
Java not installed?????????
remove sudo:
equo remove sudo --ask
Install extra programs I use (fetch packages 1st, then install):
equo install games-board/ace acroread aircrack-ng ati-drivers audacious beautifulsoup cups deluge djview dvdrip einstein fbreader firefox fdupes foobillard frozen-bubble gcc geany geany-plugins gentoo gimp gnome-commander gnome-games gnucash gucharmap app-text/html2text icedtea-bin:6 icewm ipython k3b kaffeine kcharselect kmymoney kolourpaint ksnapshot ksudoku lbreakout2 libreoffice lshw matplotlib mc md5deep menumaker minicom mirrormagic mirrorselect mlocate okular opera orage net-misc/ntp p7zip pathological pcmanfm app-text/pdf2html pingus pulseaudio qalculate-gtk sam2p scipy searchmonkey smplayer spacefm supertux thunderbird totem transmission txt2regex virtualbox-bin vlc wine wvdial wxhexeditor xcdroast xchm xine-ui xsane xscreensaver --fetch --ask
@@ You need to accept the licenses below:
>> :: License: AMD, needed by:
>> ## [from:sabayon-weekly] x11-drivers/ati-userspace-12.4
>> ## [from:sabayon-weekly] x11-drivers/ati-drivers-12.4#3.4.0-sabayon
>> :: License: Adobe, needed by:
>> ## [from:sabayon-weekly] app-text/acroread-9.4.7
>> :: License: GPL-2-with-font-exception, needed by:
>> ## [from:sabayon-weekly] media-fonts/libertine-ttf-5.1.3.20110615
>> :: License: JasPer2.0, needed by:
>> ## [from:sabayon-weekly] media-libs/jasper-1.900.1-r4
>> :: License: MPEG-4, needed by:
>> ## [from:sabayon-weekly] media-libs/faac-1.28-r3
>> :: License: MSttfEULA, needed by:
>> ## [from:sabayon-weekly] media-fonts/corefonts-1-r6
>> :: License: OPERA-11, needed by:
>> ## [from:sabayon-weekly] www-client/opera-11.64.1403
>> :: License: PSF-2, needed by:
>> ## [from:sabayon-weekly] dev-python/feedparser-5.1
>> ## [from:sabayon-weekly] dev-python/setuptools-0.6.25
>> :: License: PUEL, needed by:
>> ## [from:sabayon-weekly] app-emulation/virtualbox-bin-4.1.16
>> :: License: SGI-B-2.0, needed by:
>> ## [from:sabayon-weekly] media-libs/mesa-8.0.2
>> :: License: UoI-NCSA, needed by:
>> ## [from:sabayon-weekly] app-emulation/emul-linux-x86-baselibs-20120127
>> :: License: WordNet-2.1, needed by:
>> ## [from:sabayon-weekly] app-dicts/myspell-en-20081002
>> :: License: bakoma, needed by:
>> ## [from:sabayon-weekly] media-fonts/texcm-ttf-1.0
>> :: License: gsm, needed by:
>> ## [from:sabayon-weekly] media-sound/gsm-1.0.13
>> ## [from:sabayon-weekly] app-emulation/emul-linux-x86-soundlibs-20120127
>> :: License: matplotlib, needed by:
>> ## [from:sabayon-weekly] dev-python/matplotlib-1.1.0
>> :: License: wxWinLL-3.1, needed by:
>> ## [from:sabayon-weekly] app-emulation/emul-linux-x86-baselibs-20120127
equo install games-board/ace acroread aircrack-ng ati-drivers audacious beautifulsoup cups deluge djview dvdrip einstein fbreader firefox fdupes foobillard frozen-bubble gcc geany geany-plugins gentoo gimp gnome-commander gnome-games gnucash gucharmap app-text/html2text icedtea-bin:6 icewm ipython k3b kaffeine kcharselect kmymoney kolourpaint ksnapshot ksudoku lbreakout2 libreoffice lshw matplotlib mc md5deep menumaker minicom mirrormagic mirrorselect mlocate okular opera orage net-misc/ntp p7zip pathological pcmanfm app-text/pdf2html pingus pulseaudio qalculate-gtk sam2p scipy searchmonkey smplayer spacefm supertux thunderbird totem transmission txt2regex virtualbox-bin vlc wine wvdial wxhexeditor xcdroast xchm xine-ui xsane xscreensaver --ask
Installed 690 pkgs.
gcc --version
gcc (Gentoo Hardened 4.6.2 p1.0, pie-0.4.5) 4.6.2
Copyright (C) 2011 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
java-config --list-available-vms
The following VMs are available for generation-2:
*) IcedTea-bin 6.1.10.4 [icedtea-bin-6]
2) IcedTea JDK 7.2.1 [icedtea-bin-7]
updatedb
Start ntp service with ntpd running, once your system clock is sync'ed, it will be kept within 128ms of the time server:
/etc/init.d/ntpd start
Start ntpd on boot:
rc-update add ntpd default
Set up your time really quickly ignoring time jumps (some applications have trouble when the time jumps backwards so under normal circumstances ntp gradually adjusts the system clock avoiding time jumps; however, this can take a long time.)
sntp -s time.nrc.ca
equo conf update
Everything up to date
equo deptest
OK
equo libtest
>> @@ discarding directory: /usr/lib64, because it's symlinked on: /usr/lib
>> @@ discarding directory: /lib64, because it's symlinked on: /lib
...
>> @@ Matching broken libraries/executables
>> @@ System is healthy.
usermod -aG games,vboxusers,pulse,pulse-access bhr
usermod -aG games,vboxusers,pulse,pulse-access wjd
usermod -aG games,pulse,pulse-access surfer
equo install--verbose --pretend icewm
gnome USE flag enabled but menu is empty. Bug report made.
Reboot and fglrx gets loaded (alternatively modprobe fglrx).
startx
fails
Note: in /var/log/Xorg.log cannot find twm (obviously, I did not install it).
I put
icewm-session in ~/.xinitrc
and startx works.
I 1st put it in .xsession but that did not work, .xsession works with login managers (xdm/kdm/gdm), .xinitrx works with startx.
Put these lines in /etc/conf.d/net:
config_bingo="192.168.1.25 netmask 255.255.255.0 broadcast 192.168.1.255"
routes_bingo="default via 192.168.1.5"
dns_servers="208.67.222.222 208.67.220.220"
Put the following lines in /etc/wpa_supplicant/wpa_supplicant.conf
# This line enables the use of wpa_cli
ctrl_interface=/var/run/wpa_supplicant
# By default, only root (group 0) may use wpa_cli
ctrl_interface_group=0
eapol_version=1
ap_scan=1
fast_reauth=1
# Plaintext connection (no WPA, no IEEE 802.1X).
network={
ssid="bingo"
key_mgmt=NONE
priority=0
}
/etc/init.d/net.wlan0 restart
That lets wpa_supplicant manage my wifi network.