helloworld

目前日期文章:201404 (5)

瀏覽方式: 標題列表 簡短摘要

這莫札特巧克力應該是每個人去奧地利、捷克必買的伴手禮了

歐洲的物價真是貴的嚇人,所以我從歐洲回來只帶了這個東西和水果茶茶包回來犒賞一下辛苦的同事
有機會的話強烈建議先在捷克買好,過了一個國境後物價差好多啊

莫札特巧克力

P1080581  

 

, , ,

helloworld 發表在 痞客邦 PIXNET 留言(0) 人氣()

 # apachectl restart
Performing sanity check on apache24 configuration:
AH00526: Syntax error on line 56 of /usr/local/etc/apache24/extra/httpd-ssl.conf:
Invalid command 'SSLPassPhraseDialog', perhaps misspelled or defined by a module not included in the server configuration

 # vi httpd.conf
LoadModule ssl_module libexec/apache24/mod_ssl.so



helloworld 發表在 痞客邦 PIXNET 留言(0) 人氣()

命令模式下修改netapp nfs 分享權限

#執行 rdfile 查看目前分享的權限
2240-1> rdfile /etc/exports
/vol/sharedir   -sec=sys,ro=10.8.9.0/24,rw=10.8.9.243:10.8.9.241,anon=0,nosuid

#如果還有另一台client:10.8.9.55 需要存取 sharedir 目錄的話,把上述的結果貼在記事本編輯後,再執行wrfile並把剛剛編輯過的文字貼上去
2240-1> wrfile /etc/exports
/vol/sharedir   -sec=sys,ro=10.8.9.0/24,rw=10.8.9.243:10.8.9.241:10.8.9.55,anon=0,nosuid
最後按ctrl+c 離開

#最後重新讀取設定檔
2240-1> exportfs -a

helloworld 發表在 痞客邦 PIXNET 留言(0) 人氣()

序號: EBFGyqNs
面額:50
結帳滿599元並至少一商品滿百即可折抵
使用期限:2014/03/27~2014/04/07

helloworld 發表在 痞客邦 PIXNET 留言(0) 人氣()

跑perl程式如果有缺套件的安裝方式
到 http://search.cpan.org/ 搜尋缺的套件名稱
點進去後可以看到右上方有一個download的選項
下載壓縮檔到主機上


example
# wget http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/Unicode-String-2.09.tar.gz
--2014-04-02 18:20:33--  http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/Unicode-String-2.09.tar.gz
Resolving search.cpan.org (search.cpan.org)... 199.15.176.161
Connecting to search.cpan.org (search.cpan.org)|199.15.176.161|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://www.cpan.org/authors/id/G/GA/GAAS/Unicode-String-2.09.tar.gz [following]
--2014-04-02 18:20:34--  http://www.cpan.org/authors/id/G/GA/GAAS/Unicode-String-2.09.tar.gz
Resolving www.cpan.org (www.cpan.org)... 199.15.176.140, 2a01:608:2:4::2, 2620:101:d000:8::140:1
Connecting to www.cpan.org (www.cpan.org)|199.15.176.140|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 122705 (120K) [application/x-gzip]
Saving to: `Unicode-String-2.09.tar.gz'

100%[==============================================================================================================================>] 122,705      116K/s   in 1.0s

2014-04-02 18:20:35 (116 KB/s) - `Unicode-String-2.09.tar.gz' saved [122705/122705]

# tar -zxvf Unicode-String-2.09.tar.gz

cd Unicode-String-2.09

# perl Makefile.PL

Writing Makefile for Unicode::String

# make

Skip blib/lib/Unicode/String.pm (unchanged)
Skip blib/lib/Unicode/CharName.pm (unchanged)
cc -c    -DAPPLLIB_EXP="/usr/local/lib/perl5/5.10.1/BSDPAN" -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -fstack-protector -O2 -pipe -fno-strict-aliasing    -DVERSION=\"2.09\"  -DXS_VERSION=\"2.09\" -DPIC -fPIC "-I/usr/local/lib/perl5/5.10.1/mach/CORE"   String.c
Running Mkbootstrap for Unicode::String ()
chmod 644 String.bs
rm -f blib/arch/auto/Unicode/String/String.so
cc  -shared  -L/usr/local/lib -fstack-protector String.o  -o blib/arch/auto/Unicode/String/String.so
chmod 755 blib/arch/auto/Unicode/String/String.so
cp String.bs blib/arch/auto/Unicode/String/String.bs
chmod 644 blib/arch/auto/Unicode/String/String.bs
Manifying blib/man3/Unicode::String.3
Manifying blib/man3/Unicode::CharName.3

# make install

Files found in blib/arch: installing files in blib/lib into architecture dependent library tree
FreeBSD: Registering installation in the package database
Cannot create directory /var/db/pkg/bsdpan-Unicode-String-2.09: File exists
Appending installation info to /usr/local/lib/perl5/5.10.1/mach/perllocal.pod



helloworld 發表在 痞客邦 PIXNET 留言(0) 人氣()