OSC » Historique » Version 2
Version 1 (Klaas TJEBBES, 15/01/2016 11:01) → Version 2/17 (Klaas TJEBBES, 15/01/2016 11:02)
h1. OSC
Installer python-gevent et python-websocket
<pre>
aptitude install -y python-gevent
aptitude install -y python-websocket
</pre>
Télécharger le script et le rendre exécutable :
<pre>
wget https://raw.githubusercontent.com/baby-gnu/one-sunstone-rest-client/master/osc
chmod +x osc
</pre>
Créer le fichier d'authentification
<pre>
mkdir ~/.one/
vi ~/.one/one_auth
</pre>
Contenu du fichier _~/.one/one_auth_ :
<pre>
<LOGIN_NEBULA>:<PASSWORD_NEBULA>
</pre>
Exécuter la commande :
<pre>
python osc --url http://one.eole.lan/
</pre>
Installer python-gevent et python-websocket
<pre>
aptitude install -y python-gevent
aptitude install -y python-websocket
</pre>
Télécharger le script et le rendre exécutable :
<pre>
wget https://raw.githubusercontent.com/baby-gnu/one-sunstone-rest-client/master/osc
chmod +x osc
</pre>
Créer le fichier d'authentification
<pre>
mkdir ~/.one/
vi ~/.one/one_auth
</pre>
Contenu du fichier _~/.one/one_auth_ :
<pre>
<LOGIN_NEBULA>:<PASSWORD_NEBULA>
</pre>
Exécuter la commande :
<pre>
python osc --url http://one.eole.lan/
</pre>