2009年12月30日水曜日

映画「AVATAR」と理想社会

映画「AVATAR」の特に先住民を取り巻く惑星の生物の共棲の姿には感動したけれど、それは理想社会であって現実社会ではない・・・今の時代共棲社会とはかけ離れているだろうし、どうしたら変わるのか、変わる兆しがあるのかも解りません・・・でも理想社会を考える事で理想社会が見えてくることもあるのではないでしょうか?・・・理想があれば現実は変えられるのではないでしょうか?・・・目標があればそれが大切な目標ならば叶えられるのではないでしょうか?・・・私は映画「AVATAR」にでてくるような惑星パンドラの先住民と生物の共棲と繋がりは例え現実的でなかったとしても理想だと思います・・・・・・・・・・・・

2009年12月26日土曜日

映画「AVATAR」を見た 最高だった

映画「AVATAR」を見た 。最高だった。天国が描かれていた。神様に会えたような気がした。一見の価値ありです。3時間弱と少し長いけど最高に面白いです。ただ、吹き替えより、字幕で見た方が良いかも・・・AVATAR公式サイトはhttp://movies.foxjapan.com/avatar/です。



2009年12月24日木曜日

eclipse3.2の親切な解説画面

Linux eeeMint7のeclipse3.2で割と親切な日本語解説画面が現れる事が判ったので活用して良く勉強したいと思います。

実は今井美樹のファンです

実は今井美樹のファンです。PRIDEって良い歌だな~。





2009年12月19日土曜日

Grub2のブートローダーの背景画面を設定(Xubuntu9.10)

まず、/etc/grub.d/05_debian_themeとゆうテキストファイルを編集。具体的には

for i in {/boot/grub,/usr/share/images/desktop-base,/usr/share/images/grub}/my-image.{png,tga} ; do

と書かれている部分を

for i in /usr/share/images/grub/Flower002.png ; do

などと書き換えて実際に画像ファイルを /usr/share/images/grubにFlower002.pngとゆう名前で保存し(別のディレクトリ、名前.png or .tgaでも良い)、

$sudo update-grub2

を端末で実行するだけです。



この画像をダウンロードして使いました。

2009年12月16日水曜日

結局Xubuntu9.10・・・


ネットブックでLinuxを使うならこれ?・・・xfceとゆう少しFedora風な?・・・Unix風なデスクトップでUbuntu9.10より不便でしょうか?・・・

2009年12月15日火曜日

Linux sabayon start


Linux sabayon start

sabayonはgentoo Linuxを基に作られている・・・ライブCDの部屋とゆうサイトからダウンロード出来る。UnetbootinとゆうソフトでライブUSBメモリーを作る事が出来た・・・

2009年12月14日月曜日

CentOS 5.4 をネットブックにインストール


ハードディスクにCentOSをインストールしてみると、予想も付かない不具合が見えてきた・・・起動にかなり時間がかかる・・・悲しかったので Fedora12をインストールし直した・・・こちらは画面が狭くなってしまう・・・とても使えない・・・折角空けたパーティションをどうしようか?・・・もっとましなディストリは無いのか?・・・残念・・・ネットブックにFedora12の窮屈な画面が・・・

2009年12月13日日曜日

USB Cent OS 5.4 始動


ライブCDの部屋とゆうサイトから日本語化したCent OS 5.4とゆうOSのライブイメージをダウンロードしてLiveUSB-Creatorとゆうソフトを使ってUSBメモリーにインストールして使ってみた・・・かなり動作が軽く、速いのでネットブックでも使い易い。デスクトップもスッキリしていてディスプレイの性能が生かせて更に良い事づくめだ・・・レッドハットエンタープライズとゆう商用のOSを基に作られているので安定感も抜群だ・・・

2009年12月12日土曜日

Slax mysql-bugreport.003

