A guide for spinbase?

If you are new to Linux or new to Sabayon Linux and just not sure where to post, here ya go. Post without fear of being told to RTFM :-)

Moderator: Moderators

A guide for spinbase?

Postby Nesrail » Fri Jun 22, 2012 6:31

Hello.
I was an Arch user but grew tied of it and now I wants to try this :D . 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.
Installing Spinbase is easy but what about the rest? How do I install, e.g. Xfce and what to I need to setup and install to get a minimal Xfce desktop (still e.g.). What files to I need to edit to get a display manager to work, stuff like that.
Is there any guides for this or did I just looked at the wrong place.
I know it takes time to learn, so did Arch, but I need to start somewhere :)
Nesrail
Baby Hen
 
Posts: 4
Joined: Fri Jun 22, 2012 6:12

Re: A guide for spinbase?

Postby cl00t » Fri Jun 22, 2012 9:47

Hi, just an idea, but why not use corecdx instead which gives fluxbox & a working display manager? I have used it successfully for a minimal kde setup before.
To install xfce I believe you should run:

Code: Select all
#equo install @xfce --ask


Remember to look at this first before installing anything:

http://wiki.sabayon.org/index.php?title ... t_to_do.3F
cl00t
Growing Hen
 
Posts: 168
Joined: Thu Jan 12, 2012 15:29

Re: A guide for spinbase?

Postby steffie » Fri Jun 22, 2012 11:07

or trying out simply

http://wiki.gentoo.org/wiki/Main_Page

there is all and a little bit more you need...
steffie
Simple Hen
 
Posts: 66
Joined: Fri May 04, 2012 2:40
Location: Neustadt a. Rbge.

Re: A guide for spinbase?

Postby Nesrail » Fri Jun 22, 2012 13:22

I know HOW to install xfce, but I don't know which files to edit or how to get xfce to start on boot.
Nesrail
Baby Hen
 
Posts: 4
Joined: Fri Jun 22, 2012 6:12

Re: A guide for spinbase?

Postby cl00t » Fri Jun 22, 2012 19:56

If you use corecdx I am sure you won't have to edit anything, it will be added as a login option along with fluxbox, console login etc. At least KDE was available that way after installing it. If you insist on using spinbase you probably need to look at the gentoo wiki, but you're making work for yourself IMO.
cl00t
Growing Hen
 
Posts: 168
Joined: Thu Jan 12, 2012 15:29

Re: A guide for spinbase?

Postby Nesrail » Fri Jun 22, 2012 20:01

I will try corecdx then:-)
Nesrail
Baby Hen
 
Posts: 4
Joined: Fri Jun 22, 2012 6:12

Re: A guide for spinbase?

Postby BHReach » Sat Jun 23, 2012 6:42

Nesrail wrote:Hello.
I was an Arch user but grew tied of it and now I wants to try this :D . 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.25
su -

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.
BHReach
Growing Hen
 
Posts: 193
Joined: Thu Jan 31, 2008 20:40

Re: A guide for spinbase?

Postby Nesrail » Sat Jun 23, 2012 8:22

I installed the CoreCDX. It works fairly well. Got some problems with emerge through but I can probably find the answer in the wiki.
Nesrail
Baby Hen
 
Posts: 4
Joined: Fri Jun 22, 2012 6:12

Re: A guide for spinbase?

Postby BHReach » Sat Jun 23, 2012 9:46

Nesrail wrote:Hello.
Installing Spinbase is easy but what about the rest? How do I install, e.g. Xfce and what to I need to setup and install to get a minimal Xfce desktop (still e.g.). What files to I need to edit to get a display manager to work, stuff like that.
Is there any guides for this or did I just looked at the wrong place.
I know it takes time to learn, so did Arch, but I need to start somewhere :)

If you want the GUI login screen when you boot, just start xdm in the boot runlevel, use rc-update as root:

Code: Select all
rc-update add xdm boot


I prefer to login from the console and type startx. For that to work, the start command for your desktop needs to be in the .xinitrc file in your home directory. For xfce I think it is startxfce4 (check in /usr/bin).

If you don't want to type startx every time you login, just put startx at the bottom of the .bash_profile file in your home directory.

Starting with SpinBase is a good learning experience because you will have to figure out how to make a number of things work.

If you want to do it the easy way just install from the xfce iso.
BHReach
Growing Hen
 
Posts: 193
Joined: Thu Jan 31, 2008 20:40


Return to Beginners|Newbies Area

Who is online

Users browsing this forum: No registered users and 1 guest