Utilizador:Daveh/Files1 Setup

A UESPWiki – Sua fonte de The Elder Scrolls desde 1995

Notes while setting up files1.uesp.net:

  • Check basic apps
  • atd -- present and started
  • ssh-keygen -- present
  • ntpd -- present and started
  • libmcrypt -- installed
  • libtool-ltdl -- installed
  • /etc/rc.local modified
  • atd
  • ntpd (removed old ntpupdate call)
  • vsftpd
  • NFS related services
  • Zabbix agent
  • ran uesp-create-users (no errors)
  • Setup uesp-common-path, modified /etc/csh.login and /etc/profile
  • Modified /etc/bashrc for the custom prompt
  • Added UESP host alias to /etc/hosts
  • Created a local DSA key pair
  • Copied public keys from existing servers
  • Copied files1 public key to existing servers
  • Updated password for dave
  • Created /etc/exports
    /shared/uesp/wikiimages   67.205.76.81(rw) 174.142.39.4(rw) 174.142.39.5(rw)
    /shared/uesp/filecache    67.205.76.81(rw) 174.142.39.4(rw) 174.142.39.5(rw)
    /shared/uesp/phpsessions  67.205.76.81(rw) 174.142.39.4(rw) 174.142.39.5(rw)
  • Similarly created /etc/hosts.allow
    portmap: 67.205.76.81, 174.142.39.4, 174.142.39.5
    lockd: 67.205.76.81, 174.142.39.4, 174.142.39.5
    mountd: 67.205.76.81, 174.142.39.4, 174.142.39.5
    rquotad: 67.205.76.81, 174.142.39.4, 174.142.39.5
    statd: 67.205.76.81, 174.142.39.4, 174.142.39.5
  • Created the default /etc/hosts.deny
  • Installed vsftpd
  • Installed the Zabbix agent and added files1 to the server configuration
  • Logged out and back in to check changes to profile
  • Started rsync of wiki images
  • Create the mount points on content1/2/3 and add to /etc/rc.local
  • /mnt/uesp/wikiimages
  • /mnt/uesp/filecache
  • /mnt/uesp/phpsessions
  • Mount the shared folders on files1 on content1/2/3
  • Test to ensure read/write on mounted folders as user apache
  • Installed lighttpd
  • Downloaded lighttpd
  • Installed pcre-devel
  • Installed zlib-devel
  • Installed bzip2-devel
  • ./configure success
  • make
  • make install
  • Installed into /usr/local/sbin/lighttpd
  • Created path /etc/lighttpd
  • Created path /var/log/lighttpd (chown apache:apache)
  • Created configuration file /etc/lighttpd/lighttpd.conf
  • Added lighttpd to rc.local