User:666threesixes666

examples because im a forgetful dummie.

links
internal: pagename Gentoo_Wiki_talk:Page_translation_requests

external: https://wiki.gentoo.org/ https://wiki.gentoo.org/

external with text:

chug chug chug puke puke puke!!! chug chug chug puke puke puke!!!

kernel stuff
install

ircserver
freenode uses ircd-seven-1.1.3

= webcam = webcams require kernel driver support. uvc is most common in new webcams.

Kernel Configuration
laptop users might also need to enable

~ = 666threesixes666 (talk) 21:46, 7 August 2013 (UTC)

= Alternate install = This wiki is intended to make deployment of gentoo on alternate live media quick and easy. This is not a substitute of reading the handbook, but a skimmed version of it adapted to xubuntu's live desktop media, with high performance JFS file system, xfce4, network-manager, firefox, irc chat, grub2, porthole package management and pidgin. Just like your live media, preferably dropped in via unetbootin. (note. 'emerge -av -j5 package' will merge 5 jobs at once for a quad core, if you have a dual core, emerge -av -j3, 6core emerge -av -j7)  (note. try xubuntu with out installing.)  (get your xubuntu desktop iso from here.  http://mirror.anl.gov/pub/ubuntu-iso/CDs-Xubuntu/12.04/release/ x86 if working on old hardware amd64 if newer than 2006) =Install=

flash plugin
to watch media / etc online while installing gentoo as it takes quite long.

step1
Boot xubuntu live rescue cd or live usb thumb drive.

step2
Attach to any network desired, with internet access to gentoo mirrors, through nm-applet and networkmanager provided by the xubuntu live media.

step3
Open a terminal (top left mouse icon > accessories > terminal emulator) & run. (root command, as in sudo su your terminal)


 * make new > primary > 150mb > beginning > bootable flag > /dev/sda1


 * highlight free space > new > primary > 1000mb > beginning > /dev/sda2 > highlight type and press enter 3 times to enter it as a swap mode partition.
 * highlight free space > primary > rest of drive space, just press enter.


 * write > yes > press enter > quit

step4
With partitions squared away format them for instillation. storage

Y > enter > Y > enter

swap partition:

If mkswap fails, go back to step 3 and cfdisk the drive again. If you recieve messages to reboot do so. If using swap file continue on.

step5
Mount storage and activate swap partition.

swap partition:

swap file:

to make an 4 gig swap file

step6
Get stage3 ready for chrooting.

Launch firefox, and go to http://www.gentoo.org/main/en/mirrors2.xml and select a local mirror.

Go to releases/YOUR COMPUTERS ARCH!/current-stage3, grab stage3-yourarch-datemade.tar.bz2 & stage3-yourarch-datemade.tar.bz2.DIGESTS.

Check stage3 checksum.

If it checks OK procede.

step7
Wrap up chrooting, mounting, and chroot.

(HERE COMES GENTOO!)

