| View previous topic :: View next topic |
| Author |
Message |
666threesixes666 Apprentice


Joined: 31 May 2011 Posts: 267
|
Posted: Mon Jun 18, 2012 8:05 pm Post subject: handbook with no explanation (just commands to get it up) |
|
|
i found the handbook having way too long of explanations to quickly skim through in terminals or links.
this is geared for server machines using a cat 5 wired networking.
| Code: |
net-setup eth0
nano -w /etc/resolv.conf
|
nameserver 8.8.8.8
nameserver 8.8.4.4
| Code: |
ping -c 5 google.com
cfdisk
|
i did 1 windows 2 windows (im writing this for someone with a dual boot machine)
then
/dev/sda5 /boot jfs noauto,noatime 1 2
/dev/sda7 / xfs noatime 0 1
/dev/sda6 none swap sw 0 0
/dev/sda8 /home xfs noatime 0 3
| Code: |
mkfs.jfs
mkfs.xfs
mkswap /dev/sda6
swapon /dev/sda6
mount /dev/sda7 /mnt/gentoo
mkdir /mnt/gentoo/boot
mkdir /mnt/gentoo/home
mount /dev/sda5 /mnt/gentoo/boot
mount /dev/sda8 /mnt/gentoo/home
ntpdate pool.ntp.org
cd /mnt/gentoo
|
now console browser fetch the stage 3 image and md5 checksum master key... (and do choose a close mirror) (its in releases/YOURARCH/current-stage3)
| Code: |
links http://www.gentoo.org/main/en/mirrors.xml
md5sum -c stage3*DIGESTS
tar xvjpf stage3*.bz2
|
now fetch portage (its in snapshots)
| Code: |
links http://www.gentoo.org/main/en/mirrors.xml
md5sum -c portage*md5sum
tar xvjf /mnt/gentoo/portage-latest.tar.bz2 -C /mnt/gentoo/usr
|
set up your mirrors
| Code: |
mirrorselect -i -o -r >> /mnt/gentoo/etc/make.conf
mirrorselect -i -o >> /mnt/gentoo/etc/make.conf
cp -L /etc/resolv.conf /mnt/gentoo/etc
mount -t proc none /mnt/gentoo/proc
mount --rbind /dev/mnt/gentoo/dev
|
chroot and start to really install it....
| Code: |
chroot /mnt/gentoo /bin/bash
env-update
source /etc/profile
emerge --sync
eselect profile list
eselect profile set 3
cp /usr/share/zoneinfo/America/Detroit /etc/localtime
echo "Detroit" > /etc/timezone
|
build the linux kernel (im rocking the latest from kernel.org) (dont forget to add sata support and XFS and JFS from earlier into your kernel)
| Code: |
cd /usr/src
links kernel.org
|
save file & ctrl c to get out of links when done downloading
| Code: |
ln -s linux /usr/src/linux-*
cd /usr/src/linux
make clean && make distclean
make mrproper && make menuconfig
make && make modules_install
cp /usr/src/linux/arch/x86/boot/bzimage /boot/kernel
cp /usr/src/linux/.config /boot/kernel.config
|
set your password, and emerge your boot loader, xfce4, and porthole wouldnt be a bad idea...
| Code: |
passwd
emerge xfsprogs jfsutils syslog-ng mlocate vixie-cron dhcpcd pciutils usbutils links lilo xorg-server xterm xclock twm xfce4-meta sudo
|
make sure your net loads up upon reboot
| Code: |
cd /etc/init.d
ln -s net.lo net.eth0
rc-update add net.eth0 default
rc-update add syslog-ng default
rc-update add dhcpcd default
|
setup mtab and a non root user (i used 666threesixes666 as an example, replace this with your actual users name)
| Code: |
grep -v rootfs /proc/mounts > /etc/mtab
useradd -m -G users,wheel,audio -s /bin/bash 666threesixes666
|
add
| Code: |
%wheel ALL=(ALL) NOPASSWD: ALL
|
to the end of your /etc/sudoers and now your non root user can sudo with out password to get root access......
| Code: |
nano /etc/lilo.conf
|
my gentoo entery in lilo.conf is
#
image = /boot/linux
root = /dev/sda7
label = Gentoo
read-only # read-only for checking
#
then run lilo to install it
login and run
to start your window manager
or go install GDM and make it look pretty
this command will shut down your system
if rebooting fails and you need to get back into the system to rebuild the kernel or something else boot the live cd then run these commands
| Code: |
mount /dev/sda7 /mnt/gentoo
mount /dev/sda5 /mnt/gentoo/boot
mount /dev/sda8 /mnt/gentoo/home
mount -t proc none /mnt/gentoo/proc
mount --rbind /dev/mnt/gentoo/dev
chroot /mnt/gentoo /bin/bash
|
ill throw in a link to cairo dock for mac zombies....
https://launchpad.net/cairo-dock-core/3.0/3.0.2/+download/cairo-dock-3.0.2.tar.gz
https://launchpad.net/cairo-dock-plug-ins/3.0/3.0.2/+download/cairo-dock-plugins-3.0.2.tar.gz
unpack & install them
| Code: |
tar -xf cairo-dock-3*
cd cairo-dock-3* && mkdir build && cd build
cmake .. -DCMAKE_INSTALL_PREFIX=/usr && make && sudo make install
cd ../..
tar -xf cairo-dock-plug*
cd cairo-dock-plug* && mkdir build && cd build
cmake .. -DCMAKE_INSTALL_PREFIX=/usr && make && sudo make install
cd ../.. && rm -rf cairo-dock*
|
Last edited by 666threesixes666 on Tue Jun 19, 2012 12:40 am; edited 9 times in total |
|
| Back to top |
|
 |
