2009年4月30日 星期四
在SuSE裡設定bridge network實現VirtualBox主客兩端網路互通
其實這個說法,也未必正確。
因為硬體資源的使用,在某程度上,是會彼此競爭的。
如記憶體、網路頻寬……
不過一個網工,在有限的實體機器資源可運用的狀態下。
若是能借助虚擬化技術,實現兩台機器以上,從事主從式架構的網路服務運作實驗。
實在是再好不過的了!
這陣子強迫自己換到 SuSE LNIUX,去進行以往使用 ubuntu LNIUX 的作業。
覺得也是有不錯的體驗成果!
SuSE 在有了 Novell 的加持之下,就商業的角度來看,市場推展自然是不同以往。
但它自身發展的 YaST系統,我認為是讓人切入SuSE LINUX使用,很重要的誘導利器。
真的是太好用了! ^_^|||a
離題了!
擷一段官網指導說明,如何在SuSE裡建構bridge network環境,讓主客兩端網路互通。
http://en.opensuse.org/Virtualbox_Network_Bridging
+=========================================+
Result of this scenario is,
* Host and guest machine can communicate,
* Guest can connect to other machine in LAN and internet and vice versa.
Take the following system as an example:
* User name of host machine : johndoe
* Host Machine with 'eth0' : 10.2.26.248 netmask 255.255.255.224
* Gateway : 10.2.26.225
* Proxy : 10.1.10.17
* Guest IP address : 10.2.26.249 netmask 255.255.255.224
Big step :
1. Turn down interface 'eth0'.
2. Set IP address of 'eth0' to 0.0.0.0 and with 'promisc' mode.
3. Create bridge interface 'br0' and set IP address and netmask of 'br0' to the value of IP address and netmask 'eth0' before we set it to 0.0.0.0.
4. Create virtual network card 'tap0' with VBoxAddIF and add 'tap0' to bridge 'br0'.
5. Do not forget to set 'tap0' to 'promisc' mode too.
6. Add 'eth0' to 'br0'.
7. Bring all interface up.
Detailed step,
* Turn down interface 'eth0'.
# /sbin/ifconfig eth0 down
* Set IP address of 'eth0' to 0.0.0.0 and with 'promisc' mode.
# /sbin/ifconfig eth0 0.0.0.0 promisc
To change the interface address to permanent, edit file '/etc/sysconfig/network/ifcfg-eth0' and comment IPADDR and NETMASK config and add LINK_OPTIONS.
Example of configuration :
BOOTPROTO='static'
STARTMODE='ifplugd'
IFPLUGD_PRIORITY='1'
#IPADDR='10.2.26.248'
#NETMASK='255.255.255.224'
NAME='Hewlett-Packard Company Presario V6133CL'
USERCONTROL='no'
LINK_OPTIONS='promisc on'
* Create bridge interface 'br0' and set their IP address.
To create temporary bridge interface (the interface will be gone if the computer is restarted) :
# /sbin/brctl addbr br0
# /sbin/ifconfig br0 10.2.26.248 netmask 255.255.255.224
To create permanent interface, go to /etc/sysconfig/network, create a file with name is 'ifcfg-br0' and content is:
BOOTPROTO='static'
STARTMODE='auto'
IPADDR='10.2.26.248/27'
NETMASK='255.255.255.224'
NAME='bridge for vbox'
BRIDGE='yes'
BRIDGE_PORTS='eth0 tap0'
BRIDGE_FORWARDDELAY='0'
* Create virtual network card 'tap0' with VBoxAddIF and add 'tap0' to bridge 'br0'.
This will create permanent virtual network card,
# /usr/bin/VBoxAddIF tap0 johndoe br0
+-----------------------------------------------------------------------------------------------------+
修正:
在使用OpenSuSE 10.3實戰過程中,發現 我目前版本的 VirtualBox 2.2 。
並没有 /usr/bin/VBoxAddIF 指令!
而是改成另一個指令:
# /usr/bin/VBoxTunctl -b -u bullock -t tap0
+-----------------------------------------------------------------------------------------------------+
* Do not forget to set 'tap0' to 'promisc' mode too.
# /sbin/ifconfig tap0 promisc
* Add 'eth0' to 'br0'.
# /sbin/brctl addif br0 eth0
* Bring all interface up.
# /sbin/ifconfig tap0 up
# /sbin/ifconfig eth0 up
# /sbin/ifconfig br0 up
* Last check, run
# /sbin/ifconfig
openSUSE新手指南[轉貼]
打开 YaST, 在 KDE 中,K 菜单 -> 系统 -> YaST -> 安装源。 Gnome 中, 系统 -> YaST -> 安装源 。点击“添加...”,选择协议类型,填入相关信息,确定。
参见 添加安装源
export QT_IM_MODULE=XIM #使 SCIM 能够输入中文
export LC_ALL=zh_CN #使 Opera 能够以你选择的字体显示中文
./azureus
rpm -Uvh skype-version.rpm
kdesu kcontrol
Gnome:
cp 字体路径和文件名 ~/.fonts
参见 添加安装源
cp /usr/share/fonts/truetype/FZHeiTi.ttf /usr/share/stellarium/data/DejaVuSans.ttf
cp /usr/share/fonts/truetype/FZHeiTi.ttf /usr/share/stellarium/data/DejaVuSansMono.ttf
sudo passwd root
su
init 3
sh NVIDIA-Linux-.....run(就是下载的那个文件) -q
sax2 -r -m 0=nvidia (0是数字,不是字母)
chmod 755 ati-driver-installer-8.xx.xx-....run (就是下载的那个run文件名)
./ati-driver-installer-8.xx.xx-x86.run --buildpkg SuSE/版本-架构 (比如 32位 SUSE 10.1 此处是 SuSE/SUSE101-IA32,64位 SUSE 10.1 是 SuSE/SUSE101-AMD64,这步之后会生成一个rpm文件)
su
rpm -Uhv fglrx-......rpm (之前生成的rpm文件)
init 3
sax2 -r -m 0=fglrx
su
fdisk -l
df -T -h
mount
lspci
lsusb
su
mount -a
md5sum 文件名.iso
md5sum 文件名.iso > 文件名.iso.md5
md5sum -c file.md5
su
umount /dev/cdrom
dd if=/dev/cdrom of=file.iso bs=1024
su
mkdir /media/iso
mount 文件名.iso /media/iso/ -o loop
su
umount /media/iso/
su
ifup dsl0
smb://[对方 IP]
远程操作计算机通过 VNC 连接设置好的主机:
vncviewer [对方IP]:5901
2009年4月28日 星期二
嘉嘉出院了
2009年4月26日 星期日
OpenSuSE10.3安裝oracle 10gR2[轉貼]
SuSE linux 10.2下安装Oracle10gR2 白皮书下载地址
http://ftp.novell.com/partners/oracle/docs/10gR2_openSuSE102_introduction.pdf
系统要求:
内存:推荐1G
Swap分区:设为内存的2倍
/tmp磁盘空间:400MB以上
磁盘空间:软件3.5G 数据1.2G
以下要用root用户操作
检查所需要的rpm包
rpm -q make binutils gcc compat-db compat-gcc compat-gcc-c
compat-libstdc 或打开YaST安装
compat-2006.1.25-29.x86_64
compat-libstdc -5.0.7-41.x86_64
compat-openssl097g-0.9.7g-33.x86_64
gcc-32bit-4.1.3-29.x86_64
gcc-4.1.3-29.x86_64
gcc-c -4.1.3-29.x86_64
gcc-gij-4.1.3-29.x86_64
gcc-java-4.1.3-29.x86_64
gcc41-32bit-4.1.2_20061115-5.x86_64
gcc41-4.1.2_20061115-5.x86_64
gcc41-c -4.1.2_20061115-5.x86_64
gcc41-gij-32bit-4.1.2_20061115-7.x86_64
gcc41-gij-4.1.2_20061115-7.x86_64
gcc41-java-4.1.2_20061115-5.x86_64
glibc-2.5-25.x86_64
glibc-32bit-2.5-25.x86_64
glibc-devel-2.5-25.x86_64
glibc-devel-32bit-2.5-25.x86_64
glibc-i18ndata-2.5-25.x86_64
glibc-locale-2.5-25.x86_64
glibc-locale-32bit-2.5-25.x86_64
java-1_4_2-gcj-compat-32bit-1.4.2.0-66.x86_64
libgcc41-32bit-4.1.2_20061115-5.x86_64
libgcc41-4.1.2_20061115-5.x86_64
libstdc 41-32bit-4.1.2_20061115-5.x86_64
libstdc 41-4.1.2_20061115-5.x86_64
libstdc 41-devel-4.1.2_20061115-5.x86_64
libstroke-0.5.1-37.x86_64
libaio
libaio-devel
上面的包可能根据系统版本的不同会有所不同
orarun包下载地址
下载地址:
http://ftp.novell.com/partners/oracle/sles-10
安装orarun,用命令:#rpm –ivh orarun-1.8-109.15.i586.rpm
安装或者直接双击用YaST安装
当orarun软件包安装时,会自动建立名为oracle的用户,和一个oinstall组。我们只需要将该用户设置为enable,安装完后,会在 /etc.profile.d下生成2个oracle.sch和oracle.sh文件,在/etc/sysconfig/ 下生成一个oracle文件。而且orarun软件包将ORACLE_HOME文件夹自动生成,减少了很多麻烦。OK,修改文件:
-更改 /etc/passwd文件
把
oracle:x:103:108:Oracle user:/opt/oracle:/bin/false
改为
oracle:x:103:108:Oracle user:/opt/oracle:/bin/bash
-修改/etc/sysconfig/oracle文件
把
START_ORACLE_DB="no" START_ORACLE_DB_LISTENER="no"
改为
START_ORACLE_DB="yes" START_ORACLE_DB_LISTENER="yes"
打开控制台,更改oracle用户的密码
#passwd oracle,填入新密码即可
然后以oracle用户身份登陆
安装oracle
解压oracle安装包
#tar –xzvf oracle_db.cpio.gz 或unzip oracle_db.cpio.gz
解压完后是一个cpio文件,继续解压
#cpio -idcmv < oracle_db.cpio
安装oracle
进入文件夹,运行
#./runInstaller
问题
--如果不出现oracle的图形安装界面,并出现
error:faild to load /usr/lib/libInternalSymbols.so,
错误,以root身份更改/etc/profile.d/oracle.sh文件
把
test -f /usr/lib/libInternalSymbols.so && export
LD_PRELOAD=/usr/lib/libInternalSymbols.so
更改为:
test -f /usr/lib/libInternalSymbols.so && export
LD_PRELOAD_32=/usr/lib/libInternalSymbols.so
--njni10错误
以root身份执行下面的命令
#rm -f $ORACLE_HOME/install/make.logcd $ORACLE_HOME/bin
#./relink all > $ORACLE_HOME/install/make.log
回忆的有些乱,有些错误只记得关键字。
2009年4月14日 星期二
文字模式使用VirtualBox
http://cha.homeip.net/blog/archives/2008/10/_virtualbox.html#more
X-window 實在很耗資源!
原Host機,改用runlevel 3跑,也能執行 VirtualBox 。
真的太棒了!
2009年4月13日 星期一
木匠兄妹
02-SUPERSTAR
03-RAINY DAY AND MONDAY
04-TOP OF THE WORLD
05-TICKET TO RIDE
06-GOODBYE TO LOVE
07-THIS MASQUERADE
08-HURTING EACH OTHER
09-SOLITAIRE
10-WE'VE ONLY JUST BEGUN
11-THOSE GOOD OLD DREAM
12-PLEASE MR. POSTMAN
13-I WONT LAST A DAY WITHOUT YOU
14-TOUCH ME WHEN WE DANCING
15-JAMBALAYA
16-FOR ALL WE KNOW
17-ALL YOU GET FROM LOVE IS A LOVING SONG
18-CLOSE TO YOU
19-ONLY YESTERDAY
20-CALLING OCCUPANTS OF INTERPLANETARY CRAFT
以下歌詞均轉載來自 ※Mojim.com魔鏡歌詞網
When I was young I'd listen to the radio
當我年輕時 我常聽收音機
Waiting for my favorite songs
等待我最喜愛的歌曲
When they played I'd sing along
播出時就跟著哼唱
It made me smile
那使我非常快樂
Those were such happy times And not so long ago
那真是一段快樂時光 就在不久以前
How I wondered where they'd gone
我很想知道它們到哪裡去了
But they're back again
但它們回來了
Just like a long lost friend
像個失去聯絡很久的朋友
All the songs I loved so well
每首歌都是我所鍾愛的
Every Sha-la-la-la Every Wo-o-wo-o
每一句Sha-la-la-la 每一句Wo-o-wo-o
Still shines
依然閃亮
Every shing-a-ling-a-ling
每一句shing-a-ling-a-ling
That they're starting to sing's
它們就是這麼開始唱的
So fine
真是美極了……
When they get to the part where he's breaking her heart
當唱到他傷了她的心那一段
It can really make me cry
真的會讓我掉淚
Just like before
就像從前一樣
It's yesterday once more
彷彿昨日重現
Looking back on how it was in years gone by
回顧歲月的流逝
And the good times that I had
以及我曾擁有的美好時光
Makes today seem rather sad
相較之下,如今真是可悲
So much has changed
只因物事已非
It was songs of love that I would sing to then
那是我當時唱的情歌
And I'd memorize each word
我還記得每一句歌詞
Those old melodies
那些古老的旋律
Still sound so good to me
聽起來依然甜美
As they melt the years away
似乎把歲月都融化了
All my best memories
所有最美好的回憶
Come back clearly to me
都清晰的回到我面前
Some can even make me cry
有些甚至會使我哭泣
轉載來自 ※Mojim.com魔鏡歌詞網
Just like before
就像從前
It's yesterday once more
彷彿昨日重現.
Written:Leon Russell/Bonnie Bramlett
Long ago and oh so far away
I fell in love with you before the second show
Your guitar, it sounds so sweet and clear
But you're not really here
It's just the radio
(*)Don't you remember you told me you loved me baby
You said you'd be coming back this way again baby
Baby, baby, baby, baby,
oh, baby, I love you I really do
Loneliness is a such a sad affair
And I can hardly wait to be with you again
What to say to make you come again
Come back to me again
And play your sad guitar
Repeat(*)twice
Rainy Days And Mondays(雨天和星期一)
Written:Paul Williams/Roger Nichols
Talking to myself and feeling old
Sometimes I'd like to quit
Nothing ever seems to fit
Hangin' around, nothing to do but frown
Rainy days and Mondays always get me down
What I've got they used to call the blues
Nothing is really wrong
Feeling like I don't belong
Walking around some kind of lonely clown
Rainy days and Mondays always get me down
Funny but it seems I always wind up here with you
It's nice to know somebody loves me
Funny but it seems that it's the only thing to do
To run and find the one who loves me
(*)What I feel is come and gone before
No need to talk it out
We know what it's all about
Hanging around, nothing to do but frown
Rainy days and Mondays always get me down
Funny but it seems that it's the only thing to do
Run and find the one who loves me
Repeaat(*)
Hanging around, nothing do to but frown
Rainy days and Mondays always get me down
====[中譯歌詞]=============================================
雨天和星期一
喃喃自語,覺得自己已老
有時我想放棄
做什麼事都不對勁
無所是事
整天眉頭深鎖
雨天和星期一總讓我心情低落
我得了人們所謂的'憂鬱'
沒有什麼是真的錯了
只是沒有歸屬感
四處遊盪
像某些寂寞的小丑
雨天和星期一總讓我心情低落
有趣的是,我似乎總是和你在此告別
知道有人愛著我,的確很好
好笑的是,我唯一該做的
是找出那個愛我的人
那些感覺來了又去
其實都不足為外人道
我們都明白那是怎麼回事
無所是事
整天眉頭深鎖
雨天和星期一總讓我心情低落
Written:Richard Carpenter/John Bettis Arranger:Richard Carpenter
Such a feeling's coming over me
There is wonder in most everything I see
Not a cloud in the sky
Got the sun in my eyes
And I won't be surprised if it's a dream
Everything I want the world to be
Is now coming true especially for me
And the reason is clear
It's because you are here
You're the nearest thing to heaven that I've seen
(*)I'm on the top of the world looking down on creation
And the only explanation I can find
Is the love that I've found ever since you've been around
Your love's put me at the top of the world
Something in the wind has learned my name
And it's telling me that things are not the same
In the leaves on the trees and the touch of the breeze
There's a pleasing sense of happiness for me
There is only one wish on my mind
When this day is through I hope that I will find
That tomorrow will be just the same for you and me
All I need will be mine if you are here
Repeat(*)twice
Lyrics:John Lennon Music:John Lennon
(*)I Think I'm gonna be sad
I think it's today, yeah
The boy that's driving me mad is going away
(**)He's got a ticket to ride
He's got a ticket to ride
He's got a ticket to ride
And he don't care
He said that living with me
Is bringing him down, yeah
He would never be free
When I was around
Repeat(**)
Don't know why he's ridin' so high
He ought to do right
He ought to do right by me
Before he gets to sayin' good-bye
He ought to do right
He ought to do right by me
Repeat(*)
Repeat(**)
Don't care
Think I'm gonna be sad...
Written:Richard Carpenter/John Bettis
I'll say goodbye to love
No one ever cared if I should live or die
Time and time again the chance for love has passed me by
And all I know of love is how to live without it
I just can't seem to find it
So I've made my mind up
I must live my life alone
And though it's not the easy way
I guess I've always know
I'd say goodbye to love
There are no tomorrows for this heart of mine
Surely time will lose these bitter memories
And I'll find that there is someone to believe in
And to live for something I could live for
All the years of useless search
Have finally reached an end
Loneliness and empty days will be my only friend
From this day love is forgotten
I'll go on as best I can
What lies in the future is a mystery to us all
No one can predict the wheel of fortune as it falls
There may come a time when I will see that I've been wrong
But for now this is my song
And it's goodbye to love
I'll say goodbye to love
This Masquerade
Lyrics:Leon Russell Music:Leon Russell
Are we really happy with
This lonely game we play
Looking for the right words to say
Searching but not finding
Understanding anyway
We're lost in this masquerade
Both afraid to say we're just too far away
From being close together from the start
We tried to talk it over
But the words got in the way
We're lost inside this lonely game we play
(*)Throughts of leaving disappear
Each time I see your eyes
And no matter how hard I try
To understand the reason
Why we carry on this way
And we're lost in this masquerade
We tried to talk it over
But the words got in the way
We're lost inside this lonely game we play
Repeat(*)
We're lost in a masquerade
Lyrics:Peter Udell/Gary Geld Music:Peter Udell/Gary Geld
No one in the world
Ever had a love as sweet as my love
For nowhere in the wolrd
Could there be a boy as true as you love
All my love
I give gladly to you
All your love
You give gladly to me
Tell me why then
Oh why should it be that
We go on hurting each other
We go on hurting each other
Making each other cry
Hurting each other
Without ever knowing why
Close than the leaves
On a weepin' willow, baby, we are
Closer dear are we
Than the simple letters 'A' and 'B' are
All my life
I could love only you
All your life
You could love only me
Tell me why than
Oh why should it be that
We go on hurting each other
We go on hurting each other
Making each other cry
Hurting each other
Without ever knowing why
Can't we stop hurting each other
Gotta stop hurting each other
Making each other cry
Breaking each other's heart
Tearing each other apart
Lyrics:Neil Sedaka/Phil Cody Music:Neil Sedaka/Phil Cody
There was a man
A lonely man
Who lost his love
Through his indifference
A heart that cared
That went unshared
Until it died
Within his silence
(*)And solitaire's the only game in town
And every road that takes him
Takes him down
And by himself it's easy to pretend
He'll never love again
(**)And keeping to himself
He plays the game
Without her love
It always ends the same
While life goes on around him everywhere
He's playing solitaire
A little hope
Goes up in smoke
Just how it goes
Goes without saying
There was a man
A lonely man
Who would command
The hand he's playing
Repeat(*)
Repeat(**)
Repeat(*)
Written:Paul Williams/Roger Nichols
We've only just begun to live
White lace and promises
A kiss for luck and we're on our way
We've only just begun
Before the rising sun we fly
So many roads to choose
We start our walking
And learn to run
And yes! We've only just begun
(*)Sharin' horizons that are new to us
Watchin' the signs along the way
Talkin' it over just the two of us
Workin' together day to day, together
(**)And when the evening comes we smile
So much of life ahead
We'll find a place where there's room to grow
And yes! We've only just begun
Repeat(*)
Repeat(**)
Written:Richard Carpenter/John Bettis
As a child I was known for makes-believing
All alone I created fantasies
As I grew people called it self deceiving
But my heart helped me hold the memories
As I walk through the world I find around me
Something new yet familiar's in the air
I feel it everywhere
Like a child's eyes on a Christmas night
I'm looking at you now finding answers to my prayers
It's a new day for those good old dreams
One by one it seems they're coming true
Here's the morning that my heart had seen
Here's the morning that just had to come through
Written:Brian Holland/Robert Bateman/Berry Gordy
( Stop )Oh yes, wait a minute
Mister Postman
( Wait )
Wait Mister Postman
(*)Please Mister Postman look and see
( Oh yeah )
If there's a letter in your bag for me
( Please, Please, Mister Postman )
Why's it takin' such a long time
( Oh yeah )
For me to hear from that boy of mine
There must be
Some word today
From my boyfriend
So far away
Please Mister Postman
Look and see
If there's a letter
A letter for me
I've been standin' here
Waitin' Mister Postman
So patiently
For just a card
Or just a letter
Sayin' he's returning'
Home to me
Repeat(*)
So many days
You passed me by
See the tears
Standin' in my eyes
You didn't stop
To make me feel better
By leavin' me
A card or a letter
Repeat(*)
( Why don't you check it and see one more time
for me you gotta )
Wait a minute, wait a minute...
( Mister Postman )
Mister Postman look and see
( C'mon deliver the letter, the sooner, the better )
Mister Postman
======================[中譯歌詞]=================
請等一下,郵差先生
請等一下,郵差先生
等一等,郵差先生
等一下,郵差先生,請查查看
袋子裡是不是有我的信?
請等一下,郵差先生
為什麼讓我等這麼久
只為了等我男友的音訊
今天應該有隻字片語
來自我那遠方的男友
等一下,郵差先生,請查查看
是不是有信件是寄給我的?
我一直站在這兒耐心的等待郵差先生
只為了一張明信片或一封信
告訴我他將回到家裡
你從我面前經過這麼多天了
看見我眼裡的淚水
卻不曾停下來安慰我
給我一封明信片或信件
為何你不再為我查看一遍?
你一定得等一下
請等一下,等一下
郵差先生,請查查看
快給我一封信,越快越好
郵差先生........
13-I WONT LAST A DAY WITHOUT YOU
Written:Paul Williams/Roger Nichols
Day after day, I must face a world of strangers
Where I don't belong,
I'm not that strong
It's nice to know that there's someone
I can turn to
Who will always care
You're always there
(*)When there's no gettin' over that rainbow
When my smallest of dreams won't come true
I can take all the madness the world has to give
But I won't last a day without you
So many times when the city seems to be
Without a friendly face, a lonely place
It's nice to know that you'll be there if
I need you And you'll always smile
It's all worthwhile
Repeat(*)
Touch me and I end up singing
Trouble seems to up and disappear
You touch me with the love you're bringing
I can't really lose when you're near
If all my friends
Have forgotten half their promises
They're not unkind,
Just hard to find
One look at you and
I know that I could learn to live
Without the rest
I found the best
Repeat(*)
Lyrics:Klaatu Music:Klaatu
In your mind you have capacities you know
To telepath messages through the vast unknown
Please close your eyes and concentrate
With every thought you think
Upon the recitation we're about to sing
(*)Calling occupants of interplanetary craft
Calling occupants of interplanetary most extraordinary craft
Repeat(*)
You've been observing our earth
And we'd like to make a contact with you
We are your friends
Calling occupants of interplanetary craft
Calling occupants of interplanetary ultra-emissaries
We've been observing your earth
And one night we'll make a contact with you
We are your friends
Calling occupants of interplanetary quite extraordinary craft
And please come on peace, we beseech you
Only a landing will teach them
Our earth may never survive
So do come, we beg you
Please interstellar policeman
Oh, won't you give us a sign
Give us a sign that we've reached you
With your mind you have ability to form
And transmit thought energy far beyond the norm
You close your eyes, you concentrate
Together that's the way
To send the message
We declare world contact day
Repeat(*)twice
We are your friends
Lyrics:Hank Williams Music:Hank Williams
Good-bye Joe, he gotta go, me oh my oh
He gotta go-pole the pirogue down the bayou
His Yvonne the sweetest one,me oh my oh
Son of a gun, we'll have big fun on the bayou
Thibodaux,Fontaineaux the place is buzzin'
A Kin-folk come to see Yvonne by the dozen
Dress in style the go hog wild, me oh my oh
Son of a gun, we'll have big fun on the bayou
(*)Jambalaya and a crawfish pie and fillet gumbo
Cause tonight, I'm gonna see my ma cher a mi-o
Pick guitar, fill fruit far and be gay-o
Son of a gun, we'll have big fun on the bayou
Settle down far from town get him a pirogue
And he'll catch all the fish in the bayou
Swap his mon to buy Yvonne what she need-o
Son of a gun, we'll have big fun on the bayou
Repeat(*)
Written:Fred Karlin/Robb Wilson/Arthur James
Love, look at the two of us
Strangers in many ways
We've got a lifetime to share
So much to say and as we go on from day to day
I'll feel you close to me
But time alone will tell
Let's take a lifetime to say
I knew you well
For only time will tell us so
And love may grow for all we know
Love, look at the two of us
Strangers in many ways
Let's take a lifetime to say
I knew you well
For only time will tell us so
And love may grow for all we know
17-ALL YOU GET FROM LOVE IS A LOVING SONG
Lyrics:Steve Eaton Music:Steve Eaton
Like sailin' on a sailin' ship to nowhere,
Love took over my heart like an ocean breeze.
As season fly I knew that I was losing
Love was washed away with the driftin tide.
Oh it's a dirty old shame that all you get from love is a love song
It's gotcha layin up nights waiting for the music to start.
It's such a dirty old shame when you got to take the blame for a love song.
Because the best love song is writing with a broken heart.
Now the tears in my eyes are ever blindin'
The future that lies before me I cannot see
Although tomorrow I know the sun is rising
Lightin' up the world for everyone, but not for me.
Lyrics:Burt Bacharach/Hal David Music:Burt Bacharach/Hal David
Why do birds
Suddenly appear?
Everytime you are near
Just like me
They long to be
Close to you
Why do stars
Fall down from the sky?
Everytime you walk by
Just like me
They long to be
Close to you
(*)On the day that you were born
The angels got together and decided
To create a dream come true
So they sprinkled moondust in your hair
Of gold and starlight in your eyes of blue
(**)That is why all the girls in town
Follow you all around
Just like me
They long to be
Close to you
Repeat(*)
Repeat(**)
Just like me
They long to be
Close to you
Woo... Close to you...
Written:Richard Carpenter/John Bettis
After long enough of being alone
Everyone must face their share of loneliness
In my own time nobody knew
The pain I was goin' through
And waitin' was all my heart could do
Hope was all I had until you came
Maybe you can't see how much you mean to me
You were the dawn breaking the night
The promise of morning light
Filing the world surrounding me
When I hold you
(*)Baby, Baby
Feels like maybe things will be all right
Baby, Baby
Your love's made me
Free as a song singin' forever
(**)Only yesterday when I was sad
And I was lonely
You showed me the way to leave
The past and all its tears behind me
Tomorrow may be even brighter than today
Since I threw my sadness away
Only Yesterday
I have found my home here in your arms
Nowhere else on earth I'd really rather be
Life waits for us
Share it with me
The best is about to be
So much is left for us to see
When I hold you
Repeat(*)
Repeat(**)twice
20-CALLING OCCUPANTS OF INTERPLANETARY CRAFT
Lyrics:Klaatu Music:Klaatu
In your mind you have capacities you know
To telepath messages through the vast unknown
Please close your eyes and concentrate
With every thought you think
Upon the recitation we're about to sing
(*)Calling occupants of interplanetary craft
Calling occupants of interplanetary most extraordinary craft
Repeat(*)
You've been observing our earth
And we'd like to make a contact with you
We are your friends
Calling occupants of interplanetary craft
Calling occupants of interplanetary ultra-emissaries
We've been observing your earth
And one night we'll make a contact with you
We are your friends
Calling occupants of interplanetary quite extraordinary craft
And please come on peace, we beseech you
Only a landing will teach them
Our earth may never survive
So do come, we beg you
Please interstellar policeman
Oh, won't you give us a sign
Give us a sign that we've reached you
With your mind you have ability to form
And transmit thought energy far beyond the norm
You close your eyes, you concentrate
Together that's the way
To send the message
We declare world contact day
Repeat(*)twice
We are your friends
2009年4月11日 星期六
在SUSE中啓動MySQL
因為就我所知,LINUX能快速發展,和LAMP的建置方便以及推廣。
有很大的關係!
但其實LAMP平台的建置,到底是不是真的很方便,可能有不少人會質疑。
畢竟在建置LAMP的過程中,需要的網管技術,和LINUX使用基礎,也是很重要的一環。
很難跳過一些基本功的修練,就順順利利建置好LAMP平台的。
RedHat/Fedora,Debian/Ubuntu,SuSE……
都有一套管理它們 Daemon 的專有指令。
service , invoke-rc.d , rcxxx ……
各有特色和便利性!
雖然,其實都是去對應的 runlevel 系統目錄下,去跑 script 罷了。
和最初基本的 /etc/init.d/xxx start|stop|status|reload|restart| ……
功能差不了多少,結果也通常會一樣。
我想這就是玩LINUX的最大優勢所在,把LINUX搞懂到一定程度。
去碰 BSD 系列的系統管理,也不會難倒你的。
該寫些呼應主題的東東了!
在SuSE啓動 MySQL ,指令可以用 rcmysql start。
反正在SuSE中想啓動什麼服務,試試 rcxxx 。
而rcmysql start 也等於是 /usr/bin/mysqld_safe & ,和在其他版本的LINUX下執行MySQL的原始方法,一樣!
圖片是初次啓動 MySQL 的訊息,要求馬上修改 MySQL root 的密碼。
#mysqladmin -uroot password 'new-password'
2009年4月9日 星期四
在SUSE環境玩Debian
http://www.cwhuang.idv.tw/2008/09/build-mini-debian-by-debootstrap
我開了 /opt/debian 打算用來裝debian etch!
# debootstrap --arch i386 etch /opt/debian
執行指令後,我把訊息擷圖放在下面。
請大家參考……
它會自動上debian官方網站,下載必要的basesystem套件。
安裝好之後,用 ls 檢視一下!
Go Go Go ……
再來就是把這個 Debian 給RUN起來。
讓它真的能跑 一些 Daemon ,但因為它不算是虚擬的機器環境。
有些地方,要區分清楚!
比如用這個 Debian 來跑 Apache2 ,那麼原來的 SuSE 就一定不能有 Apache2 也在運行中……
否則會有衝突!
YaST把光碟映像檔設成更新來源
把當初安裝OS的光碟,搞成一個映像檔。
然後設定進YaST的更新來源之一,好讓我們往後要再安裝軟體時,不必再放光碟片了!
再把光碟放入,準備「燒錄」成映像檔!
點選 [Software Repositories] ~
再來,[新增] !
媒體類型 --> 本機 ISO 影像
去找到你生成映像檔,放置的路徑。
指定好ISO檔案!
看到授權合約,不用多想,同意下去就對了!
以後不用再放光碟,方便多了。
看到和先前圖片(第二張)不同的地方了吧!
軟體套件庫來源,多了 suse103 iso的項目。
以後再也用不到光碟片了哦。
使用SUSE的陣痛期
到底要選RPM系列的RedHat/Fedora?還是選DEB系列的Debian/Ubuntu?
RedHat是我接觸LINUX的最初版本,相信也是很多人開始接觸和自學LINUX的入門版本。
而我去拜師正式學LINUX,教的則是用CADELA的版本!
就這樣的源由來推,本來我是對RPM比較熟悉的。
可是,好奇試用Ubuntu的結果,出乎我意料之外的從此對Ubuntu產生好感。
愛不釋手它的APT更新機制~
許多套件的安裝和更新,透過APT的管理,變得簡單到讓我完全改觀。
因為在RedHat9以前的LINUX使用經驗,挫折和痛苦的程度,叫人實在難以領教。
過去安裝套件的常會有的相依性問題,相信也曾經是不少LINUX學習者,有過的惡夢。
回想過去,學習文字指令和背背那些設定稿件,並不是難事。
難的是當你要安裝一套服務套件,面臨的套件相依性問題!
往往是讓剛入門的新手陣亡的一道門檻。
如今使用Ubuntu已經很上手的我,決定現在要再來做個轉換。
改用SUSE!
為的就是準備要考NCLP!
先從SUSE 10.3 ,開始學起。
根據可靠消息指出,我拜的老師 Netman陳思永!
現在教的是就是SUSE。
老師對不起!學了六年後,才去考到LPI L1。
現在我再來考NCLP,看以後能否再衝LPI L2和RHCE。
我一定會把LINUX所學,發掦光大的!
現在使用SUSE有些瓶頸!
慢慢克服去……
寄件者 SuSE LINUX |
2009年4月7日 星期二
LAMP!BAPP?
就是Linux + Apache + MySQL + PHP !
那BAPP呢?
剛好有個中國玩開放源始碼的朋友來提問,才讓我從而接觸到這個名詞.
BAPP照他的說法,就是 FreeBSD + Apache + Postgresql + PHP .
BAPP!嗯!
長了見識~
上網Google一下,發現這詞還不是很被發揚廣大啊!
最近也又碰了一些FreeBSD的機器,發現它的設計果然有著學院派的嚴謹.
雖然没有Linux的豐富,在硬體的支援度,FreeBSD也實在遜於Linux.
所以想由FreeBSD去玩X-window的話,挫折感應該會很大.
但是用FreeBSD來架SERVER,性能和安全性,可能要比Linux好上許多?
就看各人喜好啦!
2009年4月6日 星期一
NMAP的圖形介面
心血來潮,找到nmap 的圖形化軟體,試用一下。
掃掃我的Debian Linux主機 10.1.131.0 ,結果居然出現了紅字。
曾幾何時,我啓動了 telnet 服務而不自知!
驚~
回想一下,可能是當初在試著設 inetd / xinetd 超級服務,後來忘了關掉!
處理方法有二:
一是拿掉 xinetd 服務!
#update-rc.d -f xinetd remove
二是把 /etc/xinetd.d/ 目錄下的 telnet 設定檔內容,全部註解掉。
再重啓服務!
#invoke-rc.d xinetd restart
第二個方式,好像比較 stupid !
還有!
nmap掃埠的功能,好好運用,能增加不少安全性哦。
厲害的是,nmap也能用來偵測人家伺服器的一些資訊。
不過,SUSE 10.3的nmap版本是4.20,卻比Debian 4附的nmap 4.11要來得差勁。
SUSE裡的nmap -O 居然會查不出對方主機OS是啥?
反倒是Debian 裡的nmap 4.11 能查出以下資訊!(敏感文字用x馬賽克起來!)
+===============================================================+
debian:/etc/xinetd.d# nmap -sT -O -PT 10.1.128.x
Starting Nmap 4.11 ( http://www.insecure.org/nmap/ ) at 2009-04-06 16:10 CST
Interesting ports on x.niceplaza.com.tw (10.1.128.x):
Not shown: 1672 closed ports
PORT STATE SERVICE
21/tcp open ftp
22/tcp open ssh
25/tcp open smtp
53/tcp open domain
80/tcp open http
110/tcp open pop3
389/tcp open ldap
10000/tcp open snet-sensor-mgmt
MAC Address: 00:30:6E:A7:29:71 (Hewlett Packard)
Device type: general purpose
Running: FreeBSD 4.X|5.X
OS details: FreeBSD 4.3 - 4.4PRERELEASE, FreeBSD 4.9 - 5.1
Uptime 102.468 days (since Thu Dec 25 04:57:55 2008)
Nmap finished: 1 IP address (1 host up) scanned in 17.968 seconds
+===============================================================+
我又要當爸爸了!
寄件者 My Pictures 4 My Family |
weiwei 會是你的小名!
你會在六月出生,雙子。
你的模樣,像極了嘉嘉哥哥。
爸爸期待你的出世,weiwei!
寄件者 My Pictures 4 My Family |
寄件者 My Pictures 4 My Family |
嗯!吳家的興盛,指日可待。
搜尋此網誌
本站大事記
特別是為了工作和進修需要,搜集了不少網站連結。
希望對來這裡觀文的朋友們,有提供一些有用的資訊或文章。
但這裡的文章中,也包含個人的心情扎記和隨興言談……
若是當中沒有對上你的口味,請多包涵!
原「琳娜絲與希斯寇的邂逅」,改名為「愛上琳娜絲」!
--原序文--
就是當LINUX遇上CISCO啦!他們的結合還能作什麼事…不就是讓這個世界的網路,串…串起來啊…不然你們那能上這網站看部落格!
我的網誌清單
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
一個多月..14 年前