free bsd7.2 install v1.6

Click here to load reader

Upload: jainan-o

Post on 12-May-2015

1.732 views

Category:

Education


3 download

DESCRIPTION

Free Bsd7.2 Install V1.6

TRANSCRIPT

  • 1.FreeBSD7.2 Install


    1
    Install FreeBSD 7.2 Stable
    20090816

2. --Taiwan
2
Install FreeBSD 7.2 Stable
3. ---Custom
3
Install FreeBSD 7.2 Stable
4. Partition
4
Install FreeBSD 7.2 Stable
5. Disk Patition Editor BSD
5
Install FreeBSD 7.2 Stable
6. ---Standard
6
Install FreeBSD 7.2 Stable
7. Disklabel EditorSwap
---A(Auto Defaults)
-------
7
Install FreeBSD 7.2 Stable
8.
/----2G
swap1G
/var30G (logmail)
/usr ()(Moodle+)
(/home)
(/home/~ /usr/home/~
(Symbolic link )
Moodle
File Server /home
8
Install FreeBSD 7.2 Stable
9. :Kern Developer
9
Install FreeBSD 7.2 Stable
10. FreeBSDports
10
Install FreeBSD 7.2 Stable
11. CD/DVD
11
Install FreeBSD 7.2 Stable
12. --Commit
12
Install FreeBSD 7.2 Stable
13.
13
Install FreeBSD 7.2 Stable
14.
14
Install FreeBSD 7.2 Stable
15. . FreeBSD
---Yes
15
Install FreeBSD 7.2 Stable
16. Root
16
Install FreeBSD 7.2 Stable
17.
17
Install FreeBSD 7.2 Stable
18. su
Login ID :sysadm( guoshu)
Group: 0()
Member groups:wheel(su)
Login shell:/bin/tcsh(shelltcsh)
OK
18
Install FreeBSD 7.2 Stable
19. UTCNO
19
Install FreeBSD 7.2 Stable
20. Asia
20
Install FreeBSD 7.2 Stable
21. Taiwan
21
Install FreeBSD 7.2 Stable
22. CST--Yes
22
Install FreeBSD 7.2 Stable
23. Network Services Menu
Interfaces
23
Install FreeBSD 7.2 Stable
24. sshd
()
24
Install FreeBSD 7.2 Stable
25.
()
(eth0)
25
Install FreeBSD 7.2 Stable
26. IPv6 NO
26
Install FreeBSD 7.2 Stable
27. IPv6 NO
27
Install FreeBSD 7.2 Stable
28. DHCP NO
PS.ServerIP(static ip)
28
Install FreeBSD 7.2 Stable
29.
Host:moodle.eces.hcc.edu.tw(FQDNDNS)
Domain: eces.hcc.edu.tw ()
IPv4 Gateway(IP)
Name server (DNSIP)
IPv4 Address (IP)
Netmask ()
29
Install FreeBSD 7.2 Stable
30.
Yes
30
Install FreeBSD 7.2 Stable
31. ---Exit Install
31
Install FreeBSD 7.2 Stable
32.
32
Install FreeBSD 7.2 Stable
33.


PS
33
Install FreeBSD 7.2 Stable
34.
34
Install FreeBSD 7.2 Stable
35.
35
Install FreeBSD 7.2 Stable
36.
36
Install FreeBSD 7.2 Stable
37.
Install FreeBSD 7.2 Stable
37
fetch http://163.19.30.2/guoshu_bsd_src/make.conf
//ports tree
fetch http://163.19.30.2/guoshu_bsd_src/distfiles.tar.gz
//distfiles
fetchhttp://163.19.30.2/guoshu_bsd_src/var_db_ports.tar.gz
/*ports tree/var/db/ports//optons
ports tree*/
fetchhttp://163.19.30.2/guoshu_bsd_src/var_db_portsnap.tar.gz
//portsnapports tree
38. make.conf+distfiles.tar.gz
Install FreeBSD 7.2 Stable
38
#mvmake.conf /etc/.
#mv var_db_ports.gz /var/db/.
#mvvar_db_portsnap.tar.gz /var/db/.
#mvdistfiles.tar.gz /usr/ports/.
#cd /urs/ports/
#ls *.tar.gz
#tar zxvfdistfiles.tar.gz
#rm f distfiles.tar.gz

39. var_db_portsnap.tar.gz+var_db_ports.tar.gz
Install FreeBSD 7.2 Stable
39
#cd /var/db/
#tar zxvfvar_db_portsnap.tar.gz---.
#tar zxvfvar_db_ports.tar.gz
#rm f var_db*

40. ports tree
CVSup
()
(CVSup)
40
Install FreeBSD 7.2 Stable
41. CVSup
41
Install FreeBSD 7.2 Stable
42. 42
Install FreeBSD 7.2 Stable
CVSup
43. ()
portsnapports tree
43
Install FreeBSD 7.2 Stable
44.
portsnapports tree
44
Install FreeBSD 7.2 Stable
45. portsnap
(var_db_ports_tar.gz)

45
Install FreeBSD 7.2 Stable
46. portsnap
var_db_ports_tar.gz

(md5+?())
46
Install FreeBSD 7.2 Stable
47. portsnapports tree
make install

(md5+?())
47
Install FreeBSD 7.2 Stable
48. portsnap
()
()
#cd /usr/ports
#portsnap fetch
var_db_ports.tar.gz
/var/db ()

48
Install FreeBSD 7.2 Stable
49. portsnapports tree
#portsnap extract
/var/db /var_db_ports.tar.gzports tree
Ps.1
#portsnap update
ports tree
49
Install FreeBSD 7.2 Stable
50. Install FreeBSD 7.2 Stable
50
CVSupports tree(())
#cd /urs/ports/
#make update
51. ()
51
Install FreeBSD 7.2 Stable
52. #portsnap fetch extract
ports tree
52
Install FreeBSD 7.2 Stable
53. portsnap extract
53
Install FreeBSD 7.2 Stable
54. ports tree
54
Install FreeBSD 7.2 Stable
55. ee()
^Y(Ctrl+Y):.
^X(Ctrl+X):
Esc + Enter:
55
Install FreeBSD 7.2 Stable
56. -
fetch()
uname aFreeBSD
cd(Change Directory)
pwd(Print Working Directory)
df-h (MB,GB)
sync;sync; shutdon -h now //
ps -ax |grepmysqld (mysqld)
56
Install FreeBSD 7.2 Stable
57. -
tar zxvf ()
mv moodle195 moodlemoodle195moodle
mv folder/ ../../ folder
cp -Rfmoodle/ ../ (moodleMoodle)
chmod-R www * () www
57
Install FreeBSD 7.2 Stable
58. -
make all install /*ports tree--all*/
make clean /*port()work(workBinary )*/
make deinstall install/*workdistfiles
#pkg_info
58
Install FreeBSD 7.2 Stable
59. -
/*(distfiles)*/
A.
make distclean
B.
cd /usr/ports/distfiles
rm rf *
59
Install FreeBSD 7.2 Stable
60. openssl
60
Install FreeBSD 7.2 Stable
61. openssl
#cd /usr/ports/security/opensll
#make all install
#pkg_info
61
Install FreeBSD 7.2 Stable
62. mysql60-server+Apache 22
62
Install FreeBSD 7.2 Stable
63. Makefiles
#eeMakefiles
Ctrl+Y(apache)
searchfor:apache
Ctrl+X
USE_APACHE = 22
Esc + Enter: ..
63
Install FreeBSD 7.2 Stable
USE_APACHE 13 22
64.
Apache 22
64
Install FreeBSD 7.2 Stable
65. mysql60-server
#cd /usr/ports/databases/mysql60-server
#make all install
#pkg_info
65
Install FreeBSD 7.2 Stable
mysqldhttpd
66. Runscript
/usr/loca/etc/rc.d/
66
Install FreeBSD 7.2 Stable
Runscript
/etc/rc.local
67. /etc/rc.localmysqldhttpd
#ee /etc/rc.local

/usr/local/bin/mysqld_safe&
/usr/local/sbin/apachetl start
67
Install FreeBSD 7.2 Stable
68. /etc/rc.localmysqldhttpd
#ee /etc/rc.local

/usr/local/bin/mysqld_safe&
/usr/local/sbin/apachetl start
68
Install FreeBSD 7.2 Stable
69. ()
69
Install FreeBSD 7.2 Stable
70. 70
Install FreeBSD 7.2 Stable
71. 71
Install FreeBSD 7.2 Stable
72. 72
Install FreeBSD 7.2 Stable
73. php5-extensions
73
Install FreeBSD 7.2 Stable
74. 74
Install FreeBSD 7.2 Stable
75.

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