研究室内のページ

  1. boot with DVD of Fedora 12 (Fedora-12-i686-Live) (2010.4.23)
  2. double click `Install to Hard Drive' on Desktop to install Fedora 12(2010.4.26)
  3. hostname was decided as 'tampopo'
  4. root password is set
  5. IP adress is set manually as 192.168.11.50 (right-click on the network setting icon and choose 'edit conections') (2010.4.27)
  6. reboot
  7. create non-administrative user('kobayasi') (2010.4.27)
  8. yum update(2010.4.27)
    % su
    # export proxy="http://proxy.nagaokaut.ac.jp:8080/"
    # yum update
    (the similar line was added to /etc/yum.conf however, it didn't work. maybe after rebooting it would work)
  9. anti-virus software was installed(2010.4.28)
    # yum install clamav
    # yum install clamav-update
    # vi /etc/freshclam.conf
    (modified as
      #Example
      HTTPProxyServer proxy.nagaokaut.ac.jp
    )
    # freshclam
    # clamscan    (現在のディレクトリを検査)
    # clamscan -r /   (/ディレクトリ内を検査)
  10. install nfs-utils to mount NFS filesystem
    # yum install nfs-utils
  11. transfer data from suiba to tampopo(2010.4.30)
    # mount suiba:/home /mnt/home/suiba
    # cd /home
    # cp -a /mnt/home/suiba/ali .
    # cp -a /mnt/home/suiba/nagana .
    etc...http://www.yahoo.co.jp/index.html
  12. setup telnet-server
    # yum install telnet-server
    # yum install system-config-services
    # system-config-services
    (telnet was turned to be enabled, xinetd was terned to be enabled and started) 
  13. setup samba server for windows client
    # yum install samba
    # system-config-services
    (smb was turned to be enable)
    edit /etc/samba/smb.conf as follows:
           workgroup = YOMOGI
           hosts allow = 192.168.11. 127.
           encrypt passwords = yes
           smb passwd file = /etc/samba/smbpasswd
          [public]
           comment = Public Stuff
           path = /home/samba
           public = yes
           writable = yes
           printable = no
           write list = +kobayasi
    # cat /etc/passwd | mksmbpasswd.sh > /etc/samba/smbpasswd
    # smbpasswd -a kobayasi
    # /etc/init.d/smb start
    # /etc/init.d/nmb start
    # yum install samba-swat
    SELinux should be turned off in order for allow windows clients to manipulate filesystems of Samba server:
    # vi /etc/selinux/config
    (SELINUX=disabled)
    # setenforce 0
  14. NIS(2010.5.21)
    # yum install ypserv
    # domainname yomogi
    # vi /etc/sysconfig/network
      NISDOMAIN=yomogi
    # vi /etc/ypserv
      # Not everybody should see the shadow passwords, not secure, since
      # under MSDOG everbody is root and can access ports < 1024 !!!
      192.168.11.                        : *       : shadow.byname    : port
      192.168.11.                        : *       : passwd.adjunct.byname : port
  15. VPN(2010.5.21) see here
    # cd /usr/share/openvpn/easy-rsa/2.0
    # vi vars
      export KEY_COUNTRY="JP"
      etc...
    # . ./vars
    # ./clean-all
    # ./build-ca
    # ./build-key-server server
    # ./build-key momiji
    # ./build-dh
    # cd keys/
    # cp ca.crt ca.key dh1024.pem server.crt server.key /etc/openvpn/
    # cd /usr/share/doc/openvpn-2.1.1/sample-config-files
    # vi server.conf

TODO:


トップ   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS