This is Gentoo's testing wiki. It is a non-operational environment and its textual content is outdated.

Please visit our production wiki at https://wiki.gentoo.org

User:666threesixes666

From Gentoo Wiki (test)
Jump to:navigation Jump to:search
Resources
Resources
666threesixes666

tables

Collapse
test tube baby
stuff and moar
root ##absurd webapp config command
webapp-config -I -h localhost -d /moodle/ moodle 2.5.1

ircserver

root #emerge --ask oidentd
root #emerge --ask shadowircd

freenode uses ircd-seven-1.1.3

webcam

Alternate install

Install

flash plugin

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

user $sudo apt-get update
user $sudo apt-get install flashplugin-installer

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

step4

step5

step6

step7

step8

Set environment up.

root #
env-update
source /etc/profile

passwordless root install

passworded root install

DNS client setup

root #echo "nameserver 8.8.8.8" >> /etc/resolv.conf
root #mv /etc/fstab /etc/fstab.example
root #wget -O /etc/fstab https://gist.github.com/666threesixes666/5705917/raw/a04366330da80b9f5ccc9ae15994a696a3072ea7/fstab

if using a swap file edit in /dev/sda2 && out swap. replace swap line with this one.

Collapse
Code

'"`UNIQ--pre-00000010-QINU`"'

This is a deprecated template. Help us update this template!

step9

Note
it takes a long time to sync, 5-10 minutes.

Sync to Merge.

root #emerge-webrsync
Important
rm /usr/portage/metadata/timestamp.x will make it so you can sync again if first sync failed

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

root #emerge --sync

step10

step11

step12

step13

Finish configuring and turn on services.

root #
mv /etc/conf.d/xdm /etc/conf.d/xdm.backup
wget -O /etc/conf.d/xdm https://gist.github.com/666threesixes666/5754513/raw/888138c82a9f42b06ba09ef48b34439c5162323f/xdm
rc-update add NetworkManager default
rc-update add syslog-ng boot
rc-update add vixie-cron default
rc-update add xdm default

Post install

Error Recovery

Rebuild kernel take 2

Kernel Protips

cgi example

root #
cat >> /var/www/localhost/cgi-bin/test.pl << EOF
#!/usr/bin/env perl
print "Content-Type: text/plain\n\n";
print "Hello world\n";
EOF
root #chmod a+x /var/www/localhost/cgi-bin/test.pl

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

and now you're a cgi pro

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?

xscreensaver

Sonar

Sonar must be setuid to ping clients on the subnet.

root #chmod +s /usr/lib64/misc/xscreensaver/sonar

Photo Screensavers

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

fsv garbage

in order to get sexy jurassic park visual file system....

root #emerge --ask =x11-libs/gtk+-1.2.10-r12
root #emerge --ask =x11-libs/gtkglarea-1.2.3-r1

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

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

./src/fsv