Changes between Version 6 and Version 7 of WikiStart
- Timestamp:
- Nov 11, 2014, 3:14:41 PM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
WikiStart
v6 v7 84 84 85 85 Обновляемся: 86 87 {{{ 86 88 sudo apt-get update 87 89 sudo apt-get upgrade 90 }}} 91 88 92 89 93 ssh-сервер 94 95 {{{ 90 96 sudo apt-get install ssh 97 }}} 98 91 99 92 100 Устанавливаем java: 101 102 {{{ 93 103 sudo add-apt-repository ppa:webupd8team/java 94 104 sudo apt-get update 95 105 sudo apt-get install oracle-java7-installer 106 }}} 107 96 108 97 109 Разрешаем любому пользователю запускать X: 110 111 {{{ 98 112 sudo dpkg-reconfigure x11-common 113 }}} 114 99 115 и выбираем "Anybody". 100 116 101 117 Устанавливаем SIP_client: 118 119 {{{ 102 120 sudo mkdir -p /usr/local/share/SIP_client 103 121 sudo scp -r alx@192.168.0.75:work/dispatcher/dispatcher/SIP_client /usr/local/share/ 122 }}} 123 104 124 105 125 Устанавливаем скрипт запуска и отключаем 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. 111 env USER=dispatcher 126 [http://192.168.0.75:8787/dispatcher/attachment/wiki/WikiStart/SIP_client.conf /etc/init/SIP_client.conf] 112 127 113 description "SIP_client-upstart-script"114 author "Alex Mogilnikov"115 128 116 # if you use mysql you need to wait for your network device117 # that means you should add 'and net-device-up IFACE!=lo' behind the udevtrigger118 119 start on (filesystem and stopped udevtrigger)120 stop on runlevel [016]121 122 # tell upstart to respawn the process if abnormal exit123 respawn124 respawn limit 10 5125 limit nice 21 21126 127 script128 exec 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 manager130 # exec su -c "xinit /usr/bin/fluxbox :0" $USER131 end script132 133 post-start exec /usr/bin/fluxbox :0 &134 }}}135 129 136 130 == Starting Points ==