วันจันทร์ที่ 18 มิถุนายน พ.ศ. 2555

FreeBSD: Install บน VirtualBox แบบ Text mode

[1] บูทเครื่องจากแผ่นติดตั้งใน VirtualBox
     เลือกติดตั้งแบบ Text Mode
       1. Thailand
       2. USA (ISO)
       3. Standard installation
       4. standard install a standard MBR (No Boot Manager)
       5.  Create patition
               5.1 A = entire disk
                     c = create (all size = 165)
                     q = quit

               5.2 Standard Install a standard MBR (no boot manager)

                          A = Create patition
                          c = create (all size = 165)
                          q = quit

                 สร้าง Partition (โดยประมาณ)
                 /           768M
                 swap     512M
                  /tmp    512M
                  /var     768M
                  /usr     8G

       6. Choose distribution
           Custom
            [x]  base
            [x]  kernels
            [x]  Document --> EN
            [x]  man
            [x]  src  --> all  --> ยกเว้น game
            [x] ports

        7. Choose Installation Media
            CD/DVD

        ตอบคำถามระหว่างติดตั้ง

Last Chance:
Yes    :Ethernet Adapter
No    :IPV6
No    :DHCP
Yes     :Brink interface up
No     :machine to be a network gateway
No     :would like to configure inetd and network services
YES         :enable SSH (secure shell) login
No        :anonymous FTP access to this machine
No    :Fuction as an NFS Server
No    :Fuction as an NFS client
Yes    :Customize console setting
Yes         :Time zone
No         : CMOS
         - Asia
         - 44 Thailand
Yes     :Set Clock to UTC ?

No    : enable Linux binary compatibility
Yes     : browse the applications
YES        : add a user account.
                    member groups = [wheel] ; to allow the user to become root/administrator  
No        : Visit the general configuration menu for a chance to set any last options ?
   
[exit install]

ตรวจสอบหลังติดตั้ง

ตรวจสอบเนื้อที่ ฮาร์ดดิส
     # df -h  
Filesystem     Size        Used   Avail Capacity  Mounted on
/dev/ad0s1a    859M    172M    618M    22%     /
devfs              1.0K     1.0K      0B       100%    /dev
/dev/ad0s1d    496M    12K      456M     0%     /tmp
/dev/ad0s1f     19G      1.4G     16G     8%      /usr
/dev/ad0s1e    989M    534K    910M     0%     /var

บางครั้งติดตั้งใน virtual box แล้ว CPU ของเครื่อง Peak ให้เพิ่มคำสั่ง แล้ว reboot เครื่องใหม่
#ee /boot/loader.conf
kern.hz=100

ไม่มีความคิดเห็น:

แสดงความคิดเห็น