Ufe-m pc install
I_UfE_M_pc_install
abgewöhnen die swap partition zu suchen
eintragen in /boot/grub/menu.lst
0@@
externe festplatte hat ntfs und ist daher read only
formatiere sie mit
mkfs.vfat /dev/sdx
neu
shutdown über button abschalten
- in /etc/acpi/ liegen die skripte die bei systemereignissen aufgerufen werden.
- welche scripte bei welchem ereignis aufgerufen werden, werden über die dateien in dem "events" unterordnern festgelegt
- in den dateien /etc/acpi/events/powerbtn /etc/acpi/events/powerbtn-acpi-support setzen wir action=
die netzwerkkarte wird nach dem kopieren des System als eth1 erkannt!
Man muß die Datei /etc/udev/rules.d/70-persistent-net.rules korrigieren. Alle anderen Prozesse erwarten eth0 als unsere netzwerkkarte.
running u_client_daemon.sh at startup
install rungetty package
#apt-get install rungetty
modify /etc/inittab:
1@@
change hostname
#echo mpc003 > /etc/hostname
prepair usb stick
#dd if=debian-eeepc.img of=/dev/<YOUR-USB-DEVICE> #sync install basic system without swap # apt-get install subversion mc openvpn openssh-server apache2 # apt-get install mysql-server-5.0 ftpd rungetty # apt-get install dosfstools (fsck.vfat -a) # apt-get install librsvg2-bin
- make FAT16 (6) partion with #fdisk /dev/sde
- FAT partion table erzeugen #mkdosfs /dev/sde1 (paket mtools)
- bootsector preparieren #syslinux /dev/sde1 (paket syslinux)
x
prepair usb stick
get: http://ftp.nl.debian.org/debian/dists/etch/main/installer-i386/current/images/hd-media/boot.img.gz zcat it to usb - see: http://www.debian.org/releases/stable/i386/ch04s04.html.de#usb-add-iso get: http://gensho.acc.umu.se/debian-cd/4.0_r5/i386/iso-cd/debian-40r5-i386-netinst.iso copy it to usb stick.
reboot m_pc with this stick with following option:
boot: install fb=false
coise laptop/basic_system
filesystem: http://www.debian.org/doc/packaging-manuals/fhs/fhs-2.3.html readonly_filesystem
# apt-get install subversion comment cdrom in /etc/apt/sources.list # apt-get update # apt-get install mc # apt-get install openvpn # apt-get install openssh-server # apt-get install apache-common # apt-get install mysql-server-5.0 # apt-get install ftpd # apt-get install rungetty # apt-get install dosfstools (fsck.vfat -a) # apt-get install librsvg2-bin
mpc017 mid sid
- http://www.a110wiki.de/wiki/Debian_Installation
- http://ftp.nl.debian.org/debian/dists/sid/main/installer-i386/current/images/netboot/
- mod:/etc/inittab to defaultrunlevel 5
- aptget install openvpn
- scp keys
copy m_pc system from one to another
Change Boot sequence in pc bios to:
USB HDD
Start a Linux live from a USB-Stick in order to make a copy of the Operating System
Use a second USB-Stick as storage for the OS
Get the overview of the devices on the PC:
ls -l /dev/sd* #to find all devices df -H #how is mounted at which place / see capacities mount #show how they are mounted (options and type)
Then make a full copy of the SSD (OS image) into the USB-Stick making use of the command:
sudo dd if=/dev/sda of=/media/disk/oneimg
before you unplug the usb-storage please force system to empty the cache
sync
Now in the other pc make the following:
Change Boot sequence Start a Linux live
Copy the OS image from the USB-Stick into the SSD
sudo dd if=/media/disk/oneimg of=/dev/sda
Restart the pc
Cloning a ONE-A-110 pc
- First a copy of the whole HardDisk must be done. The "Cloning stick" has the HD images
dd if=/dev/hdc of=/mnt/sda1/one_a_110.iso dd if=/mnt/sda1/one_a_110.iso of=/dev/hdc
- Then make the CLON recognize Eth0 (see instructions in this page)
- Them give the CLON a new name (see instruction in this page)
- Finally copy the key that belong to the new name to allow the CLON join the VPN (see instructions here: http://i.ufegmbh.de/Vpn_notes.html)
Some things must be done to let VSYNC partner have access to the (wiki)webserver.
giving public access
For every MPC public access must be given at /home/ufe/ufe/var/disk/m_pc_data/gm/mpc0xx/ a mpc0xx.txt file must be modified or created. It should have the word public
giving right for vsync user
For every MPC a vsync user with rights to gm_data must be creted
*First create a user (vsync) with password (ufe) *Then login as system operator *Change rights for this user (Special pages -> User rights management)
install debian lenny
- install debian lenny with http-server
- apt-get install openvpn mysql-server php5 php5-mysql php5-mcrypt rungetty dosfstools librsvg2-bin ftpd-ssl
Install MPC011
- copy www from mpc007 to mpc011
- export mysqldatabase with mpc007/my/index.php
- apt-get install openvpn mysql-server apache2.2common php5 php5-mysql php5-mcrypt
- apt-get install rungetty dosfstools librsvg2-bin
- mpc007/etc/apache2/sites-available/u_apache_default to mpc007/etc/apache2/sites-enabled
- enable rewrite module
- reload apache
install sid-testing
=====mpc017=====\n\n