Ubuntu-LTSP: различия между версиями
Перейти к навигации
Перейти к поиску
Sol (обсуждение | вклад) |
Sol (обсуждение | вклад) (→CUPS) |
||
Строка 4: | Строка 4: | ||
=== CUPS === | === 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> | ||
+ | |||
+ | ==== add cups admin user ==== | ||
+ | |||
+ | usermod -aG lpadmin username | ||
== LTSP clietn == | == LTSP clietn == |
Версия 09:40, 11 августа 2016
LTSP 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>
add cups admin user
usermod -aG lpadmin username
LTSP clietn
TCIN client
FAT 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) …