Epoptes สามารถติดตั้ง Package ได้เลยใน Linux ตระกูล Debian และ Ubuntu ส่วนรตระกูล Red Hat ต้องติดต้องส่วนเสริมก่อนดังนี้
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 0350B375series=$(lsb_release -s -c)test "$series" = squeeze && series=lucidtest "$series" = wheezy && series=oneiricecho "deb http://ppa.launchpad.net/epoptes/ppa/ubuntu $series main" > \ "/etc/apt/sources.list.d/epoptes-ppa-$series.list"apt-get updateServer package installation
การติดตั้ง Server Package ต้องเป็น User Root หรือเที่ยบเท่า Root ( ใช้ sudo บน Ubuntu หรือ su - on Debian):
==> now run the commands from the "Adding the epoptes PPA to your sources" step
sudo apt-get install epoptes
sudo apt-get install epoptes
Configuration Server
ทำการแก้ไขไฟล์ /etc/default/epoptes #( root only)
# Epoptes server will use the following group for the communications socket.# That means that any user in that group will be able to launch the epoptes UI# and control the clients.SOCKET_GROUP=staff # ยกตัวอย่าง Group ชื่อ staff
หมายเหตุ SOCKET_GROUP คือ GROUP ที่ระบุให้ User มีสิทธ์ที่จะสามารถใช้งาน Program Epoptes ได้
การสร้าง Group ใน Ubuntu
--> sudo addgroup staff # add group staff
--> sudo gpasswd -a testuser staff # set user "testuser " ในอยู่ในกลุ่มของ staff
Client package installation for standalone clients
==> now run the commands from the "Adding the epoptes PPA to your sources" stepsudo apt-get install epoptes-clientConfiguration Client
ทำการแก้ไขไฟล์ /etc/default/epoptes-client #(root only)
# The server which epoptes-client will be connecting to.# If unset, thin client user sessions running on the server will try to connect# to "localhost", while thin client root sessions and fat or standalone clients# will try to connect to "server".# LTSP automatically puts "server" in /etc/hosts for thin and fat clients,# but you'd need to put "server" in DNS manually for standalone clients.SERVER= 192.168.253.1 # which is the DNS name or IP address of the server
epoptes-client -c # Fetches the OpenSSL certificate from the server sh -n /etc/default/epoptes
Manually updating the OpenSSL certificate
update the epoptes OpenSSL certificate, but if you need to, here's a command to get you started
openssl req -batch -x509 -nodes -newkey rsa:1024 -days 1826 -keyout /etc/epoptes/server.key -out /etc/epoptes/server.crt
ไม่มีความคิดเห็น:
แสดงความคิดเห็น