Ant P. Veteran

Joined: 18 Apr 2009 Posts: 1917 Location: UK
|
|
| Back to top |
|
 |
John R. Graham Administrator


Joined: 08 Mar 2005 Posts: 6423 Location: Somewhere over Atlanta, Georgia
|
Posted: Mon Jun 18, 2012 8:08 pm Post subject: |
|
|
You're probably looking for the Gentoo Linux x86 Quick Install Guide.
Edit: Rats. Too slow!
- John _________________ This space intentionally left blank. |
|
| Back to top |
|
 |
666threesixes666 Apprentice


Joined: 31 May 2011 Posts: 267
|
Posted: Mon Jun 18, 2012 8:11 pm Post subject: |
|
|
| quick install's not quick enough... i want LINKS friendly install's |
|
| Back to top |
|
 |
John R. Graham Administrator


Joined: 08 Mar 2005 Posts: 6423 Location: Somewhere over Atlanta, Georgia
|
Posted: Mon Jun 18, 2012 8:13 pm Post subject: |
|
|
What? You haven't just memorized it yet?
You might be interested in Install Gentoo In Three Commands.
- John _________________ This space intentionally left blank. |
|
| Back to top |
|
 |
666threesixes666 Apprentice


Joined: 31 May 2011 Posts: 267
|
Posted: Mon Jun 18, 2012 8:18 pm Post subject: |
|
|
| i wrote down how to do it when i installed gentoo a couple of times. second time really refined the process. i just get it to a point where i can start emerging all kinds of goodies. |
|
| Back to top |
|
 |
djdunn l33t


Joined: 26 Dec 2004 Posts: 617 Location: Under the moon and all the stars in the sky.
|
Posted: Mon Jun 18, 2012 10:42 pm Post subject: |
|
|
to me its just a common sense sort of thing now, I just do the logical steps, theres no more thinking except for i just did this what next...
though my home box would probably take about 3000 man hours to reconfigure, though its 10 years worth of fiddling and tweaking to get it the way i want it _________________ Now, with penguins, (cuddly such), "contented" means it has either just gotten laid, or it's stuffed on herring. Take it from me, I'm an expert on penguins, those are really the only two options.
--Linus Torvalds |
|
| Back to top |
|
 |
