Difference between revisions of "Ltps"
(Created page with "LTSP5 ASENNUS # /etc/fstab: static file system information. # # Use 'blkid' to print the universally unique identifier for a # device; this may be used with UUID= as a more robu…") |
|||
Line 1: | Line 1: | ||
LTSP5 ASENNUS | LTSP5 ASENNUS | ||
+ | |||
+ | GO: | ||
+ | LTSpedia http://wiki.ltsp.org/wiki/LTSPedia | ||
+ | |||
+ | Below is notes from my system installation, | ||
+ | take's time to get it wiki! | ||
+ | |||
# /etc/fstab: static file system information. | # /etc/fstab: static file system information. |
Latest revision as of 08:37, 12 October 2013
LTSP5 ASENNUS
GO: LTSpedia http://wiki.ltsp.org/wiki/LTSPedia
Below is notes from my system installation, take's time to get it wiki!
- /etc/fstab: static file system information.
- Use 'blkid' to print the universally unique identifier for a
- device; this may be used with UUID= as a more robust way to name devices
- that works even if disks are added and removed. See fstab(5).
- <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc nodev,noexec,nosuid 0 0
- / was on /dev/md0 during installation
UUID=24d52ebb-9a49-4949-831a-0702ca032406 / ext4 errors=remount-ro 0 1
- /boot/efi was on /dev/sda1 during installation
UUID=9AD9-4C15 /boot/efi vfat defaults 0 1
- /home was on /dev/md1 during installation
UUID=a9091c8f-31e2-43af-8167-88d8191a4f2c /home ext4 usrquota,grpquota 0 2
- /var was on /dev/md2 during installation
UUID=3dae13d4-6310-417a-bc67-e987638dbe54 /var ext4 defaults 0 2
- swap was on /dev/sda5 during installation
UUID=c5de965b-1adc-40e4-ab8b-cddb8bd153c6 none swap sw 0 0
- swap was on /dev/sdb5 during installation
UUID=bc109a85-d598-41e4-8805-a8bce1c68aa2 none swap sw 0 0 /dev/md127 /mpi4 ext4 rw,nosuid,nodev,uhelper=udisks 0 0 /dev/sr0 /media/cdrom iso9660 defaults,noauto,ro,user 0 0
- 192.168.0.40:/myjohn2 /media/myjohn2 nfs4 _netdev,auto 0 0
//192.168.0.51/OpenShare /media/ST1 cifs guest,rw,iocharset=utf8,file_mode=0777,dir_mode=0777 0 0 //192.168.0.51/backup /media/BACKUPST1 cifs user=backup,password=backup73,rw,iocharset=utf8,file_mode=0777,dir_mode=0777 0 0
/home /export/home none bind 0 0 /mpi2 /export/mpi2 none bind 0 0 /mpi3 /export/mpi3 none bind 0 0 /mpi4 /export/mpi4 none bind 0 0 /media/cdrom /export/cdrom none bind 0 0
- /windows /export/windows none bind 0 0
- //path to your windows share/ /your_mount_path cifs username=your_username,password=your_password,workgroup=your_workgroup,users,auto,user_xattr 0 0
iptables -A INPUT -s 192.168.0.0/24 -j ACCEPT iptables -A OUTPUT s 192.168.0.0/24 -j ACCEPT
file:///etc/fstab
- The chroot architecture.
ARCH=amd64 LOCALE="fi_FI.UTF-8"
- ubuntu-desktop and edubuntu-desktop are tested.
- If you test with [k|x]ubuntu-desktop, edit this page and mention if it worked OK.
- kubuntu lucid (10.10) working okay.
FAT_CLIENT_DESKTOPS="ubuntu-desktop"
- Space separated list of programs to install.
- The java plugin installation contained in ubuntu-restricted-extras
- needs some special care, so let's use it as an example.
LATE_PACKAGES=" kde-l10n-fi
language-selector-gnome language-selector-common
language-pack-gnome-fi-base language-pack-gnome-en-base language-pack-gnome-de-base language-pack-gnome-fr-base
language-pack-fi-base language-pack-de-base language-pack-fr-base language-pack-fen-base
language-pack-fi language-pack-fr language-pack-de language-pack-en
language-pack-gnome-de language-pack-gnome-fr language-pack-gnome-en language-pack-gnome-fi
language-pack-en-base language-pack-fi-base language-pack-de-base language-pack-fr-base
firefox-locale-fi
thunderbird-locale-fi
voikko-fi
libreoffice-l10n-fr libreoffice-l10n-de libreoffice-l10n-sv libreoffice-l10n-fi libreoffice-help-fi hyphen-de hyphen-fr mythes-de mythes-de-ch mythes-fr mythes-en-us hyphen-en-us
"
- This is needed to answer "yes" to the Java EULA.
- We'll create that file in the next step.
DEBCONF_SEEDS="/etc/ltsp/debconf.seeds"
- This uses the server apt cache to speed up downloading.
- This locks the servers dpkg, so you can't use apt on
- the server while building the chroot.
MOUNT_PACKAGE_DIR="/var/cache/apt/archives/"
- created to /opt/ltsp
- sudo ltsp-build-client
sudo ltsp-build-client --mirror http://192.168.0.40:3142/mirrors.nic.funet.fi/ubuntu/ sudo ltsp-update-sshkeys sudo ltsp-update-image sudo ltsp-update-kernels
- sudo cp /etc/apt/sources.list /opt/ltsp/amd64/etc/apt
sudo ltsp-chroot -c -p
- timezone
dpkg-reconfigure tzdata
- local languages
dpkg-reconfigure localeconf
- system softwareapt-get
- apt-get install openmpi-common openmpi-bin
- apt-get install libscotch-dev libopenmpi-dev
apt-get installnfs-client nfs-common cifs-utils
- powerwake powernap
apt-get install mythtv-frontend apt-get install gimp darktable apt-get install mytharchive mythgallery mythgame mythmusic mythnews mythweather
- IMAGE UPDATE
sudo ltsp-chroot -c -p adduser root adduser mpi passwd root passwd mpi apt-get update exit sudo mkdir /opt/ltsp/amd64/mpi sudo mkdir /opt/ltsp/amd64/home/mpi sudo cp -R /home/mpi/.ssh /opt/ltsp/amd64/home/mpi #enviroment
- sudo cp -R /root/.ssh /opt/ltsp/amd64/root
sudo ltsp-chroot -c -p
cd /home chown -R mpi:mpi mpi cd /home/mpi chmod 700 .ssh chmod 600 .ssh/id* chmod 644 .ssh/known_hosts chmod 644 .ssh/authorized_keys
cd /home chown -R joni:joni joni cd /home/joni chmod 700 .ssh chmod 600 .ssh/id* chmod 644 .ssh/known_hosts chmod 644 .ssh/authorized_keys
cd /root chmod 700 .ssh chmod 600 .ssh/id* chmod 644 .ssh/known_hosts chmod 644 .ssh/authorized_keys
- apt-get install quota
apt-get install wine jstest-gtk wine playonlinux ubuntu-restricted-extras mythplugins
- apt-get install ltsp-server-standalone
apt-get syslog-ng bacula-fd ntp libcr-dev gcc gfortran
- apt-get install skype
- sudo apt-get install libhypre* libmumps* libblacs-mpi1 libblacs-mpi-dev libscalapack-mpi1 libscalapack-mpi-dev libatlas3gf-amd64sse3 libatlas3gf-base libarpack2 libarpack2-dev libumfpac* libvtk5.4 libvtk5-dev libvtk5.4-qt4 libvtk5-qt4-dev libmumps-ptscotch-dev libmumps-ptscotch-4.9.2
sudo apt-get install qmake-qt4 qtcreator
- Google-Earth
dpkg -i /software/googleearth_6.0.3.2197+0.7.0-1_amd64.deb java 7
exit
sudo ltsp-update-sshkeys sudo ltsp-update-image sudo ltsp-update-kernels exportfs -ra
- removed mixing system
sudo apt-get install ssh openssh-server
- sofware to pre-build
sudo apt-get install googleearth-package sudo apt-get install -f make-googleearth-package sudo mkdir /opt/ltsp/amd64/software cd Ohjelmia sudo cp google*.deb /opt/ltsp/amd64/software sudo cp -R mendelay* /opt/ltsp/amd64/software
- nvidia
- apt-get install linux-source nvidia-current
- nvidia-reconfig
lts.conf [Default] INTERFACES="eth0" DNS_SERVER=193.229.0.42,193.229.0.40 SCREEN_02=shell SCREEN_03=shell SCREEN_04=shell SCREEN_05=shell SCREEN_06=shell SCREEN_07=ldm
LDM_DIRECTX=True LDM_SYSLOG=True
LDM_LANGUAGE="fi_FI.UTF-8" LDM_SESSION="gnome-session --session=ubuntu-2d"
SSH_FOLLOW_SYMLINKS=False
FSTAB_1="192.168.0.40:/export/mpi /mpi nfs _netdev,auto 0 0" FSTAB_2="//192.168.0.51/OpenShare /media/ST1 cifs guest,rw,iocharset=utf8,file_mode=0777,dir_mode=0777 0 0"
NFS_HOME=/home LOCALDEV=True
[BC:5F:F4:36:10:19]
HOSTNAME=ugh
X_HORZSYNC=30.0-88.0 X_VERTREFRESH=50.0-88.0 X_MODE_0=1680x1050
[BC:5F:F4:36:10:39]
HOSTNAME=kaak
X_MODE_0=1280x1024
KERNEL UPDATE
export LTSP_HANDLE_DAEMONS=false sudo mount --bind /dev /opt/ltsp/amd64/dev sudo chroot /opt/ltsp/amd64 mount -t proc proc /proc apt-get update && apt-get dist-upgrade exit sudo ltsp-update-kernels sudo umount /opt/ltsp/amd64/proc sudo umount /opt/ltsp/amd64/dev