User Tools

Site Tools


Testing ground

Right-click to download (remember to rename .phps to .php): downloads/conf.phps downloads/style.css downloads/geshi.phps

downloads/topheader.html downloads/meta.html

/* vm-mgr: permissies nfs mounts issues vm-mgr: kerberos nfs

vm-net firewall issues?? (port 80), 25, 143…

Migratie: → mailserver_configuration_with_postfix_courier …

-probleem fixen met dokuwiki 'hide' script

include files: fstab, config, vm-template/rootfs/etc/network/interfaces etc

vm-web fixen php en cgi vm-stor printer via samba vm-net: LDAP-dhcp ldap pxe boot vm-net: tc traffic shaping vm-net: traffic counting per ip vm-net: dhcp ipv6 vm-net/vm-web: mrtg vm-net: DHCP: deny unknown-clients; allow unknown-clients; vm-stor: mediacenter vm-stor: quota op nfs: vm-net: sabnzbd als non-root user draaien, paden aanpassen, schrijfrechten op download map vm-mon: monitoring lxc container status? vm-mon: motherboard/proc temp + power vm-template: vm-xorg: vnc viewer, +reverse vm-stor automount? externe hdd's? *backup via amazon s3 /var/lib/lxc/vm-template/config interfaces bridge_ports eth0 debfoster – Keep track of what you did install

slow ssh connecting

ssh auth forwarding (als ik vanaf laptop connect bijv.)

script maken dat bij bezoek van de firewall openzet high loads in lxc container w command

NFS mapping: root@vm-mail:/home/imap/Maildir# cat /etc/idmapd.conf … [Mapping] Nobody-User = imap Nobody-Group = imap results in: drwxr-x— 2 imap imap 4096B Dec 10 04:49 Maildir ifconfig br0:0 netmask

sudo chmod 644 /etc/cron.weekly/apt-xapian-index apt-xapi update-apt-xapi

ping test naar lxc containers, prevent them taking up another ip address for accessing other NFS shares

dhcp dns domainname:

mysql add users:

service –status-all

service nfs-kernel-server status

root@vm-mgr:/etc# exportfs -rav

root@squeeze:/mnt/nfs# !ls root@vm-stor:/etc# apt-get install nfs-common

mount -t nfs4 -o proto=tcp,port=2049 /mnt/download

werkt nog niet Windows NFS 4.1 Client Instructions

The following NEW packages will be installed:

libevent-1.4-2 libgssglue1 libnfsidmap2 librpcsecgss3 nfs-common portmap ucf

Additional mount points can be added. NFS can be done, but it was found that in addition to the lxc container, the nfs server should also export to the lxc host, even if the host does not nfs mount the filesystems.

Firewall Ports for NFS: "If you have a firewall you need to make sure ports 32771, 111 and 2049 are open"

cat /proc/fs/nfs/exports # Version 1.1 # Path Client(Flags) # IPs

? chown -r nobody /export

root@vm-mgr:/mnt/virtualmachines# top Tasks: 89 total, 1 running, 88 sleeping, 0 stopped, 0 zombie Cpu(s): 0.0%us, 0.0%sy, 0.0%ni,100.0%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st Mem: 996160k total, 936676k used, 59484k free, 66192k buffers Swap: 2343928k total, 0k used, 2343928k free, 789796k cached


15759 root 20 0 2436 1144 896 R 0.3 0.1 0:00.02 top

  1 root      20   0  2032  712  612 S  0.0  0.1   0:01.14 init
  2 root      20   0     0    0    0 S  0.0  0.0   0:00.00 kthreadd
  3 root      RT   0     0    0    0 S  0.0  0.0   0:00.00 migration/0

… root@vm-mgr:/mnt/virtualmachines# /etc/init.d/portmap start Starting portmap daemon…. root@vm-mgr:/mnt/virtualmachines# /etc/init.d/nfs-kernel-server stop Stopping NFS kernel daemon: mountd nfsd. Unexporting directories for NFS kernel daemon…. root@vm-mgr:/mnt/virtualmachines# /etc/init.d/nfs-kernel-server start Exporting directories for NFS kernel daemon…. Starting NFS kernel daemon: nfsd

TODO: * outgoing firewall * RE-nat script iptables vm-net + kleinere firewall

apt-get install telnet apt-get install iproute


Multitasking Linux kernel patch

Recently (Q4/2010) there is a kernel patch for improved multitasking (link to google?) Haven't tried it yet however.. (?todo)

Using mc (midnight commander) to FTP

Enter the following:

cd ftp://<BEGIN GeSHi>username<END GeSHi>:<BEGIN GeSHi>password<END GeSHi>@<BEGIN GeSHi><END GeSHi>
test.txt · Last modified: 2017/01/19 00:50 (external edit)

Page Tools