root@slax:~# /usr/share/mysql/mysql.server start --datadir=/mnt/sda1/tmp/
Starting MySQL............ ERROR! Manager of pid-file quit without updating file.
root@slax:~# mysql manager_of_pid-file update
mysql Ver 14.12 Distrib 5.0.67, for slackware-linux-gnu (i486) using EditLine wrapper
Copyright (C) 2000-2008 MySQL AB
This software comes with ABSOLUTELY NO WARRANTY. This is free software,
and you are welcome to modify and redistribute it under the GPL license
Usage: mysql [OPTIONS] [database]
-?, --help Display this help and exit.
-I, --help Synonym for -?
--auto-rehash Enable automatic rehashing. One doesn't need to use
'rehash' to get table and field completion, but startup
and reconnecting may take a longer time. Disable with
--disable-auto-rehash.
-A, --no-auto-rehash
No automatic rehashing. One has to use 'rehash' to get
table and field completion. This gives a quicker start of
mysql and disables rehashing on reconnect. WARNING:
options deprecated; use --disable-auto-rehash instead.
-B, --batch Don't use history file. Disable interactive behavior.
(Enables --silent)
--character-sets-dir=name
Directory where character sets are.
--default-character-set=name
Set the default character set.
-c, --comments Preserve comments. Send comments to the server. The
default is --skip-comments (discard comments), enable
with --comments
-C, --compress Use compression in server/client protocol.
-#, --debug[=#] This is a non-debug version. Catch this and exit
-D, --database=name Database to use.
--delimiter=name Delimiter to be used.
-e, --execute=name Execute command and quit. (Disables --force and history
file)
-E, --vertical Print the output of a query (rows) vertically.
-f, --force Continue even if we get an sql error.
-G, --named-commands
Enable named commands. Named commands mean this program's
internal commands; see mysql> help . When enabled, the
named commands can be used from any line of the query,
otherwise only from the first line, before an enter.
Disable with --disable-named-commands. This option is
disabled by default.
-g, --no-named-commands
Named commands are disabled. Use \* form only, or use
named commands only in the beginning of a line ending
with a semicolon (;) Since version 10.9 the client now
starts with this option ENABLED by default! Disable with
'-G'. Long format commands still work from the first
line. WARNING: option deprecated; use
--disable-named-commands instead.
-i, --ignore-spaces Ignore space after function names.
--local-infile Enable/disable LOAD DATA LOCAL INFILE.
-b, --no-beep Turn off beep on error.
-h, --host=name Connect to host.
-H, --html Produce HTML output.
-X, --xml Produce XML output
--line-numbers Write line numbers for errors.
-L, --skip-line-numbers
Don't write line number for errors. WARNING: -L is
deprecated, use long version of this option instead.
-n, --unbuffered Flush buffer after each query.
--column-names Write column names in results.
-N, --skip-column-names
Don't write column names in results. WARNING: -N is
deprecated, use long version of this options instead.
-O, --set-variable=name
Change the value of a variable. Please note that this
option is deprecated; you can set variables directly with
--variable-name=value.
--sigint-ignore Ignore SIGINT (CTRL-C)
-o, --one-database Only update the default database. This is useful for
skipping updates to other database in the update log.
--pager[=name] Pager to use to display results. If you don't supply an
option the default pager is taken from your ENV variable
PAGER. Valid pagers are less, more, cat [> filename],
etc. See interactive help (\h) also. This option does not
work in batch mode. Disable with --disable-pager. This
option is disabled by default.
--no-pager Disable pager and print to stdout. See interactive help
(\h) also. WARNING: option deprecated; use
--disable-pager instead.
-p, --password[=name]
Password to use when connecting to server. If password is
not given it's asked from the tty.
-P, --port=# Port number to use for connection or 0 for default to, in
order of preference, my.cnf, $MYSQL_TCP_PORT,
/etc/services, built-in default (3306).
--prompt=name Set the mysql prompt to this value.
--protocol=name The protocol of connection (tcp,socket,pipe,memory).
-q, --quick Don't cache result, print it row by row. This may slow
down the server if the output is suspended. Doesn't use
history file.
-r, --raw Write fields without conversion. Used with --batch.
--reconnect Reconnect if the connection is lost. Disable with
--disable-reconnect. This option is enabled by default.
-s, --silent Be more silent. Print results with a tab as separator,
each row on new line.
-S, --socket=name Socket file to use for connection.
--ssl Enable SSL for connection (automatically enabled with
other flags). Disable with --skip-ssl.
--ssl-ca=name CA file in PEM format (check OpenSSL docs, implies
--ssl).
--ssl-capath=name CA directory (check OpenSSL docs, implies --ssl).
--ssl-cert=name X509 cert in PEM format (implies --ssl).
--ssl-cipher=name SSL cipher to use (implies --ssl).
--ssl-key=name X509 key in PEM format (implies --ssl).
--ssl-verify-server-cert
Verify server's "Common Name" in its cert against
hostname used when connecting. This option is disabled by
default.
-t, --table Output in table format.
-T, --debug-info Print some debug info at exit.
--tee=name Append everything into outfile. See interactive help (\h)
also. Does not work in batch mode. Disable with
--disable-tee. This option is disabled by default.
--no-tee Disable outfile. See interactive help (\h) also. WARNING:
option deprecated; use --disable-tee instead
-u, --user=name User for login if not current user.
-U, --safe-updates Only allow UPDATE and DELETE that uses keys.
-U, --i-am-a-dummy Synonym for option --safe-updates, -U.
-v, --verbose Write more. (-v -v -v gives the table output format).
-V, --version Output version information and exit.
-w, --wait Wait and retry if connection is down.
--connect_timeout=# Number of seconds before connection timeout.
--max_allowed_packet=#
Max packet length to send to, or receive from server
--net_buffer_length=#
Buffer for TCP/IP and socket communication
--select_limit=# Automatic limit for SELECT when using --safe-updates
--max_join_size=# Automatic limit for rows in a join when using
--safe-updates
--secure-auth Refuse client connecting to server if it uses old
(pre-4.1.1) protocol
--show-warnings Show warnings after every statement.

