Wednesday, May 2, 2012

Initial a FreeBSD machine





每次都會忘記


筆記一下標準步驟


參考這兩份 SA 講義
    Install FreeBSD
    Installing Applications


    handbook 官方
=========================================


boot with a CD (iso)


contry selection => Taiwan


keymap => USA ISO


custom
    partition
        "C" for Create
        "S" for bootable
        "Q" to quit
        boot manager
            standard / bootmgr


    label
        "C" for Create
            / and swap


    distribution
        custom
           base / kernels / man / src / ports 


    media
        CD/DVD


    commit
        yes!




post installation
    root password


    user / group magememant
        /bin/tcsh
        'wheel' group


    time zone => Asia/Taiwan


    networking
        interface, sshd


exit install









=========================================
initial ports system (sysinstall)


    pick up the server in NCTU CS
    /etc/portsnap.conf
        SERVERNAME=portsnap.tw.FreeBSD.org
   
    update ports tree   (maybe time comsumming)
    $ portsnap fetch extract update


    $ cd /usr/ports/ports-mgmt/portmaster
    $ make install clean


    $ portmaster ports-mgmt/portaudit
    


=========================================
basic tools
    vim
    screen
    mutt
    wget / curl
    

No comments:

Post a Comment