ܼ

Ubuntu14.10ν硣
Ubuntu14Ϥϴ˥ݡȤλƤ뤿ᡢƸŤСѤˤΤ߻Ѥ뤳ȡ

OS

ݥȥѹ

Ubuntu14Ϥϴ˥ݡȤλƤ뤿ᡢ饤ΥݥȥѥѹƤ롣
OSΥ󥹥ȡʳǻȤƤURLˤϥݥȥ꤬¸ߤʤᡢURLν񤭴ɬפȤʤ롣

  • /etc/apt/sources.list
    ѹhttp://jp.archive.ubuntu.com/ubuntu/
    ѹhttp://old-releases.ubuntu.com/ubuntu/
  • 񤭴ץ(root¤Ǽ¹Ԥ뤳)
    #!/bin/sh
    # ------------------------
    # Ubuntu 14 setup script
    # ------------------------
    # Version : 1.0
    # date    : 2018/1/4
    
    export LANG=C
    export PATH=/bin:/sbin:/usr/bin:/usr/sbin:$PATH
    
    ##
    ## OS setting
    ##
    
    ## Rep Update
    
    cd /etc/apt
    cp sources.list sources.list_orig
    sed -i -e 's|//.*ubuntu.com/|//old-releases.ubuntu.com/|' /etc/apt/sources.list
    apt-get update
    
    #EOF

ѥåɲ

SSH

SSH饤ȤΤƳƤ뤿ᡢ⡼³ԤˤSSHФƳɬפȤʤ롣

  • ѥåƳ
    apt-get install -y openssh-server

  • Ƴ塢ӥϼưŪ˵ư롣
    RedhatϤӤưʥǥե꤬ԤƤ뤿ᡢ󥿡ͥåȤΤޤޱѤƤϾʤ

NFS

Ubuntu 14ϥǥեȤǤNFSΰޥȤ뤳ȤǤʤ
nfs-commonѥå뤳ȤDzä롣

  • ѥåƳ
    apt-get install -y nfs-common
  • ޥ
    mount -t nfs [NFS SERVER]:[PATH] [MOUNT POINT]

SNMP

SNMPϢΥѥåϰƳƤʤᡢɬפʾˤɲä롣

  • ѥåƳ
    apt-get install -y snmp

VNC

VNC ServerǽxorgϢΥѥåƳɬס

  • ѥåƳ
    apt-get install -y xorg gnome-core gnome-system-tools gnome-app-install tightvncserver
    
    ǥǥץ쥤ޥ͡򤬵뤿ᡢgdmפ֡
  • VNC
    ʲޥ¹ԤVNC³Υѥɤꤹ롣
    vncpasswd
  • VNCεư/ xstartupե뤿ᡢVNCӥư/ߤ롣
    vncserver :1
    vncserver -kill :1
  • xstartupեν
    vi cat ~/.vnc/xstartup 

    • xstartup
      #!/bin/sh
      
      #xrdb $HOME/.Xresources
      #xsetroot -solid grey
      #x-terminal-emulator -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
      #x-window-manager &
      # Fix to make GNOME work
      # export XKL_XMODMAP_DISABLE=1
      # /etc/X11/Xsession
      
      xsetroot -solid grey
      exec gnome-session &
      gnome-panel &
      gnome-settings-daemon &
      metacity &
      nautilus -n &
      gnome-terminal &
  • VNCεư
    vncserver :1
    
    New 'X' desktop is [HOSTNAME]:1
    
    Starting applications specified in /root/.vnc/xstartup
    Log file is /root/.vnc/[HOSTNAME]:1.log
  • VNC³
    VNC饤ȤʲΥɥ쥹:ݡȤ˥
    [Server Name]:5901

ȥå   Խ ʬ ʎގ̎ ź ʣ ̾ѹ   ǽ   إ   ǽRSS
Last-modified: 2018-01-04 () 21:13:46 (15d)