Default options are read from the following files in the given order:
/etc/my.cnf /usr/etc/my.cnf ~/.my.cnf
The following groups are read: mysql client
The following options may be given as the first argument:
--print-defaults Print the program argument list and exit
--no-defaults Don't read default options from any options file
--defaults-file=# Only read default options from the given file #
--defaults-extra-file=# Read this file after the global files are read

Variables (--variable-name=value)
and boolean options {FALSE|TRUE} Value (after reading options)
--------------------------------- -----------------------------
auto-rehash TRUE
character-sets-dir (No default value)
default-character-set latin1
comments FALSE
compress FALSE
database (No default value)
delimiter ;
vertical FALSE
force FALSE
named-commands FALSE
local-infile FALSE
no-beep FALSE
host (No default value)
html FALSE
xml FALSE
line-numbers TRUE
unbuffered FALSE
column-names TRUE
sigint-ignore FALSE
port 0
prompt mysql>
quick FALSE
raw FALSE
reconnect TRUE
socket (No default value)
ssl FALSE
ssl-ca (No default value)
ssl-capath (No default value)
ssl-cert (No default value)
ssl-cipher (No default value)
ssl-key (No default value)
ssl-verify-server-cert FALSE
table FALSE
debug-info FALSE
user (No default value)
safe-updates FALSE
i-am-a-dummy FALSE
connect_timeout 0
max_allowed_packet 16777216
net_buffer_length 16384
select_limit 1000
max_join_size 1000000
secure-auth FALSE
show-warnings FALSE
root@slax:~#

Slax mysql-bugreport.002

root@slax:~# groupadd mysql
groupadd: group mysql exists
root@slax:~# cp /etc/my-medium.cnf /etc/my.cnf
root@slax:~# cat /etc/my.cnf |perl -e ' foreach () { s/\[mysql\]\n/\[mysql\]\ndefault-character-set=utf8\n/ig; print; } ' > /etc/my.cnf
syntax error at -e line 1, near "() "
syntax error at -e line 1, near "; }"
Execution of -e aborted due to compilation errors.
root@slax:~# cat /etc/my.cnf |perl -e ' foreach () { s/\[mysqld\]\n/\[mysqld\]\ndefault-character-set=utf8\n/ig; print; } ' > /etc/my.cnf
syntax error at -e line 1, near "() "
syntax error at -e line 1, near "; }"
Execution of -e aborted due to compilation errors.
root@slax:~# cat /etc/my.cnf |perl -e ' foreach () { s/\[client\]\n/\[client\]\ndefault-character-set=utf8\n/ig; print; } ' > /etc/my.cnf
syntax error at -e line 1, near "() "
syntax error at -e line 1, near "; }"
Execution of -e aborted due to compilation errors.
root@slax:~# ln -s /var/run/mysql/mysql.sock /tmp/mysql.sock
root@slax:~# /usr/bin/mysql_install_db --datadir=/mnt/sda1/tmp/
Installing MySQL system tables...
091212 1:31:23 [Warning] option 'max_join_size': unsigned value 18446744073709551615 adjusted to 4294967295
091212 1:31:23 [Warning] option 'max_join_size': unsigned value 18446744073709551615 adjusted to 4294967295
OK
Filling help tables...
091212 1:31:23 [Warning] option 'max_join_size': unsigned value 18446744073709551615 adjusted to 4294967295
091212 1:31:23 [Warning] option 'max_join_size': unsigned value 18446744073709551615 adjusted to 4294967295
OK

To start mysqld at boot time you have to copy
support-files/mysql.server to the right place for your system

PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !
To do so, start the server, then issue the following commands:
/usr/bin/mysqladmin -u root password 'new-password'
/usr/bin/mysqladmin -u root -h slax password 'new-password'

Alternatively you can run:
/usr/bin/mysql_secure_installation

which will also give you the option of removing the test
databases and anonymous user created by default. This is
strongly recommended for production servers.

See the manual for more instructions.

You can start the MySQL daemon with:
cd /usr ; /usr/bin/mysqld_safe &

You can test the MySQL daemon with mysql-test-run.pl
cd mysql-test ; perl mysql-test-run.pl

Please report any problems with the /usr/bin/mysqlbug script!

The latest information about MySQL is available on the web at
http://www.mysql.com
Support MySQL by buying support/licenses at http://shop.mysql.com
root@slax:~# chown mysql /mnt/sda1/tmp/*
root@slax:~# chown mysql /mnt/sda1/tmp/mysql/*
root@slax:~# /usr/share/mysql/mysql.server start --datadir=/mnt/sda1/tmp/
Starting MySQL............. ERROR! Manager of pid-file quit without updating file.
root@slax:~# mysql
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysql/mysql.sock' (111)
root@slax:~#

Slax /tmp/failed-mysql-bugreport

SEND-PR: Lines starting with `SEND-PR' will be removed automatically, as
SEND-PR: will all comments (text enclosed in `<' and `>').
SEND-PR:
From: root
To: mysql@lists.mysql.com
Subject: [50 character or so descriptive subject here (for reference)]

>Description:

>How-To-Repeat:

>Fix:


>Submitter-Id:
>Originator:
>Organization:

>MySQL support: [none | licence | email support | extended email support ]
>Synopsis:
>Severity: <[ non-critical | serious | critical ] (one line)>
>Priority: <[ low | medium | high ] (one line)>
>Category: mysql
>Class: <[ sw-bug | doc-bug | change-request | support ] (one line)>
>Release: mysql-5.0.67 (Source distribution)

>C compiler: gcc (GCC) 4.2.4
>C++ compiler: gcc (GCC) 4.2.4
>Environment:

System: Linux slax 2.6.27.8 #1 SMP Sun Apr 12 22:55:24 Local time zone must be set--see zic i686 Intel(R) Atom(TM) CPU Z520 @ 1.33GHz GenuineIntel GNU/Linux
Architecture: i686

Some paths: /usr/bin/perl /usr/bin/make /usr/bin/gmake /usr/bin/gcc /usr/bin/cc
GCC: Reading specs from /usr/lib/gcc/i486-slackware-linux/4.2.4/specs
Target: i486-slackware-linux
Configured with: ../gcc-4.2.4/configure --prefix=/usr --enable-shared --enable-languages=ada,c,c++,fortran,java,objc --enable-threads=posix --enable-__cxa_atexit --disable-checking --with-gnu-ld --verbose --with-arch=i486 --target=i486-slackware-linux --host=i486-slackware-linux
Thread model: posix
gcc version 4.2.4
Compilation info (call): CC='' CFLAGS='-O2 -march=i486 -mtune=i686' CXX='gcc' CXXFLAGS='-O2 -march=i486 -mtune=i686 -felide-constructors -fno-exceptions -fno-rtti' LDFLAGS='' ASFLAGS=''
Compilation info (used): CC='gcc' CFLAGS=' -DDBUG_OFF -O2 -march=i486 -mtune=i686 ' CXX='gcc' CXXFLAGS=' -DDBUG_OFF -O2 -march=i486 -mtune=i686 -felide-constructors -fno-exceptions -fno-rtti -fno-implicit-templates -fno-exceptions -fno-rtti' LDFLAGS=' -rdynamic ' ASFLAGS=''
LIBC:
lrwxrwxrwx 1 root root 11 2009-11-16 08:26 /lib/libc.so.6 -> libc-2.7.so
-rwxr-xr-x 1 root root 1570593 2008-11-21 16:33 /lib/libc-2.7.so
-rw-r--r-- 1 root root 2969776 2009-04-13 20:31 /usr/lib/libc.a
-rw-r--r-- 1 root root 238 2008-11-21 16:24 /usr/lib/libc.so
lrwxrwxrwx 1 root root 22 2009-08-28 07:18 /usr/lib/libc-client.so.2007b -> libc-client.so.2007b.0
-rw-r--r-- 1 root root 1077300 2008-12-31 05:34 /usr/lib/libc-client.so.2007b.0
Configure command: ./configure '--prefix=/usr' '--with-mysqld-user=mysql' '--with-unix-socket-path=/var/run/mysql/mysql.sock' '--localstatedir=/var/lib/mysql' '--enable-assembler' '--with-raid' '--without-debug' '--enable-thread-safe-client' '--without-bench' '--with-extra-charsets=complex' '--with-vio' '--with-openssl' '--build=i486-slackware-linux' 'CFLAGS=-O2 -march=i486 -mtune=i686' 'CXXFLAGS=-O2 -march=i486 -mtune=i686 -felide-constructors -fno-exceptions -fno-rtti' 'CXX=gcc' 'build_alias=i486-slackware-linux'

