Technology

Raspberri Pi 2 – IoT server instalation


#install iot-requirement
sudo su
apt-get update
apt-get install mc
apt-get install lsb-core
apt-get install tightvncserver
tasksel install lamp-server
apt-get install mysql-server
apt-get install phpmyadmin
apt-get install php5-curl
apt-get install libssh2-php

#install pymodbus
wget https://bootstrap.pypa.io/ez_setup.py -O - | python 
easy_install -U pymodbus
if error "arm-linux-gnueabihf-gcc "--> sudo apt-get install python-dev 
easy_install requests


#install nodejs
curl -sL https://deb.nodesource.com/setup | bash -
apt-get install -y nodejs


 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s