DQ NO.1 - dragon quest fans club

 找回密碼
 加入成為夥伴
搜索
熱搜: 活動 交友 discuz
查看: 6521|回復: 10

[其它] 佬趙的FREEBSD6.1安裝日記

[複製鏈接]
發表於 2006-8-28 23:23:09 | 顯示全部樓層 |閱讀模式
不囉唆...
依照標準程序安裝完freebsd
先設定PPPOE
於/etc/rc.conf 加入
ppp_enable="yes"
ppp_mode="ddial"
ppp_profile="seednet"
ppp_user="root"

將/etc/ppp/ppp.conf 改為
default:
set log Phase tun command
ident user-ppp VERSION(built COMPILANTIONDATE)
set timeout 0
enable dns

seednet:
set device PPPoE:fxp0
set authname ************
set authkey ***********
set dial
set login
add default HISADDR

============network config finish============


Before we start using PORTS, we should change our MASTER_SITE
goto /etc/ ,and edit "make.conf",if it does not exist,CREATE it!
and  add this infomation .


SUP_UPDATE= YES
SUP= /usr/local/bin/cvsup
SUPFLAGS= -g -L 2

SUPHOST=freebsd.csie.nctu.edu.tw
SUPFILE= /usr/share/example/cvsup/stable-supfile
PORTSSUPFILE= /usr/share/examples/cvsup/ports-supfile
DOCSUPFILE= /usr/share/example/cvsup/doc-supfile


MASTER_SITE_BACKUP?= \
ftp://freebsd.csie.nctu.edu.tw/pub/FreeBSD/ports/distfiles/${DIST_SUBDIR}/\
ftp://ftp8.tw.freebsd.org/pub/FreeBSD/ports/distfiles/${DIST_SUBDIR}/\
ftp://ftp3.tw.freebsd.org/pub/FreeBSD/ports/distfiles/${DIST_SUBDIR}/\
ftp://ftp6.tw.freebsd.org/pub/FreeBSD/ports/distfiles/${DIST_SUBDIR}/\
ftp://ftp7.tw.freebsd.org/pub/FreeBSD/ports/distfiles/${DIST_SUBDIR}/\
ftp://ftp.tw.freebsd.org/pub/FreeBSD/ports/distfiles/${DIST_SUBDIR}/\
ftp://ftp11.tw.freebsd.org/pub/FreeBSD/ports/distfiles/${DIST_SUBDIR}/
MASTER_SITE_OVERRIDE?= ${MASTER_SITE_BACKUP}



THEN,we should UPDATE our ports-tree.
first,goto /usr/ports/net/cvsup-without-gui/
#make install clean
it will takes a loooooooong time..
When it finish,reboot our machine.
goto /usr/ports/
#make update
CVSUP will update port-tree automatically!
Now,we can INSTALL leastest soreware by ports!




==========start install mysql5.0============
install  mysql  5.0
#cd  /usr/ports/databases/mysql50-server/
#make install clean
wait for a long time........................
go to /etc/rc.conf
add this line "mysql_enable="YES"
then reboot!
now,we need update our root's password
#mysql -u root mysql
mysql>update user set password=password('mypassword') where user='root';
then,update the privilege of MYSQL Server
mysql>flush privilege

========mysql server finish!==========

========Apache Server Installation========
goto /usr/ports/www/apache22/
#make install clean
after a looooong time....
edit this file "/etc/rc.conf"
add this line "apache22_enable="YES" "
reboot !

========finish=======================

===========let apache support php5======
goto /usr/ports/lang
#make install clean
after a short time
goto /usr/local/etc/apache22/
maybe you need add this line or it's exists
"LoadModule php5_module     libexec/apache22/libphp5.so"
and add this line  after <IfModule mime_module>
"AddType application/x-httpd-php .php"

IMPORTANT!!  install php5-extension
goto /usr/ports/lang/phph-extensions/
#make install clean
maybe need chose a lot of lib...
and ...need several half hour..

finally,everything is ok!
test it by use "<? phpinfo(); ?>"
===========php5 finish==============

======CGI-Perl Support===============
now,let our Apache Support CGI/Perl
edit "/usr/local/etc/apache22/httpd.conf"
find "Options Indexes FollowSymLinks..."
in the same line,add "ExecCGI MultiViews"
then,find <Directory "/usr/local/www/apache22/cgi-bin/">
in this section, change"Options NONE" to "Options ExecCGI"
and,fine the "#AddHandler cgi-script .cgi"
remove the "#" and add " .pl"

