Technology

Copy Paste Raspberry, not working…. solved

I log in using SSH, & ran the following to install everything. The fonts stop various log error messages which annoy me.

Code: Select all
sudo apt-get install tightvncserver gsfonts-x11 xfonts-75dpi xfonts-100dpi autocutsel

Then you have to pick which account you are going to run TightVNC from (not root, but try “pi” unless you have created a new account yourself). Open /home/pi/.vnc/xstartup & change it to

Code: Select all
#!/bin/sh

xrdb $HOME/.Xresources
xsetroot -solid grey
autocutsel -fork
#x-terminal-emulator -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
#x-window-manager &
# Fix to make GNOME work
export XKL_XMODMAP_DISABLE=1
/etc/X11/Xsession

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