Click here to load reader

Free Bsd7.2 Install V1.7

Embed Size (px)

DESCRIPTION

Free Bsd7.2 Install V1.7修訂日期:20090817

Citation preview

FreeBSD7.2_Install

Install FreeBSD7.2 1Install FreeBSD 7.2 Stable 20090817

--Taiwan2Install FreeBSD 7.2 Stable

---Custom3Install FreeBSD 7.2 Stable

Partition4Install FreeBSD 7.2 Stable

Disk Patition Editor BSD5Install FreeBSD 7.2 Stable

---Standard6Install FreeBSD 7.2 Stable

Disklabel EditorSwap---A(Auto Defaults)-------7Install FreeBSD 7.2 Stable /----2Gswap1G/var30G (logmail)/usr ()(Moodle+)

(/home)(/home/~ /usr/home/~(Symbolic link )

Moodle File Server /home

8Install FreeBSD 7.2 Stable

:Kern Developer9Install FreeBSD 7.2 Stable

FreeBSD ports 10Install FreeBSD 7.2 Stable

CD/DVD11Install FreeBSD 7.2 Stable

--Commit12Install FreeBSD 7.2 Stable

13Install FreeBSD 7.2 Stable

14Install FreeBSD 7.2 Stable

. FreeBSD---Yes15Install FreeBSD 7.2 Stable

Root 16Install FreeBSD 7.2 Stable

17Install FreeBSD 7.2 Stable

Login ID :sysadm( guoshu)Group: 0()Member groups:wheel(su)Login shell:/bin/tcsh(shelltcsh)OKsu18Install FreeBSD 7.2 Stable

UTCNO19Install FreeBSD 7.2 Stable

Asia20Install FreeBSD 7.2 Stable

Taiwan21Install FreeBSD 7.2 Stable

CST--Yes22Install FreeBSD 7.2 Stable

Network Services MenuInterfaces23Install FreeBSD 7.2 Stable

sshd()24Install FreeBSD 7.2 Stable

()( eth0)25Install FreeBSD 7.2 Stable

IPv6 NO26Install FreeBSD 7.2 Stable

IPv6 NO27Install FreeBSD 7.2 Stable

DHCP NOPS.ServerIP(static ip)28Install FreeBSD 7.2 Stable

Host:moodle.eces.hcc.edu.tw(FQDNDNS)Domain: eces.hcc.edu.tw ()IPv4 Gateway(IP)Name server (DNSIP)IPv4 Address (IP)Netmask ()29Install FreeBSD 7.2 Stable

Yes30Install FreeBSD 7.2 Stable

---Exit Install31Install FreeBSD 7.2 Stable

32Install FreeBSD 7.2 Stable PS 33Install FreeBSD 7.2 Stable

34Install FreeBSD 7.2 Stable 35Install FreeBSD 7.2 Stable 36Install FreeBSD 7.2 Stable Install FreeBSD 7.2 Stable 37fetch http://163.19.30.2/guoshu_bsd_src/make.conf //ports treefetch http://163.19.30.2/guoshu_bsd_src/distfiles.tar.gz //distfilesfetch http://163.19.30.2/guoshu_bsd_src/var_db_ports.tar.gz /*ports tree /var/db/ports//optons ports tree */fetch http://163.19.30.2/guoshu_bsd_src/var_db_portsnap.tar.gz //portsnapports treemake.conf+distfiles.tar.gzInstall FreeBSD 7.2 Stable 38#mv make.conf /etc/.#mv var_db_ports.gz /var/db/.#mv var_db_portsnap.tar.gz /var/db/.#mv distfiles.tar.gz /usr/ports/.#cd /urs/ports/#ls *.tar.gz#tar zxvf distfiles.tar.gz#rm f distfiles.tar.gz

var_db_portsnap.tar.gzInstall FreeBSD 7.2 Stable 39#cd /var/db/#tar zxvf var_db_portsnap.tar.gz---.#tar zxvf var_db_ports.tar.gz#rm f var_db*

var_db_ports.tar.gzports treeCVSup()(CVSup)40Install FreeBSD 7.2 Stable

CVSup 41Install FreeBSD 7.2 Stable

42Install FreeBSD 7.2 Stable CVSup portsnapports tree()43Install FreeBSD 7.2 Stable portsnapports tree44Install FreeBSD 7.2 Stable portsnap ( var_db_ports_tar.gz)45Install FreeBSD 7.2 Stable portsnap var_db_ports_tar.gz(md5+?())46Install FreeBSD 7.2 Stable portsnap ports tree make install (md5+?())47Install FreeBSD 7.2 Stable portsnap#cd /usr/ports#portsnap fetch()()var_db_ports.tar.gz /var/db ()48Install FreeBSD 7.2 Stable portsnap ports tree#portsnap extract#portsnap update/var/db /var_db_ports.tar.gz ports tree Ps.1ports tree49Install FreeBSD 7.2 Stable Install FreeBSD 7.2 Stable 50CVSupports tree()#cd /urs/ports/#make update

()51Install FreeBSD 7.2 Stable ports tree~

#portsnap fetch extract52Install FreeBSD 7.2 Stable

ports treeportsnap extract53Install FreeBSD 7.2 Stable

ports tree54Install FreeBSD 7.2 Stable ee ()^Y(Ctrl+Y):.^X(Ctrl+X):Esc + Enter: 55Install FreeBSD 7.2 Stable -fetch //uname a FreeBSD cd //Change Directorypwd //Print Working Directorydf -h //MB,GBsync;sync; shutdon -h now //ps -ax |grep mysqld //mysqld56Install FreeBSD 7.2 Stable -tar zxvf //mv moodle195 moodle (moodle195moodle)mv folder/ ../../ (folder)cp -Rf moodle/ ../ /*moodleMoodle*/chmod -R www * /*() www*/ 57Install FreeBSD 7.2 Stable -make all install /*ports tree--all*/make clean /*port()work(workBinary )*/make deinstall install /*workdistfiles#pkg_info 58Install FreeBSD 7.2 Stable -/*(distfiles)*/A.make distclean B. cd /usr/ports/distfilesrm rf *

59Install FreeBSD 7.2 Stable openssl60Install FreeBSD 7.2 Stable openssl#cd /usr/ports/security/opensll#make all install#pkg_info61Install FreeBSD 7.2 Stable mysql60-server+Apache 2262Install FreeBSD 7.2 Stable Makefiles#ee MakefilesCtrl+Y(apache)search for:apacheCtrl+XUSE_APACHE = 22Esc + Enter: ..

63Install FreeBSD 7.2 Stable USE_APACHE 13 22Apache 2264Install FreeBSD 7.2 Stable mysql60-server#cd /usr/ports/databases/mysql60-server#make all install#pkg_info65Install FreeBSD 7.2 Stable mysqldhttpd Runscript/usr/loca/etc/rc.d/66Install FreeBSD 7.2 Stable Runscript/etc/rc.local /etc/rc.localmysqldhttpd#ee /etc/rc.local/usr/local/bin/mysqld_safe &/usr/local/sbin/apachetl start67Install FreeBSD 7.2 Stable /etc/rc.localmysqldhttpd#ee /etc/rc.local/usr/local/bin/mysqld_safe &/usr/local/sbin/apachetl start68Install FreeBSD 7.2 Stable ()69Install FreeBSD 7.2 Stable

70Install FreeBSD 7.2 Stable

71Install FreeBSD 7.2 Stable

72Install FreeBSD 7.2 Stable php5-extensions73Install FreeBSD 7.2 Stable

74Install FreeBSD 7.2 Stable

/var/db/ports/lang/php5-extentions/options75Install FreeBSD 7.2 Stable ssh client()Piety (ssh)76Install FreeBSD 7.2 Stable 77Install FreeBSD 7.2 Stable