Difference between revisions of "API2 install daemons"

From RobotinoWiki
(Replaced content with "*Robotino v2 *Robotino v3")
 
Line 1: Line 1:
The following steps must be executed with root privileges.
+
*[[Install_daemons_v2|Robotino v2]]
<pre>
+
*[[Install_daemons_v3|Robotino v3]]
su root
 
Password for user root: dorp6
 
</pre>
 
 
 
In order to use the API2 you need to replace packages on Robotino. The easiest way is to give Robotino Internet access. The file '''/etc/apt/sources.list''' should look like this.
 
<pre>
 
deb http://doc.openrobotino.org/download/packages/i386 ./
 
deb http://old-releases.ubuntu.com/ubuntu/ jaunty main restricted
 
deb-src http://old-releases.ubuntu.com/ubuntu/ jaunty main restricted
 
</pre>
 
 
 
<pre>
 
echo "deb http://doc.openrobotino.org/download/packages/i386 ./" > /etc/apt/sources.list
 
echo "deb http://old-releases.ubuntu.com/ubuntu/ jaunty main restricted" >> /etc/apt/sources.list
 
echo "deb-src http://old-releases.ubuntu.com/ubuntu/ jaunty main restricted" >> /etc/apt/sources.list
 
</pre>
 
 
 
After setting up the sources.list
 
<pre>
 
apt-get update
 
apt-get install rec-rpc-qt4.5.0 robotino-common robotino-daemons robotino-api2 robotino-examples
 
</pre>
 
 
 
Questions during the installation process
 
<pre>
 
Install these packages without verification [y/N]? y
 
Do you want to install symlinks? -> Yes
 
</pre>
 
This will remove the API1 daemons and install the API2 counterparts. Reboot the system when installation is finished.
 
 
 
Alternatively you can download the packages to your computer. Replace * by the latest version.
 
<pre>
 
wget http://doc.openrobotino.org/download/packages/i386/rec-rpc-qt4.5.0_*_i386.deb
 
wget http://doc.openrobotino.org/download/packages/i386/robotino-common_*_i386.deb
 
wget http://doc.openrobotino.org/download/packages/i386/robotino_daemons_*_i386.deb
 
wget http://doc.openrobotino.org/download/packages/i386/robotino-api2_*_i386.deb
 
wget http://doc.openrobotino.org/download/packages/i386/robotino-examples_*_i386.deb
 
</pre>
 
 
 
Then copy the files to Robotino using scp or ftp. On Robotino do
 
<pre>
 
dpkg -i rec-rpc-qt4.5.0_*_i386.deb
 
dpkg -i robotino-common_*_i386.deb
 
dpkg -i --auto-deconfigure robotino-daemons_*_i386.deb
 
dpkg -i robotino-api2_*_i386.deb
 
dpkg -i robotino-examples_*_i386.deb
 
</pre>
 

Latest revision as of 14:25, 26 November 2013