finally,save it.And estart Apache!

Before we test the xxx.cgi,we need use "chmod +x CGI_FILES",or you can get problem!
==============finish CGI-Perl support===========




待續..........
發表於 2006-8-28 23:41:28 | 顯示全部樓層

[閒聊] 

可以插個嘴發發牢騷嗎

看到這一大串似英文似語言的怪怪東西

真的無限無力,資管....

踩著別人的屍體前進?真是好一個佳句阿,不知道經過多少大陣仗才能說出這句話

好想轉係.....

Ps.(屍體製成86%...)
回復 支持 反對

使用道具 舉報

 樓主| 發表於 2006-8-28 23:46:07 | 顯示全部樓層

Re: [閒聊] 

[quote="waung"]可以插個嘴發發牢騷嗎

看到這一大串似英文似語言的怪怪東西

真的無限無力,資管....

踩著別人的屍體前進?真是好一個佳句阿,不知道經過多少大陣仗才能說出這句話

好想轉係.....

Ps.(屍體製成86%...)[/quote6]


沒辦法,因為我打到一半,懶得切中文
又因為是寫給自己看的....所以破英文,自己看得懂就好..
文法....囧...就不管了...一般人看不懂也是正常的
回復 支持 反對

使用道具 舉報

發表於 2006-8-28 23:49:40 | 顯示全部樓層

Re: [閒聊] 

[quote="ENIX.DQ"]
沒辦法,因為我打到一半,懶得切中文
又因為是寫給自己看的....所以破英文,自己看得懂就好..
文法....囧...就不管了...一般人看不懂也是正常的[/quote7]

不對,我的問題沒那麼淺

深遠的很,問問橘子應該知道

不久前酒店中有跟她提過
回復 支持 反對

使用道具 舉報

發表於 2006-8-29 09:46:22 | 顯示全部樓層
乎 看來我得專業技能
完全被我們 咾趙董事長 取代了

我可以躺著領薪水了
回復 支持 反對

使用道具 舉報

發表於 2006-8-29 14:58:19 | 顯示全部樓層
(思)
...................
喔...英文阿.....
從音標從新學起吧...
念書還是要畢業才有用啊...

老趙的儲藏室變成抬槓園了XD
回復 支持 反對

使用道具 舉報

發表於 2006-8-29 15:31:06 | 顯示全部樓層
[quote="ENIX.橘子"](思)
...................
喔...英文阿.....
從音標從新學起吧...
念書還是要畢業才有用啊...

老趙的儲藏室變成抬槓園了XD[/quoteb]
橘老師 也會交英文?
有招開 成人班嗎          
回復 支持 反對

使用道具 舉報

發表於 2006-8-29 17:37:08 | 顯示全部樓層
我的英文啊.....
請把文法除掉,其他都還可以....

但是文法就佔80%了 XD
回復 支持 反對

使用道具 舉報

發表於 2006-8-29 21:08:07 | 顯示全部樓層

[閒聊] 

[quote="ENIX.橘子"](思)
...................
喔...英文阿.....
從音標從新學起吧...
念書還是要畢業才有用啊...

老趙的儲藏室變成抬槓園了XD[/quotec]

難道...我還有救嗎 (**)

這樣的我...
回復 支持 反對

使用道具 舉報

發表於 2006-8-29 22:56:29 | 顯示全部樓層
所以我才叫你從音標從新開始啊....
只要會看音標了,單字就會變的好背了(不是死背,是記著音來背)
單字認多了,就算一句句子的文法你再怎麼不懂,還是可以知道它到底在說什麼...
大學你念到後面原文書會越來越多,至少屬於你專業領域的英文要記起一些。
至少我就是這樣的...不會可能會低分飛過倒是真的

.................
啊啊啊~~~怎麼變成橘老師在說教了!!!
我已經不當老師很久啦~~~~><
:|  :|  :|  :|  :|  :|  :|  :|  :|  :|  :|  :|
回復 支持 反對

使用道具 舉報

您需要登錄後才可以回帖 登錄 | 加入成為夥伴

本版積分規則

Archiver|手機版|ぱふぱふ屋|DQ NO.1

GMT+8, 2024-4-19 01:19 , Processed in 0.027844 second(s), 16 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回復 返回頂部 返回列表