Changes between Version 6 and Version 7 of WikiStart


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

--

Legend:

Unmodified
Added
Removed
Modified
  • WikiStart

    v6 v7  
    8484
    8585Обновляемся:
     86
     87{{{
    8688sudo apt-get update
    8789sudo apt-get upgrade
     90}}}
     91
    8892
    8993ssh-сервер
     94
     95{{{
    9096sudo apt-get install ssh
     97}}}
     98
    9199
    92100Устанавливаем java:
     101
     102{{{
    93103sudo add-apt-repository ppa:webupd8team/java
    94104sudo apt-get update
    95105sudo apt-get install oracle-java7-installer
     106}}}
     107
    96108
    97109Разрешаем любому пользователю запускать X:
     110
     111{{{
    98112sudo dpkg-reconfigure x11-common
     113}}}
     114
    99115и выбираем "Anybody".
    100116
    101117Устанавливаем SIP_client:
     118
     119{{{
    102120sudo mkdir -p /usr/local/share/SIP_client
    103121sudo scp -r alx@192.168.0.75:work/dispatcher/dispatcher/SIP_client /usr/local/share/
     122}}}
     123
    104124
    105125Устанавливаем скрипт запуска и отключаем 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]
    112127
    113 description     "SIP_client-upstart-script"
    114 author          "Alex Mogilnikov"
    115128
    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 
    119 start on (filesystem and stopped udevtrigger)
    120 stop on runlevel [016]
    121 
    122 # tell upstart to respawn the process if abnormal exit
    123 respawn
    124 respawn limit 10 5
    125 limit nice 21 21
    126 
    127 script
    128 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 manager
    130 #   exec su -c "xinit /usr/bin/fluxbox :0" $USER
    131 end script
    132 
    133 post-start exec /usr/bin/fluxbox :0 &
    134 }}}
    135129
    136130== Starting Points ==