Cours:DocsX2go : Différence entre versions
m |
|||
Ligne 5 : | Ligne 5 : | ||
</source> | </source> | ||
<source lang=bash> | <source lang=bash> | ||
− | /etc/dhcp3/dhcpd. | + | /etc/dhcp3/dhcpd.conf |
+ | option domain-name "<your-localdomain.org>"; | ||
+ | option domain-name-servers <ip-of-dns-server>; | ||
+ | # x2go thin client range/group | ||
+ | subnet 192.168.0.0 netmask 255.255.255.0 { | ||
+ | range 192.168.0.100 192.168.0.199; | ||
+ | filename "/pxelinux.0"; | ||
+ | next-server 192.168.0.250; | ||
+ | } | ||
</source> | </source> | ||
<source lang=bash> | <source lang=bash> | ||
− | + | nano /etc/exports | |
+ | /opt/x2gothinclient/chroot 192.168.0.0/24(ro,async,no_root_squash) | ||
</source> | </source> | ||
Version du 14 décembre 2014 à 15:50
add-apt-repository ppa:x2go/stable
apt-get install x2goserver x2gothinclientmanagement
x2gothinclient_create
/etc/dhcp3/dhcpd.conf
option domain-name "<your-localdomain.org>";
option domain-name-servers <ip-of-dns-server>;
# x2go thin client range/group
subnet 192.168.0.0 netmask 255.255.255.0 {
range 192.168.0.100 192.168.0.199;
filename "/pxelinux.0";
next-server 192.168.0.250;
}
nano /etc/exports
/opt/x2gothinclient/chroot 192.168.0.0/24(ro,async,no_root_squash)
rm /opt/x2gothinclient/chroot/etc/x2go/x2gothinclient_init
x2gothinclient_update