eselect profile set 0
emerge -u portage
eselect profile set 1
2013年6月24日 星期一
2012年6月13日 星期三
mon process via pid file
|
|
2012年5月31日 星期四
burn iso though cui
emerge -av dvd+rw-tools
2012年4月23日 星期一
Some install record concerning mod_wsgi on gentoo
Target: Using Virtual Server (I called it prototype :) ).
Request modify the hosts file
/etc/apache2/modules.d/70_mod_wsgi.conf
/etc/apache2/vhosts.d/00_default_vhost.conf
/etc/apache2/vhosts.d/prototype.include
/var/www/prototype/htdocs/wsgi_script/runme.py
All dir/.htaccess
Request modify the hosts file
/etc/apache2/modules.d/70_mod_wsgi.conf
|
/etc/apache2/vhosts.d/00_default_vhost.conf
|
/etc/apache2/vhosts.d/prototype.include
|
/var/www/prototype/htdocs/wsgi_script/runme.py
|
All dir/.htaccess
|
Run Home bashrc
all below lines attached the file /etc/bash/bashrc
Example
|
Example
|
Enable key pad in termal
/etc/profile.d/term.sh
#!/bin/bash |
Refer:http://www.linuxquestions.org/questions/*bsd-17/problem-with-remote-terminal-ssh-and-putty-125363/
2012年4月18日 星期三
Save power through dynamic frequency
the program split in 2 part:
a program set something and call the script to manage the frequency
/etc/local.d/powerSave.start
/etc/local.d/powerSave.stop
a program set something and call the script to manage the frequency
/etc/local.d/powerSave.start
|
/etc/local.d/powerSave.stop
|
/sbin/dynamicFrequency.py
|
Reference:
2012年4月13日 星期五
Gentoo Network Configuration
/etc/conf.d/net
/etc/sysctl.conf
/etc/conf.d/hostname
| # This blank configuration will automatically use DHCP for any net.* # scripts in /etc/init.d. To create a more complete configuration, # please review /usr/share/doc/openrc*/net.example* and save your configuration # in /etc/conf.d/net (this file :]!). modules="ifconfig" dns_servers_eth0="192.168.1.254" config_eth0="192.168.1.234 netmask 255.255.255.0" routes_eth0="default via 192.168.1.254" |
/etc/sysctl.conf
#append this row kernel.domainname = local |
/etc/conf.d/hostname
# Set to the hostname of this machine hostname="gentoo" |
lilo: One warning was issued
#/sbin/lilo -v
LILO version 22.8, Copyright (C) 1992-1998 Werner Almesberger Development beyond version 21 Copyright (C) 1999-2006 John Coffman Released 19-Feb-2007 and compiled at 09:05:22 on Apr 11 2012 Warning: LBA32 addressing assumed Reading boot sector from /dev/sda Using MENU secondary loader Calling map_insert_data Boot image: /boot/linux-3.2.1-gentoo-r2 Added gentoo Boot image: /boot/linux-3.2.2-hardened-r1 Added hardened * Writing boot sector. /boot/boot.0800 exists - no boot sector backup copy made. One warning was issued. |
Try
#sbin/lilo -L -S /boot/boot.0800
訂閱:
文章 (Atom)