(Your terminal prompt should now be blood red saying xubuntu / #) (Chroot makes your /mnt/gentoo act as system root / step 8 - step 14  require you to be in chroot.  You are in and building your gentoo system up at this point.)

step8
Set environment up.

passwordless root install
or to make a more secure install of gentoo, install sudo later on, and never set a password for root....
 * make a user


 * add the user to the wheel group (change user to the actual user you added)


 * set a password for the user

to get to root when finished installing

passworded root install
Password, set a root password don't be locked out when you restart

DNS client setup
if using a swap file edit in /dev/sda2 && out swap. replace swap line with this one. /swap swap swap defaults 0 0

step9
Sync to Merge.

emerge --sync is the old deprecated insecure way to sync.

step10
Open another terminal tab. (ctrl + shift + t with terminal in the foreground & highlighted)

again chroot to set some settings while sync is loading up.

set time zone (example is USA DETROIT)

step11
Arange grub2 and merge system up.


 * If your going to be using nvidia propietary drivers mask latest kernels

step12
Re-compile the linux kernel. open a new terminal tab & chroot again. (ctrl + shift + t with terminal in the foreground & highlighted)

If you have a predefined .config for your system load it to /usr/src/linux/.config now.

Exit out completely of the blue kernel menuconfig once all settings are set.

(make sure step 11 is completely finished merging)

bare minimum:
 * finish merging the system.

everything else:

step13
Finish configuring and turn on services.

Post install
Reboot into your shiny new gentoo.

You will most likely want to make a non privileged user account.

You will most likely want to add it to groups also.

Enter the users new password two times, the block will not move, this is normal behavior.

Mirror selection will help speed up package fetching.

Error Recovery
If your system fails to boot don't delete just yet. open a terminal and become root

emerge & recompile your kernel to more stable settings.

Rebuild kernel take 2
If kernel failed to compile the first time follow these steps. (in chroot environment/error recovery)

reconfigure to a solvent state

remove boot media and reboot.

Kernel Protips
Live media generally use kernel modules.

To see what modules are loaded...

Dmesg is also your friend, you can find ethernet and wireless modules like this.

lspci is your friend also

when in menuconfig / will search for modules and print information about them, including where to navigate to in the menu to activate them, and any other options required to activate them.

= cgi example =

http://127.0.0.1/cgi-bin/test.pl

and now you're a cgi pro

=Compiz=

suggest good spot to set global -gconf -qt4 -gtk since they are or are becoming deprecated/odd defaults to Y.

fix this into 2 commands.

&&

= web stuff = netcraft.com better yet http://toolbar.netcraft.com/site_report hostname --fqdn domainname

whats going on with all the blasted redundancy here?

mkultra@mkultra [ ~ ]$ hostname --fqdn localhost mkultra@mkultra [ ~ ]$ domainname (none) mkultra@mkultra [ ~ ]$ hostname mkultra

why does /etc/conf.d/hostname not include fields for domain names & fqdns?

= systemd take 12 =

*  CONFIG_FANOTIFY:	 is not set when it should be. *  CONFIG_FHANDLE:

= recursive fractal web technology =

joomla rebuild of gentoo.org
simple site idea using repetition to make it manageable. put behind varnish to deal with tons of traffic.

import webapps

exhibit a: http://extensions.joomla.org/extensions/access-a-security/site-access/authentication-bridges/3723?qh=YToxOntpOjA7czo5OiJtZWRpYXdpa2kiO30%3D

cloud login

exhibit b: http://extensions.joomla.org/extensions/access-a-security/site-access/authentication-cloud-based/18957

no login

exhibit c: http://extensions.joomla.org/extensions/access-a-security/site-access/authentication/25805

direct php

exhibit d: http://extensions.joomla.org/extensions/e-commerce/donations/21744?qh=YToxOntpOjA7czo3OiJiaXRjb2luIjt9

chat linked to the universal login scheme so people talking to me know its me and not some duplicated user name in irc...

exhibit e: http://extensions.joomla.org/extensions/communication/chat/10193?qh=YTozOntpOjA7czo0OiJjaGF0IjtpOjE7czo4OiJjaGF0dGluZyI7aToyO3M6NToiY2hhdHMiO30%3D

easy way to raise revenue.

exhibit f: http://extensions.joomla.org/extensions/ads-a-affiliates/affiliate-systems/google-ads/24739?qh=YToyOntpOjA7czo3OiJhZHNlbnNlIjtpOjE7czo5OiJhZHNlbnNlJ3MiO30%3D

universal translations

exhibit g: http://extensions.joomla.org/extensions/languages/automatic-translations/4823

fix joomla ebuilds
why were the ebuilds dropped instead of version bumped? this software is too useful to not have. we could use it to resolve the google summer of code ideas, kill two birds with 1 stone.

= xscreensaver =

Sonar
Sonar must be setuid to ping clients on the subnet.

Photo Screensavers

 * antspotlight
 * blitspin
 * carousel
 * decayscreen
 * distort
 * flipscreen 3d
 * glslideshow
 * jigsaw
 * mirrorblob
 * photopile
 * ripples
 * rotzoomer
 * slidescreen
 * spotlight
 * twang
 * vidwhacker
 * xanalogtv
 * zoom

= webapps = http://www.clonescripts.com/script/osclass/publisher/

= do this list = app-admin/gentoo-rsync-mirror

= fsv garbage = in order to get sexy jurassic park visual file system....

get sources from.... http://sourceforge.net/projects/fsv/files/

untar, cd ./configure --prefix=/usr && make....

./src/fsv