User Tools

Site Tools


test

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 http://www.google.nl/search?sourceid=chrome&ie=UTF-8&q=nfs4+user+permissions vm-mgr: kerberos nfs

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

Migratie: wiki.pcprobleemloos.nl nslu2.pcprobleemloos.nl/ → wiki.pcprobleemloos.nl/nslu2 www.pcprobleemloos.nl/freebsd/ www.pcprobleemloos.nl/.../mailserver_configuration_with_postfix_courier-imap_procmail_spamassassin_clamav.html 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 http://www.youtube.com/user/bowendenning#p/u/0/kSCx3tzC0cA ldap http://www.youtube.com/user/bowendenning#p/u/1/DM_UQVVVtoY

http://www.youtube.com/user/bowendenning#p/u/5/3OpQiPRduXM 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 http://www.google.nl/search?sourceid=chrome&ie=UTF-8&q=linux+xbox+media+server vm-stor: quota op nfs: http://www.faqs.org/faqs/sgi/faq/admin/section-68.html 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: http://www.debianadmin.com/automatic-update-of-packages-using-cron-apt.html vm-xorg: vnc viewer, +reverse vm-stor automount? externe hdd's? *backup via amazon s3

http://lxc.teegra.net/#_etc_inittab /var/lib/lxc/vm-template/config interfaces bridge_ports eth0 debfoster – Keep track of what you did install

slow ssh connecting http://ubuntuforums.org/showthread.php?t=361262 http://ubuntuforums.org/showthread.php?t=1164250

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

script maken dat bij bezoek van nzb.deliriumtremens.nl de firewall openzet high loads in lxc container http://www.teamquest.com/resources/gunther/display/5/index.htm 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

145.99.246.34: ifconfig br0:0 10.76.0.34 netmask 255.255.255.0

sudo chmod 644 /etc/cron.weekly/apt-xapian-index http://ubuntuforums.org/showthread.php?t=1086435 http://ubuntuforums.org/showthread.php?p=9304431#post9304431 apt-xapi update-apt-xapi

http://www.johnlewis.ie/the-merits-of-lxc-containers/ http://blog.gauner.org/blog/2010/02/03/linux-containers-vs-linux-vservers/ http://www.stgraber.org/2009/11/06/lxc-containers-or-extremely-fast-virtualization/

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

dhcp dns domainname: http://forums13.itrc.hp.com/service/forums/questionanswer.do?admit=109447627+1290221814967+28353475&threadId=1033977

mysql add users: http://www.knowledgesutra.com/forums/topic/31803-adding-users-to-databases-using-phpmyadmin/

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 10.76.0.3:/download /mnt/download

werkt nog niet http://www.citi.umich.edu/projects/nfsv4/windows/readme.html 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: http://www.ubuntugeek.com/nfs-server-and-client-configuration-in-ubuntu.html “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

PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND

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>ftp.yoursite.com<END GeSHi>
test.txt · Last modified: 2023-02-28 16:44 by 127.0.0.1