Ubuntu-LTSP: различия между версиями

Материал из Webko Wiki
Перейти к навигации Перейти к поиску
Строка 9: Строка 9:
  
 
==== External DHCP server ====
 
==== External DHCP server ====
 +
 +
if you have external dhcp server you maust add several lines to your dhspd.conf
 +
shared-network eth0 {  # your network interface
 +
  subnet 10.11.25.0 netmask 255.255.255.0 {  # your subnet
 +
  #
 +
  #  other setings
 +
  #
 +
  # LTSP TFTP
 +
        next-server 10.11.25.111;      # ltsp-server ip
 +
        option root-path "/opt/ltsp/amd64";
 +
                if substring( option vendor-class-identifier, 0, 9 ) = "PXEClient" {
 +
        filename "/ltsp/amd64/pxelinux.0";
 +
        } else {
 +
                filename "/ltsp/amd64/nbi.img";
 +
        }
 +
  #
 +
  #  other setings
 +
  #
 +
}
 +
 +
 +
if you buil i386 client change amd64 on i386 path
  
 
==== ltsp.conf ====
 
==== ltsp.conf ====

Версия 17:05, 11 августа 2016

LTSP server

Install

Install from default Ubuntu-server iso

sudo apt-get install ltsp-server-standalone

External DHCP server

if you have external dhcp server you maust add several lines to your dhspd.conf

shared-network eth0 {  # your network interface
  subnet 10.11.25.0 netmask 255.255.255.0 {   # your subnet
  #
  #  other setings
  #
  # LTSP TFTP
       next-server 10.11.25.111;       # ltsp-server ip
       option root-path "/opt/ltsp/amd64";
               if substring( option vendor-class-identifier, 0, 9 ) = "PXEClient" {
       filename "/ltsp/amd64/pxelinux.0";
       } else {
               filename "/ltsp/amd64/nbi.img";
       }
  #
  #  other setings
  #
}


if you buil i386 client change amd64 on i386 path

ltsp.conf

External home nfs-server

CUPS

Centralized

sudo apt install cups
cp /etc/cups/cupsd.conf /etc/cups/cupsd.conf.original
vim /etc/cups/cupsd.conf

edit

admin email
ServerAdmin [email protected]
listen on
Listen 127.0.0.1:631           # existing loopback Listen
Listen /var/run/cups/cups.sock # existing socket Listen
Listen 192.168.10.250:631      # Listen on the LAN interface, Port 631 (IPP)
allow clients
<Location />
 Order allow,deny
 Allow @LOCAL                  # all from localnet
</Location>
allow admins
<Location /admin>
 Order allow,deny
 allow from 10.20.20.59        # from ip
</Location>
admins auth
<Location /admin/conf>
 AuthType Default
 Require user @SYSTEM          # require system user from lpadmin group
 Order allow,deny
 allow from 10.20.20.59
</Location>
ltsp.conf
CUPS_SERVER=10.20.20.111   # ltsp-server ip
KEEP_SYSTEM_SERVICES=cups

Add cups admin user

usermod -aG lpadmin username

LTSP clietn

TCIN client

FAT client

ltsp-build-client

Ubuntu Mate-desktop

apt-get install software-properties-common python-software-properties
apt-add-repository ppa:ubuntu-mate-dev/ppa
apt-add-repository ppa:ubuntu-mate-dev/xenial-mate
apt-get update && apt-get upgrade
apt-get install ubuntu-mate-core ubuntu-mate-desktop
--no-install-recommends


transmission

Настраивается пакет toshset (1.76-4) … Настраивается пакет transmission-common (2.84-3ubuntu3) … Настраивается пакет transmission-gtk (2.84-3ubuntu3) … Настраивается пакет ttf-ancient-fonts-symbola (2.59-1) … Настраивается пакет ubuntu-mate-icon-themes (16.04.7) …

Add admin user

Add user

Ссылки

general info

ltsp.conf options