User Tools

Site Tools


projects:p2p-next:openvz-config

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
projects:p2p-next:openvz-config [2011/04/11 11:30]
razvan [Devel]
projects:p2p-next:openvz-config [2020/07/20 09:16] (current)
Line 1: Line 1:
-= OpenVZ configurations for NCIT Cluster =+====== OpenVZ configurations for NCIT Cluster ======
  
-* Debian-based (Debian GNU/Linux 6.0 -- Squeeze) +  *  Debian-based (Debian GNU/Linux 6.0 -- Squeeze) 
-== Base system (hardware node) ==+===== Base system (hardware node) =====
  
-* add authorized_keys (root@p2p, razvan,marius,adriana,george) and id_rsa{.pub,} +  *  add authorized_keys (root@p2p, razvan,marius,adriana,george) and id_rsa{.pub,} 
-* apt-get install linux-image-2.6-openvz-amd64 vzctl vzdump vzquota +  *  apt-get install linux-image-2.6-openvz-amd64 vzctl vzdump vzquota 
-* apt-get install lxc-tools +  *  apt-get install lxc-tools 
-* kernel.panic = 20, net.ipv4.ip_forward = 1 (/etc/sysctl.conf; sysctl -p) +  *  kernel.panic = 20, net.ipv4.ip_forward = 1 (/etc/sysctl.conf; sysctl -p) 
-* apt-get install watchdog (/etc/watchdog, 'watchdog-device = /dev/watchdog', /etc/default/watchdog) +  *  apt-get install watchdog (/etc/watchdog, 'watchdog-device = /dev/watchdog', /etc/default/watchdog) 
-* apt-get install sysv-rc-conf +  *  apt-get install sysv-rc-conf 
-* permanent iptables support +  *  permanent iptables support 
-** /etc/network/iptables.rules +    *  /etc/network/iptables.rules 
-** /etc/network/ifup.d/iptables +    *  /etc/network/ifup.d/iptables 
-* apt-get install bridge-utils +  *  apt-get install bridge-utils 
-** bridge configuration in /etc/network/interfaces +    *  bridge configuration in /etc/network/interfaces 
-** auto br0 +    *  auto br0 
-** iface br0 inet dhcp +    *  iface br0 inet dhcp 
-*** bridge_ports eth0 +      *  bridge_ports eth0 
-*** bridge_stp off +      *  bridge_stp off 
-** add /etc/init.d/bridgevz +    *  add /etc/init.d/bridgevz 
-* apt-get install nfs-kernel-server +  *  apt-get install nfs-kernel-server 
-** script (cron.hourly) for automatic remount of NFS share (invokes /etc/init.d/nfs-mount) +    *  script (cron.hourly) for automatic remount of NFS share (invokes /etc/init.d/nfs-mount) 
-* install and configure NTP +  *  install and configure NTP 
-** run ntpdate-debian in /etc/cron.hourly/ +    *  run ntpdate-debian in /etc/cron.hourly/ 
-* (as root and p2p) ln -sf export/cs-p2p-next/ . +  *  (as root and p2p) ln -sf export/cs-p2p-next/ . 
-* (as root and p2p) ln -sf export/p2p-clients/ . +  *  (as root and p2p) ln -sf export/p2p-clients/ . 
-* do not fsck on non-root partitions (the sixth field in /etc/fstab is 0) +  *  do not fsck on non-root partitions (the sixth field in /etc/fstab is 0) 
-* [[#Heavy | Heavy configuration]]+  *  [[#Heavy | Heavy configuration]]
  
-== Container (OpenVZ) ==+===== Container (OpenVZ) =====
  
-=== Bare ===+==== Bare ====
  
-* add contrib non-free to /etc/apt/sources.list +  *  add contrib non-free to /etc/apt/sources.list 
-** ftp.ro.debian.org -> ftp.lug.ro +    *  ftp.ro.debian.org -> ftp.lug.ro 
-* apt-get update && apt-get -y upgrade && apt-get -y dist-upgrade && apt-get autoremove && apt-get autoclean && apt-get clean +  *  apt-get update && apt-get -y upgrade && apt-get -y dist-upgrade && apt-get autoremove && apt-get autoclean && apt-get clean 
-* add debian backports (http://backports.org/dokuwiki/doku.php?id=instructions) +  *  add debian backports (http://backports.org/dokuwiki/doku.php?id=instructions) 
-** use system-update script +    *  use system-update script 
-* add /root/bin to PATH +  *  add /root/bin to PATH 
-* configure .bashrc (root) +  *  configure .bashrc (root) 
-** uncomment useful elements in /root/.bashrc+    *  uncomment useful elements in /root/.bashrc
  
-=== Basic ===+==== Basic ====
  
-* apt-get install vim-nox htop openssh-server avahi-daemon gawk +  *  apt-get install vim-nox htop openssh-server avahi-daemon gawk 
-* apt-get install zip unzip telnet host lynx sudo rsync +  *  apt-get install zip unzip telnet host lynx sudo rsync 
-* apt-get install python +  *  apt-get install python 
-* apt-get install less +  *  apt-get install less 
-* apt-get install mc tree +  *  apt-get install mc tree 
-* public key authentication only for SSH server (PasswordAuthentication no in /etc/ssh/sshd_config); remove files in ~/.ssh/ +  *  public key authentication only for SSH server (PasswordAuthentication no in /etc/ssh/sshd_config); remove files in ~/.ssh/ 
-** StrictHostKeyChecking=no in /etc/ssh/ssh_config +    *  StrictHostKeyChecking=no in /etc/ssh/ssh_config 
-** disable SSH reverse DNS search; UseDNS no in /etc/ssh/sshd_config +    *  disable SSH reverse DNS search; UseDNS no in /etc/ssh/sshd_config 
-* apt-get install apt-file sudo +  *  apt-get install apt-file sudo 
-** apt-file update +    *  apt-file update 
-* cp /usr/share/vim/vim71/vimrc_example.vim /etc/vim/.vimrc +  *  cp /usr/share/vim/vim71/vimrc_example.vim /etc/vim/.vimrc 
-** mkdir -p ~/.vim/bkup +    *  mkdir -p ~/.vim/bkup 
-** add backupdir, enconding, man page, listchars to ~/.vimrc +    *  add backupdir, enconding, man page, listchars to ~/.vimrc 
-** /usr/share/vim/vim71/syntax/ (python, bash, tex) +    *  /usr/share/vim/vim71/syntax/ (python, bash, tex) 
-** update-alternatives --config editor +    *  update-alternatives --config editor 
-** add .vim/ și .vimrc /etc/skel +    *  add .vim/ și .vimrc /etc/skel 
-** vim ftplugin files (python, shell, tex, java) (~/.vim/ftplugin/)+    *  vim ftplugin files (python, shell, tex, java) (~/.vim/ftplugin/)
  
-=== Devel ===+==== Devel ====
  
-* apt-get install build-essential gdb cscope ctags +  *  apt-get install build-essential gdb cscope ctags 
-* apt-get install manpages-posix manpages-posix-dev make-doc glibc-doc-reference +  *  apt-get install manpages-posix manpages-posix-dev make-doc glibc-doc-reference 
-* apt-get install ltrace lsof +  *  apt-get install ltrace lsof 
-* apt-get install subversion strace git build-essential +  *  apt-get install subversion strace git build-essential 
-* apt-get install pkg-config +  *  apt-get install pkg-config 
-* run git config for p2p and root+  *  run git config for p2p and root 
 +  *  hrktorrent/libtorrent-rasterbar 
 +    *  apt-get install libboost-thread-dev libssl-dev 
 +==== Admin ====
  
-=== Admin ===+  *  apt-get install nmap tcpdump finger pciutils usbutils lshw 
 +  *  apt-get install netcat curl nctftp 
 +  *  apt-get install iperf 
 +  *  apt-get install sysstat 
 +  *  apt-get install nfs-common 
 +    *  nfs-common in /etc/init.d/ (+ "update-rc.d nfs-common defaults 90 10") (run "vzctl set $veid --features nfs:on --save" on HN)
  
-* apt-get install nmap tcpdump finger pciutils usbutils lshw +==== Heavy ====
-* apt-get install netcat curl nctftp +
-* apt-get install iperf +
-* apt-get install sysstat +
-* apt-get install nfs-common +
-** nfs-common in /etc/init.d/ (+ "update-rc.d nfs-common defaults 90 10") (run "vzctl set $veid --features nfs:on --save" on HN)+
  
-=== Heavy === +  *  Admin + Devel
- +
-* Admin + Devel+
projects/p2p-next/openvz-config.1302510627.txt.gz · Last modified: 2011/04/11 11:30 by razvan