Inhaltsverzeichnis

Einstein - 25.9.2015

LAN

yast lan

Repositories

rm -rf /etc/zypp/repos.d/*.repo
zypper ar -f http://download.opensuse.org/distribution/11.3/repo/oss/ oss
zypper ar -f http://download.opensuse.org/distribution/11.3/repo/non-oss/ non-oss
zypper ar -f http://download.opensuse.org/update/11.3/ update
zypper ar -f http://packman.inode.at/suse/11.3/ packman
zypper ar -f http://download.opensuse.org/repositories/server:/php:/applications/openSUSE_11.3 php
zypper ref
zypper dup

yast online_update

Software

zypper in apache2 apache2-mod_php5 php5* mysql-community-server mysql-community-server-client bind htop mc samba nfs-kernel-server netpbm perl-HTML-Template rrdtool perl-Net-Server sysstat ImageMagick jhead munin munin-node php5-pear-mail

Dienste

insserv apache2 mysql named nfsserver nmb ntp smb sshd
insserv -r postfix

LDAP

yast ldap-client
id helmuth

alte Dateien übernehmen

NFS

...
10.67.0.2:/daten        /nfs    nfs     rw,intr,soft,rsize=32768,wsize=32768,tcp,bg,nolock 0 0
193.170.221.5:/tmp/internet     /tmp/internet   nfs     rw,nolock 0 0
mkdir /nfs
mkdir /tmp/internet
mount /nfs
mount /tmp/internet

mv /srv /srv.local
cp -av /etc /etc.orig

ln -sf /nfs/einstein/srv/www/htdocs/bgweiz.at /bgweiz.at
ln -sf /nfs/einstein/srv/www/htdocs/my.bgweiz.at /my.bgweiz.at
ln -sf /nfs/einstein/srv/www/htdocs/peer.st /peer.st
ln -sf /nfs/einstein/srv/www/htdocs/d4e.at /d4e.at
ln -sf /nfs/einstein/data /data
ln -sf /nfs/einstein/srv /srv

Einstein - 16.4.2010

Image erstellen

qemu-img-xen create /daten/xen/einstein/sda 20G
dd if=/dev/zero of=/daten/xen/einstein/sda bs=1024k count=20000
losetup /dev/loop50 /daten/xen/einstein/sda
fdisk -l /dev/loop50
fdisk /dev/loop50
kpartx -a -p "-part" -v /dev/loop50
mkswap -f /dev/mapper/loop50-part1
mkfs.ext4 /dev/mapper/loop50-part2
mkdir /mnt/c
mount /dev/mapper/loop50-part2 /mnt/c
umount /mnt/c
kpartx -d -p "-part" -v /dev/loop50
losetup -d /dev/loop50

Server neu aufsetzen - 9.1.2009

Samba für (Supplierplan)

[global]
	workgroup = WORKGROUP
	domain logons = No
	domain master = No
	netbios name = einstein
	security = user
	printcap name = /etc/printcap
	load printers = no

[supplierplan]
	comment = supplierplan
	path = /data/supplierplan
	read only = No
	valid users = supplierplan
	write list = supplierplan
rcsmb start
rcnmb start
insserv smb
insserv nmb
smbpasswd -a supplierplan

Munin

wget rpm -Uvh munin-1.2.5-9.2.noarch.rpm 

zypper in perl-HTML-Template rrdtool
rpm -Uvh munin-1.2.5-9.2.noarch.rpm

moodle updaten

PHP Pear Pakete