2009年12月8日火曜日

Puppy Linuxでeclipse3.5


Puppy LinuxならSLAXより安定してeclipse3.5galileoが使えます。

SLAXでmysql立ち上がらず

SLAXでeclipse使用中にフリーズ・・・そして再起動・・・使っているネットブックのCPUはAtom Z520と言って複雑な命令はCerelon CPUなどと比べて出来ない・・・トランジスター数も5分の1以下で少ないので並列分散処理には向かない・・・そして再起動(ソフト的にではなく、ハードによって)を繰り替えしてUSBのSLAXシステムは破壊されシャットダウンも出来なくなった(アイコンも表示されなくなる)・・・けして安定したシステムとは言えない・・・結局、SLAX USB システムのインストール及び再構築を余儀なくされた・・・時間にして5時間位(もっとか?・・・)の損失・・・勉強にはなるが・・・メールからインターネットブラウザの設定やJavaの設定・・・アプリケーションのインストールなど一からやり直し・・・
ところで、SLAXでmysqlをインストールしたが、起動の方法が解らない・・・どうなっているんだろう・・・難しい・・・ググっても解らず・・・13メガバイトしかないmysqlってどうなってるの?・・・

2009年12月5日土曜日

ネットブックでeclipse・・・

acer Aspire one 751でWindows XPにeclipse galileo3.5をインストールし起動してみたら・・・ようこそ画面が変・・・×××と×が並んで使えない?・・・インストールに失敗したか?・・・どうしよう・・・まあこれで使ってみるか?・・・しょうがない・・・

2009年12月4日金曜日

eeeMint 8 リリース

eeeMint 8 が昨日新規公開された。早速ダウンロードしてLive USBを造って起動してみた。なんかeeeMint 7 の方が良さそう・・・eeeMint 7 を使いつづけたいと思った。新しくなったからといって良くなるとは限らないらしい・・・残念・・・

2009年12月3日木曜日

ネットブックなのにMoblin起動せず

Ubuntu magazine vol.01を見ながらMoblinと言うネットブックのAtomプロセッサーに最適化されているとゆうLinux OSをUSBメモリーにインストールしたり、USBメモリーにインストールしたMoblinを起動してみた。私のacer Aspire one 751はAtom Z520と言うCPUだけれどインストールも起動も出来なかった・・・悔しいのでceleron CPUのノートパソコンで試してみた。こちらはMoblinのインストール、起動ともに成功。ところでMoblinはshutdownが出来ない・・・ commandもnot found・・・terminalを起動しhalt -pで電源を落とした。

2009年12月2日水曜日

Fedora12のLiveUSBをつかってみた

Fedora12のLiveUSBを造るにあたってはhttp://cryst.tv/experiment/HowToMakeFedora10LiveUSB.html と雑誌のLinux100%vol.7を参考にWindows XPを使って造りました。結構難しかったけれどLiveUSBからの起動に成功しました。
ポイントはExplzhLaplasなどの解凍・圧縮ソフトをうまく使うことです。Fedora12はネットブックで使うには重そうな感じがしました。それと文字が大きすぎて折角のディスプレイの性能を生かしきれないのが残念な所です。

映画『2012』を見た

映画『2012』を見た。あらすじは太陽の異変により地球の地殻変動が起こり、それを予知していた人々により、なんとか中国で極秘に造られた箱舟に乗り地球上の何%かの人々が助かるとゆう話。宇宙船で脱出出来るのかと思わせるが実はタダの頑丈な船・・・その乗船のためには一人10億ユーロが必要とのこと・・・ほとんどの地球上の人々は地震や津波で死んでしまう・・・