666threesixes666 Apprentice


Joined: 31 May 2011 Posts: 267
|
Posted: Tue Jun 19, 2012 12:03 am Post subject: |
|
|
| gentoo makes almost absolutely no sense to me. linux from scratch is more straight forward, but i prefer being able to install all the depends through a package manager especially when your trying to install something that depends on over 30 other packages that also have depends of their own. |
|
| Back to top |
|
 |
John R. Graham Administrator


Joined: 08 Mar 2005 Posts: 6423 Location: Somewhere over Atlanta, Georgia
|
Posted: Tue Jun 19, 2012 3:32 pm Post subject: |
|
|
These two statements, when taken together, make absolutely no sense to me:- Gentoo makes almost absolutely no sense to me.
- I want more concise install instructions with less explanation.
This sounds like a recipe for a bad outcome. Why don't you instead view the full, detailed Handbook on a laptop or other handy already up-and-running machine? Worst case, print it out.
- John _________________ This space intentionally left blank. |
|
| Back to top |
|
 |
666threesixes666 Apprentice


Joined: 31 May 2011 Posts: 267
|
Posted: Thu Jul 12, 2012 4:42 am Post subject: |
|
|
| your situation examples make sense for my personal lab, view on another pc, but on the road destroying other peoples computers i need to be able to hammer it all out in 1 shot. 2 pages of commands, 1 thumb drive, and nothing else is all i need these days. my sisters PC's turned out GREAT from my 1st 2 run hand written copy. linux from scratch with out using SSH and another pc with the manual is absurd. gentoo has package management and should not require 50 pages of printing. |
|
| Back to top |
|
 |
khayyam Veteran


Joined: 07 Jun 2012 Posts: 1252
|
Posted: Thu Jul 12, 2012 8:24 am Post subject: Re: handbook with no explanation (just commands to get it up |
|
|
| 666threesixes666 wrote: | | this is geared for server machines [...] login and run startxfce4 to start your window manage or go install GDM and make it look pretty |
... some explanation required ... hence a Handbook.
best ... khay |
|
| Back to top |
|
 |
Hypnos Advocate


Joined: 18 Jul 2002 Posts: 2756 Location: Omnipresent
|
Posted: Sat Jul 14, 2012 6:52 am Post subject: |
|
|
My cribsheet for a new install, adapted from the quick install guide.
* Basic
- Boot up sysrescue disk
- Connect to net
- Verify/set UTC date/time
- Prepare disks
- Mount filesystems into /mnt/gentoo
* Gentoo
- Download stage3, unpack into rootfs
- Download Portage snapshot, unpack into tree location
* Chroot
- mount -t proc proc /mnt/gentoo/proc
- mount --rbind /dev /mnt/gentoo/dev
- cp -L /etc/resolv.conf /mnt/gentoo/etc/
- chroot /mnt/gentoo /bin/bash
* Basic configuration
- passwd
- vim /etc/fstab
- cp /usr/share/zoneinfo/<foo> /etc/localtime; vim /etc/timezone
- vim /etc/hosts; vim /etc/conf.d/hostname; hostname <bar>
- ln -s /etc/init.d/net.lo /etc/init.d/net.<moo>; vim /etc/conf.d/net
* Software (emerge, configure)
- kernel, bootloader
- logger, cron, ntpd
- special tools (fs progs, dhcpcd/ppp)
* First run
- Reboot
- Edit /etc/locale.gen, make.conf
- Portage sync, security and world updates
Did I forget anything? During my last install (a simple server machine) I got to first run in 15 minutes. _________________ Personal overlay | Simple backup scheme |
|
| Back to top |
|
 |
|