¤É¤¦¤âCompiz¤Î¥¢¥Ã¥×¥Ç¡¼¥È¤¬½ÐÍè¤Ê¤¤¤È»×¤Ã¤Æ¤¤¤¿¤é¡¢2006ǯ09·îÃæ½Üº¢¤ËCompiz¤Î³«È¯¼Ô¤Î¿Í¤¬È´¤±¤Æ¡¢Beryl¤È¤¤¤¦¥×¥í¥¸¥§¥¯¥È¤Ë¤Ê¤Ã¤¿ÌÏÍÍ¡£
Compiz¤ÎWeb¥Ú¡¼¥¸¤Ë¥¢¥¯¥»¥¹¤¹¤ë¤ÈBeryl¤ÎWeb¥Ú¡¼¥¸¤ËÈô¤Ö¤è¤¦¤ËÂ¥¤µ¤ì¤ë¡£
º£¤Î¾õ¶·¤Ç¿·¤·¤¯Æþ¤ì¤ë¤Î¤ÏÉݤ¤¤Ê¤¡¡Ä
¤·¤«¤·¡¢AMD64¤Ç¤Ï¡¢Compiz¤ÏºÇ¿·ÈǤˤʤé¤Ê¤«¤Ã¤¿¤·¤Ê¤¡¡£
Compiz¤Ïamd64¤Ç¤Ïcsm 0.5°Ê¾å¤òµá¤á¤é¤ì¤ë¤â¤Î¤Î¡¢¤¹¤Ç¤Ëcsm¤Ï¥ê¥Ý¥¸¥È¥ê¤«¤é¤Ï¤º¤µ¤ì¤Æ¤¤¤ë´¶¤¸¤¬¤·¤Þ¤·¤¿¡£
# sudo apt-get install compiz
Depends: compiz-core, compiz-plugins (>= 0.2)
# sudo apt-get install compiz-plugins
Depends: csm (>=0.5) but it is not installable
# sudo apt-get install csm
Package csm is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
(¥Ñ¥Ã¥±¡¼¥¸ csm ¤Ï¥Ç¡¼¥¿¥Ù¡¼¥¹¤Ë¤Ï¸ºß¤·¤Þ¤¹¤¬¡¢ÍøÍѤǤ¤Þ¤»¤ó¡£
¤ª¤½¤é¤¯¡¢¤½¤Î¥Ñ¥Ã¥±¡¼¥¸¤¬¸«¤Ä¤«¤é¤Ê¤¤¤«¡¢¤â¤¦¸Å¤¯¤Ê¤Ã¤Æ¤¤¤ë¤«¡¢
¤¢¤ë¤¤¤ÏÊ̤Υ½¡¼¥¹¤«¤é¤Î¤ß¤·¤«ÍøÍѤǤ¤Ê¤¤¤È¤¤¤¦¾õ¶·¤¬¹Í¤¨¤é¤ì¤Þ¤¹)
¤Á¤ç¤¦¤ÉÎɤ¤¤·¡¢¤Þ¤¡¡¢¤¤¤¤¤ä¡Á¤ä¤Ã¤Æ¤ß¤è¡¼¤Ã¤È¡£
¤È¸À¤¦¤ï¤±¤Ç¡¢¤ä¤Ã¤Æ¤ß¤¿¡£°Æ³°¤¹¤ó¤Ê¤ê¤¤¤Ã¤ÆÎɤ«¤Ã¤¿Îɤ«¤Ã¤¿¡£
¤È¤¤¤Ã¤Æ¤â¡¢»î¹Ôºø¸í¤·¤¿¤¿¤á¡¢ÅÓÃæ¤Ç¥ì¥Ã¥É¥¹¥¯¥ê¡¼¥ó¤ä¥°¥ê¡¼¥ó¥¹¥¯¥ê¡¼¥ó¡¢¥Û¥ï¥¤¥È¥¹¥¯¥ê¡¼¥ó¤Ë¤Ê¤Ã¤Æ¤·¤Þ¤¤¡¢¤«¤Ê¤ê¾Ç¤ê¤Þ¤·¤¿¡£
°ì±þ¤Ï°ÂÄꤷ¤Æ¤¤¤ë´¶¤¸¤Ç¤¹¡£¤«¤Ê¤ê½çÄ´¤Ëư¤¤¤Æ¤¤¤Þ¤¹¡£
°Ê²¼¡¢ºî¶È¥á¥â¤Ç¤¹¡£( »²¹Í: Install/Ubuntu/Dapper/XGL - Beryl Wiki )
»²¹ÍURL¤ÎÊýË¡¤È¤Ï¾¯¡¹°ã¤¤¤Þ¤¹¤¬¡¢Âç¾æÉפǤ·¤¿¡£System > Preferences > Sessions > Startup ¤Ï¤¢¤Þ¤ê¹¥¤¤Ç¤Ï¤Ê¤¤¤Î¤Ç¡Ä
# lv /proc/version Linux version 2.6.15-27-386 (buildd@terranova) (gcc version 4.0.3 (Ubuntu 4.0.3-1ubuntu5)) # lv /proc/cpuinfo model name : AMD Sempron(tm) Processor 3400+ # lv ??? <- ¸«Êý¤¬Ê¬¤«¤ê¤Þ¤»¤ó¤Ç¤·¤¿¡Ä CIPSET : nVidia GeForce 6150
# sudo apt-get remove compiz compiz-gnome
# sudo vim /etc/apt/sources.list deb http://www.beerorkid.com/compiz dapper main aiglx deb http://media.blutkind.org/xgl/ dapper main aiglx # sudo apt-get update # sudo apt-get install xserver-xgl libgl1-mesa xserver-xorg libglitz-glx1 beryl emerald-themes # sudo apt-get dist-upgrade
# sudo vim /etc/X11/xorg.conf
Section "Module"
...
#Load "dri"
Load "glx"
...
EndSection
...
Section "Device"
Identifier "NVIDIA Corporation. (GeForce 6150 GPU)"
Driver "nvidia"
BusID "PCI:0:5:0"
Option "NoLogo"
Option "RenderAccel" "true"
Option "AllowGLXWithComposite" "true"
EndSection
...
#Section "Extensions"
# Option "Composite" "Enable"
#EndSection
# sudo vim /etc/gdm/gdm.conf-custom
[servers]
0=Xgl
[server-Xgl]
name=Xgl server
command=/usr/bin/Xgl :0 -fullscreen -ac -accel glx:pbuffer -accel xv:fbo
flexible=true
# sudo vim ~/.Xsession
beryl-manager &
exec gnome-session
±¦¾å¤ËÀÖ¤¤¡ÖÎÐÃìÀСפΥޡ¼¥¯¤¬½Ð¤Æ¤¤¤ë¤Î¤Ç¡¢¥¯¥ê¥Ã¥¯¤·¡¢¡ÖSelect Window Manager -> Beryl¡×¤òÁªÂò¡£ ¥É¥¥É¥¤·¤Ê¤¬¤é¡¢Ìµ»ö¤Ë Window Manager ¤¬Beryl¤Ë¤Ê¤Ã¤¿¤³¤È¤ò³Î¤«¤á¤Þ¤¹¡£ - ¥¢¥Ë¥á¡¼¥·¥ç¥ó¤Ê¤É¤ÎÊѹ¹ - System -> Preferences -> Beryl Settings Manager - ¥¦¥£¥ó¥É¥¦¤Î³µ´Ñ¤Ê¤É¤ÎÊѹ¹ - System -> preferences -> Emerald Theme Manager¸å¤Ï¡¢¤´¼«Í³¤Ë³Ú¤·¤ó¤Ç¤¤¤¿¤À¤±¤Þ¤¹¡£
¤Ê¤¼¤«20060226.html¤ËÂçÎ̤Υ¹¥Ñ¥à¤¬¡£¤à¤à¡£ ¾¤ÎÆüµ¤Ë¤â³È»¶¤¹¤ë¤è¤¦¤Ë³Ø½¬¤·¤í¤è¤Ê¤¡¡£
¼ÙËâ¤Ê¤³¤È¤ËÊѤï¤ê¤Ï¤Ê¤¤¤Î¤Ç¡¢tdiary ¤Ø¤Î¥³¥á¥ó¥Èspam¤ò°ì³çºï½ü : ¤¤¤ä¤ÊÆüµ¤ò»²¹Í¤Ë¤·¤Æ¥¹¥Ñ¥à¤òºï½ü¡£
# cd /home/ryo-3/diaryData # wget http://0xcc.net/attic/tdiary-comment-clean # chmod +x tdiary-comment-clean # ./tdiary-comment-clean '\b(url=)\b' */*.tdc # rm cache/*.parser* # rm cache/recent_comments¤¦¡Á¤ó¡¢¤µ¤Ã¤Ñ¤ê¡£
±£¤¹¤Ç¤Ï¤Ê¤¯¡¢ºï½ü¤·¤¿¤¤Í×˾¤Ï¤¤¤Ã¤Ñ¤¤¤¢¤ë¤À¤í¤¦¤Ë¡£
¤È¤¤¤¦¤³¤È¤Ç¡¢¥Õ¥£¥ë¥¿¡¼¤òÍøÍѤ·¤ÆÂкö¤·¤Þ¤¹¡£
ËÜÍè¤Ï¡¢Âкö¤·¤Æ¤«¤é¾å¤Îºï½ü¤ò¹Ô¤¦¤Ù¤¤Ç¤¹¡£m(__)m
¤¤¤Ä¤Î´Ö¤Ë¤ä¤éÊѤï¤Ã¤Æ¤¤¤¿¡£¤Ó¤Ã¤¯¤ê¤Ç¤¹¤Í¡£(»²¹Í:Cisco Systems, Inc)
2006/09/06(Wed)¤ËÊѤï¤Ã¤¿¤Ã¤Ý¤¤(»²¹Í:Cisco has a new logo)¤Ç¤¹¤¬¡¢cisco¼Ò¤Înew release¤Ç¤Ïµ»ö¤ò¸«¤Ä¤±¤ë¤³¤È¤¬¤Ç¤¤Þ¤»¤ó¤Ç¤·¤¿¡£
¸Ä¿ÍŪ¤Ë¤Ï¡¢º£¤ÎÊý¤¬Îɤ¤¤Ç¤¹¡£Á°¤Î¤È¤²¤È¤²¤·¤µ¤¬¤Ê¤¯¤Ê¤Ã¤Æ¡£
ÂԤäƤޤ·¤¿¤è¡¢¸÷²¬¼«Æ°¼Ö¤µ¤ó¡ª(»²¹Í:¥¨¥¥»¥ó¥È¥ê¥Ã¥¯¥¹¡¼¥Ñ¡¼¥«¡¼¡¢¸÷²¬¡Ø¥ª¥í¥Á¡Ù»ÔÈÎ¤Ø ¡Ã Response.)
¥×¥í¥È¥¿¥¤¥×¤Îº¢¤«¤é¹û¤ì¤Æ¤¤¤Þ¤·¤¿¡£¤½¤ó¤ÊÌܤǸ«¤Ê¤¤¤Ç¡Ä
³¹Ãæ¤Ç¾è¤ë¤Î¤Ï¤Á¤ç¤Ã¤È¡¢¤º¤¤¤Ö¤ó¤Èµ¤ÃѤº¤«¤·¤¤¤Ç¤¹¤¬¡¢CarreraGT¤Î¼¡¤Ë¤ªÌܤˤ«¤«¤ê¤¿¤¤¼Ö¤È¤Ê¤Ã¤Æ¤¤¤Þ¤¹¡£
¥×¥í¥°¥é¥à¤Î¥Ï¥¤¥é¥¤¥È¤ò¤¹¤ë¤¿¤á¤ËSilvercity¤Î¥¤¥ó¥¹¥È¡¼¥ë¡£( »²¹Íʸ¸¥: TracFaq - The Trac Project - Trac ) ¤¤¤í¤¤¤í¤ÈÌäÂê¤Î¤¢¤ë0.9.6¤òÈò¤±¡¢0.9.5¤ò¥¤¥ó¥¹¥È¡¼¥ë¤·¤Þ¤·¤¿¡£( »²¹Íʸ¸¥: SilverCity - The Trac Project - Trac )
# cd /home/ryo/src/trac # wget http://jaist.dl.sourceforge.net/sourceforge/silvercity/SilverCity-0.9.5.tar.gz # tar xvzf SilverCity-0.9.5.tar.gz # cd SilverCity-0.9.5 # sudo python setup.py install
gcc, cc1plus, Python.h¤¬Ìµ¤¤¤È¤¤¤ï¤ì¤¿¤Î¤Ç¥¤¥ó¥¹¥È¡¼¥ë¤·¡¢Silvercity¤Î¥¤¥ó¥¹¥È¡¼¥ë¡£
# sudo apt-get install gcc g++ python-dev # sudo python setup.py install
¾¯¤·»þ´Ö¤¬¤«¤«¤ê¤Þ¤¹¤¬¡¢´èÄ¥¤Ã¤Æ¤¯¤ì¤Þ¤¹¡£ http://192.168.11.100/trac/ ¤Ë¥¢¥¯¥»¥¹¤·¡¢ /wiki/WikiFormatting ¤Î²¼¤ÎÊý¤Ë¤¢¤ë¡Ö¥×¥í¥»¥Ã¥µ¡×¤Î¥µ¥ó¥×¥ë¥×¥í¥°¥é¥à¤¬¥Ï¥¤¥é¥¤¥È¤µ¤ì¤Æ¤¤¤ì¤ÐÀ®¸ù¤Ç¤¹¡£
subversion-tools¤Ë´Þ¤Þ¤ì¤Æ¤¤¤ë¥Æ¥ó¥×¥ì¡¼¥È¤òÍøÍÑ¡£¤Ê¤±¤ì¤Ðapt-get¡£
# sudo apt-get install subversion-tools (̵¤±¤ì¤Ð)
# mkdir /home/ryo/www/public_html/templates
# sudo cp /var/www/apache2-default/svnindex.xsl ~/www/public_html/templates/
# sudo cp /var/www/apache2-default/svnindex.css ~/www/public_html/templates/
# sudo vim /etc/apache2/mods-enabled/dav_svn.conf
SVNPath /mnt/svnroot
+ SVNIndexXSLT /templates/svnindex.xsl
# sudo vim ~/www/public_html/templates/svnindex.xsl
- <link rel="stylesheet" type="text/css" href="/svnindex.css"/>
+ <link rel="stylesheet" type="text/css" href="/templates/svnindex.css"/>
# sudo /etc/init.d/apache2 restart
°Ê¾å¡£http://192.168.11.100/svnroot/¤Ç¥Ç¥¶¥¤¥ó¤¬ÊѤï¤Ã¤Æ¤¤¤Þ¤¹¡£
trac¤òmod_python¤Çưºî¤µ¤»¤ë(»²¹Í:TracModPython - The Trac Project - Trac)
# sudo apt-get install libapache2-mod-python
Configure mod_python(?) -> Yes
# sudo vim /etc/apache2/sites-enabled/000-default
+ <Location /trac>
+ SetHandler mod_python
+ PythonHander trac.web.modpython_frontend
+ PythonOption TracEnvParentDir /home/ryo/www/public_html/trac
+ PythonOption TracUriRoot /trac
+ </Location>
# sudo /etc/init.d/apache2 restart
°Ê¾å¡£http://192.168.11.100/trac ¤Ç¥¢¥¯¥»¥¹²Äǽ¡£
testingÈǤˤ·¤«¤Ê¤¤¤Î¤Ç testing¤Î¥ê¥Ý¥¸¥È¥ê¤òÄɲÃ(·ù¤À¤Ê¤¡testingÈÇ¡Ä)
# sudo vim /etc/apt/sources.list
+ deb http://ftp.dti.ad.jp/pub/Linux/debian testing main contrib non-free
+ deb http://ftp.dti.ad.jp/pub/Linux/testing-jp stable-jp main contrib non-free
trac¤Î¥¤¥ó¥¹¥È¡¼¥ë
# sudo apt-get install trac/testing
Reading Package Lists... Done
Building Dependency Tree... Done
Selected version 0.9.6-3 (Debian:testing) for trac
The following extra packages will be installed:
coreutils dpkg ftp libapr0 libc6 libdb4.3 libdb4.4 libkrb53 libncurses5
libncursesw5 libneon25 libreadline5 libselinux1 libsepol1 libsqlite3-0
libssl0.9.8 libsvn0 libxml2 locales python python-central python-clearsilver
python-minimal python-pysqlite2 python-subversion python-support python2.3
python2.4 python2.4-minimal readline-common subversion subversion-tools trac
tzdata
Suggested packages:
glibc-doc krb5-doc krb5-user python-doc python-tk python-profiler
python2.3-doc python2.3-profiler python2.4-doc python2.4-profiler db4.3-util
enscript python-docutils libapache2-mod-python
Recommended packages:
xml-core python2.3-cjkcodecs python2.3-iconvcodec python2.3-japanese-codecs
python-setuptools
The following packages will be REMOVED:
base-config libreadline4 python2.3-subversion
The following NEW packages will be installed:
libdb4.3 libdb4.4 libkrb53 libncursesw5 libneon25 libreadline5 libselinux1
libsepol1 libsqlite3-0 libssl0.9.8 python python-central python-clearsilver
python-minimal python-pysqlite2 python-subversion python-support python2.4
python2.4-minimal readline-common trac tzdata
The following packages will be upgraded:
coreutils dpkg ftp libapr0 libc6 libncurses5 libsvn0 libxml2 locales
python2.3 subversion subversion-tools
12 upgraded, 22 newly installed, 3 to remove and 140 not upgraded.
Need to get 29.2MB of archives.
After unpacking 27.0MB of additional disk space will be used.
Do you want to continue? [Y/n]
Sarge²½°ÊÍè¡¢¤¬¤Ã¤Ä¤·¹¹¿·¤µ¤ì¤ë¤±¤É´èÄ¥¤Ã¤Æ¤¯¤ì¤Þ¤¹¡£
ÆüËܸ첽¤¹¤ë¤¿¤á¤Ë¡¢trac-ja¤Î¥¤¥ó¥¹¥È¡¼¥ë( ¥¤¥ó¥¿¥¢¥¯¥È³ô¼°²ñ¼ÒÍͤθø³«»ñÎÁ(Trac)¤è¤ê )
# mkdir /home/ryo/src # cd src # wget http://www.i-act.co.jp/project/products/downloads/trac-0.9.6-ja-1.zip # sudo apt-get install unzip # unzip trac-0.9.6-ja-1.zip # cd trac-0.9.6-ja-1 # sudo python setup.py install
trac¤ÎÀßÄê¤ÎÁ°½àÈ÷
# ls -l /mnt
drwxr-xr-x 7 www-data www-data 4096 Sep 25 01:33 svnroot
# ls -l /home/ryo/www/public_html
drwxr-xr-x 3 www-data www-data 4096 Sep 25 01:35 trac
»ý¤Á¼ç¤ä¥°¥ë¡¼¥×¤¬¾åµ¤È°Û¤Ê¤Ã¤Æ¤¤¤¿¾ì¹ç¤Ï°Ê²¼¤Î¤è¤¦¤Ë¤·¤ÆÊѹ¹
# sudo chown -R www-data:www-data /mnt/svnroot # sudo chown -R www-data:www-data /home/ryo/www
trac¤ÎÀßÄê
# sudo trac-admin /home/ryo/www/public_html/trac/programs initenv
Project Name [My Project]> programs
Database connection string [sqlite:db/trac.db]>
Path to repository [/var/svn/test]> /mnt/svnroot
Templates directory [/usr/share/trac/templates]>
Failed to initialize environment. ('Berkeley DB error for filesystem /mnt/svnroot/db while opening environment:\nDB_VERSION_MISMATCH: Database environment version mismatch', 160029)
Traceback (most recent call last):
File "/usr/lib/python2.4/site-packages/trac/scripts/admin.py", line 616, in do_initenv
repos = self.__env.get_repository()
File "/usr/lib/python2.4/site-packages/trac/env.py", line 162, in get_repository
repos = SubversionRepository(repos_dir, authz, self.log)
File "/usr/lib/python2.4/site-packages/trac/versioncontrol/svn_fs.py", line 192, in __init__
self.repos = repos.svn_repos_open(self.path, self.pool())
File "libsvn/repos.py", line 48, in svn_repos_open
SubversionException: ('Berkeley DB error for filesystem /mnt/svnroot/db while opening environment:\nDB_VERSION_MISMATCH: Database environment version mismatch', 160029)
Exception exceptions.AttributeError: "'SubversionRepository' object has no attribute 'log'" in > ignored
¼ºÇÔ¡£0.9.6-3¤Îtrac¤Ë¤·¤¿¤È¤¤Ësubversion¤Î¥Ð¡¼¥¸¥ç¥ó¤âÊѲ½¤·¤¿¤¿¤á¡¢trac¤Î¥¤¥ó¥¹¥È¡¼¥ëÁ°¤ËºîÀ®¤·¤¿DB¤È¸ß´¹À¤¬¤Ê¤¯¤Ê¤Ã¤¿¤Î¤«¤â¤·¤ì¤Ê¤¤¡£¤È¤¤¤¦¤³¤È¤Çºï½ü¤·¡¢¿·¤¿¤ËºîÀ®¡£(»Ä¤·¤Æ¤ª¤¯É¬Íפ¬¤¢¤ë¤Ê¤é¤Ð¥Ð¥Ã¥¯¥¢¥Ã¥×¤¹¤ë)
( # svnadmin dump /mnt/svnroot > /tmp/svnroot.dump ) ( # svnadmin create /mnt/svnroot ) # sudo rm -fr /mnt/svnroot/* # sudo svnadmin create --fs-type=fsfs /mnt/svnroot ( # svnadmin load /mnt/svnroot )
ºîÀ®¤¹¤ë¤¿¤á¤Ë¥ê¥È¥é¥¤
# sudo trac-admin /home/ryo/www/public_html/trac/programs initenv
Project Name [My Project]> programs
Database connection string [sqlite:db/trac.db]>
Path to repository [/var/svn/test]> /mnt/svnroot
Templates directory [/usr/share/trac/templates]>
Project environment for 'programs' created.
You may now configure the environment by editing the file:
/home/ryo/www/public_html/trac/programs/conf/trac.ini
If you'd like to take this new project environment for a test drive,
try running the Trac standalone web server `tracd`:
tracd --port 8000 /home/ryo/www/public_html/trac/programs
Then point your browser to http://localhost:8000/programs.
There you can also browse the documentation for your installed
version of Trac, including information on further setup (such as
deploying Trac to a real web server).
The latest documentation can also always be found on the project
website:
http://projects.edgewall.com/trac/
Congratulations!
tracµ¯Æ°¤Î³Îǧ
# sudo tracd --port 8000 /home/ryo/www/public_html/trac/programs & Web¥Ö¥é¥¦¥¶¤Ç http://192.168.11.100:8000 ¤Ë¥¢¥¯¥»¥¹¤·¤Ætrac¤Î¥×¥í¥¸¥§¥¯¥È̾µÚ¤Ó¡¢¤½¤³¤ò¥¯¥ê¥Ã¥¯¤·¤Ætrac¤Î¥¤¥ó¥¿¥Õ¥§¡¼¥¹¤¬É½¼¨¤µ¤ì¤ì¤ÐOK
(»²¹Íʸ¸¥: takanory.net)