Changes between Version 5 and Version 6 of WikiStart


Ignore:
Timestamp:
Nov 11, 2014, 3:03:09 PM (10 years ago)
Author:
san
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • WikiStart

    v5 v6  
    8080}}}
    8181
     82= Настройка рабочего места диспетчера =
     83Устанавливаем ubuntu
     84
     85Обновляемся:
     86sudo apt-get update
     87sudo apt-get upgrade
     88
     89ssh-сервер
     90sudo apt-get install ssh
     91
     92Устанавливаем java:
     93sudo add-apt-repository ppa:webupd8team/java
     94sudo apt-get update
     95sudo apt-get install oracle-java7-installer
     96
     97Разрешаем любому пользователю запускать X:
     98sudo dpkg-reconfigure x11-common
     99и выбираем "Anybody".
     100
     101Устанавливаем SIP_client:
     102sudo mkdir -p /usr/local/share/SIP_client
     103sudo scp -r alx@192.168.0.75:work/dispatcher/dispatcher/SIP_client /usr/local/share/
     104
     105Устанавливаем скрипт запуска и отключаем lightdm:
     106/etc/init/SIP_client.conf
     107{{{
     108# SIP_client-upstart
     109# starts SIP_client on startup by using xinit.
     110# by default runs as dispatcher, to change edit below.
     111env USER=dispatcher
     112
     113description     "SIP_client-upstart-script"
     114author          "Alex Mogilnikov"
     115
     116# if you use mysql you need to wait for your network device
     117# that means you should add 'and net-device-up IFACE!=lo' behind the udevtrigger
     118
     119start on (filesystem and stopped udevtrigger)
     120stop on runlevel [016]
     121
     122# tell upstart to respawn the process if abnormal exit
     123respawn
     124respawn limit 10 5
     125limit nice 21 21
     126
     127script
     128exec su -c "xinit /usr/bin/java -Dawt.useSystemAAFontSettings=on -Dswing.aatext=true -jar /usr/local/share/SIP_client/SIP_client.jar 2&>"/home/dispatcher/LoL$
     129# the following two are to get an idea, if you want to user a window manager
     130#   exec su -c "xinit /usr/bin/fluxbox :0" $USER
     131end script
     132
     133post-start exec /usr/bin/fluxbox :0 &
     134}}}
     135
    82136== Starting Points ==
    83137