This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
projects:p2p-next:openvz-config [2011/03/26 21:57] razvan created |
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) | + | |
+ | ===== Base system (hardware node) ===== | ||
- | == Base system | + | * add authorized_keys (root@p2p, razvan, |
+ | * apt-get install linux-image-2.6-openvz-amd64 vzctl vzdump vzquota | ||
+ | * apt-get install lxc-tools | ||
+ | * kernel.panic | ||
+ | * apt-get install watchdog (/ | ||
+ | * apt-get install sysv-rc-conf | ||
+ | * permanent iptables support | ||
+ | * / | ||
+ | * / | ||
+ | * apt-get install bridge-utils | ||
+ | * bridge configuration in / | ||
+ | * auto br0 | ||
+ | * iface br0 inet dhcp | ||
+ | * bridge_ports eth0 | ||
+ | * bridge_stp off | ||
+ | * add / | ||
+ | * apt-get install nfs-kernel-server | ||
+ | * script (cron.hourly) for automatic remount of NFS share (invokes / | ||
+ | * install and configure NTP | ||
+ | * run ntpdate-debian in / | ||
+ | * (as root and p2p) ln -sf export/ | ||
+ | * (as root and p2p) ln -sf export/ | ||
+ | * do not fsck on non-root partitions (the sixth field in /etc/fstab is 0) | ||
+ | * [[#Heavy | Heavy configuration]] | ||
- | * add authorized_keys (root@p2p, razvan, | + | ===== Container |
- | * apt-get install linux-image-2.6-openvz-amd64 vzctl vzdump vzquota | + | |
- | * apt-get install lxc-tools | + | |
- | * kernel.panic | + | |
- | * apt-get install watchdog (/ | + | |
- | * apt-get install sysv-rc-conf | + | |
- | * permanent iptables support | + | |
- | ** / | + | |
- | ** / | + | |
- | * apt-get install bridge-utils | + | |
- | ** bridge configuration in / | + | |
- | ** auto br0 | + | |
- | ** iface br0 inet dhcp | + | |
- | *** bridge_ports eth0 | + | |
- | *** bridge_stp off | + | |
- | ** add / | + | |
- | * apt-get install nfs-kernel-server | + | |
- | ** script (cron.hourly) for automatic remount of NFS share (invokes / | + | |
- | * install and configure NTP | + | |
- | ** run ntpdate-debian in / | + | |
- | * (as root and p2p) ln -sf export/ | + | |
- | * (as root and p2p) ln -sf export/ | + | |
- | * [[#Heavy | Heavy configuration]] | + | |
- | == Container (OpenVZ) | + | ==== Bare ==== |
- | === Bare === | + | * add contrib non-free to / |
+ | * 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 | ||
+ | * add debian backports (http:// | ||
+ | * use system-update script | ||
+ | * add /root/bin to PATH | ||
+ | * configure .bashrc (root) | ||
+ | * uncomment useful elements in / | ||
- | * add contrib non-free to / | + | ==== Basic ==== |
- | ** 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 | + | |
- | * add debian backports (http:// | + | |
- | ** use system-update script | + | |
- | * add /root/bin to PATH | + | |
- | * configure .bashrc (root) | + | |
- | ** uncomment useful elements in / | + | |
- | === Basic === | + | * apt-get install vim-nox htop openssh-server avahi-daemon gawk |
+ | * apt-get install zip unzip telnet host lynx sudo rsync | ||
+ | * apt-get install python | ||
+ | * apt-get install less | ||
+ | * apt-get install mc tree | ||
+ | * public key authentication only for SSH server (PasswordAuthentication no in / | ||
+ | * StrictHostKeyChecking=no in / | ||
+ | * disable SSH reverse DNS search; UseDNS no in / | ||
+ | * apt-get install apt-file sudo | ||
+ | * apt-file update | ||
+ | * cp / | ||
+ | * mkdir -p ~/ | ||
+ | * add backupdir, enconding, man page, listchars to ~/.vimrc | ||
+ | * / | ||
+ | * update-alternatives --config editor | ||
+ | * add .vim/ și .vimrc /etc/skel | ||
+ | * vim ftplugin files (python, shell, tex, java) (~/ | ||
- | * apt-get install vim-nox htop openssh-server avahi-daemon gawk | + | ==== Devel ==== |
- | * apt-get install zip unzip telnet host lynx sudo rsync | + | |
- | * apt-get install python | + | |
- | * apt-get install less | + | |
- | * apt-get install mc tree | + | |
- | * public key authentication only for SSH server (PasswordAuthentication no in / | + | |
- | ** StrictHostKeyChecking=no in / | + | |
- | ** disable SSH reverse DNS search; UseDNS no in / | + | |
- | * apt-get install apt-file sudo | + | |
- | ** apt-file update | + | |
- | * cp / | + | |
- | ** mkdir -p ~/ | + | |
- | ** add backupdir, enconding, man page, listchars to ~/.vimrc | + | |
- | ** / | + | |
- | ** update-alternatives --config editor | + | |
- | ** add .vim/ și .vimrc /etc/skel | + | |
- | ** vim ftplugin files (python, shell, tex, java) (~/ | + | |
- | === Devel === | + | * apt-get install build-essential gdb cscope ctags |
+ | * apt-get install manpages-posix manpages-posix-dev make-doc glibc-doc-reference | ||
+ | * apt-get install ltrace lsof | ||
+ | * apt-get install subversion strace git build-essential | ||
+ | * apt-get install pkg-config | ||
+ | * run git config for p2p and root | ||
+ | * hrktorrent/ | ||
+ | * apt-get install libboost-thread-dev libssl-dev | ||
+ | ==== Admin ==== | ||
- | * apt-get install | + | |
- | * apt-get install | + | * apt-get install |
- | * apt-get install | + | * apt-get install iperf |
- | * apt-get install | + | * apt-get install |
- | * run git config for p2p and root | + | * apt-get install |
+ | * | ||
- | === Admin === | + | ==== Heavy ==== |
- | * 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 / | + | |
- | + | ||
- | === Heavy === | + | |
- | + | ||
- | * Admin + Devel | + |