ENIX.DQ 發表於 2006-8-28 23:23:09

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

不囉唆...
依照標準程序安裝完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!
andadd 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============
installmysql5.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 lineafter <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===========




待續..........

waung 發表於 2006-8-28 23:41:28

[閒聊] 

可以插個嘴發發牢騷嗎

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

真的無限無力,資管.... :'(

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

好想轉係.....

Ps.(屍體製成86%...)

ENIX.DQ 發表於 2006-8-28 23:46:07

Re: [閒聊] 

可以插個嘴發發牢騷嗎

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

真的無限無力,資管.... :'(

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

好想轉係.....

Ps.(屍體製成86%...)


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

waung 發表於 2006-8-28 23:49:40

Re: [閒聊] 


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

不對,我的問題沒那麼淺

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

不久前酒店中有跟她提過

ENIX.DC 發表於 2006-8-29 09:46:22

乎 看來我得專業技能
完全被我們 咾趙董事長 取代了

我可以躺著領薪水了

ENIX.橘子 發表於 2006-8-29 14:58:19

(思)
...................
喔...英文阿.....
從音標從新學起吧...
念書還是要畢業才有用啊...

老趙的儲藏室變成抬槓園了XD

ENIX.DC 發表於 2006-8-29 15:31:06

(思)
...................
喔...英文阿.....
從音標從新學起吧...
念書還是要畢業才有用啊...

老趙的儲藏室變成抬槓園了XD
橘老師 也會交英文?
有招開 成人班嗎:$:$:$:$:$

ENIX.橘子 發表於 2006-8-29 17:37:08

我的英文啊.....
請把文法除掉,其他都還可以....

但是文法就佔80%了 XD

waung 發表於 2006-8-29 21:08:07

[閒聊] 

(思)
...................
喔...英文阿.....
從音標從新學起吧...
念書還是要畢業才有用啊...

老趙的儲藏室變成抬槓園了XD

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

這樣的我...

ENIX.橘子 發表於 2006-8-29 22:56:29

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

.................
啊啊啊~~~怎麼變成橘老師在說教了!!!
我已經不當老師很久啦~~~~><
:|:|:|:|:|:|:|:|:|:|:|:|
頁: [1] 2
查看完整版本: [其它] 佬趙的FREEBSD6.1安裝日記