Milou raspbian

Install raspbian

create file ”ssh” in /boot

logon with pi:raspberry

copy openvpn-config, install openvpn

install java 8, for j4pi 1.2-snapshot

install tomcat7, tomcat7-admin

edit /et/default/tomcat7,

user:grp=root (for gpio access)

jdkdir

add tomcat user

edit /etc/init.d/tomcat7 to have POLICY_CACHE in CATALINA_TMPDIR

apt-get install ppp

  1. edit /lib/udev/rules.d/40-usb_modeswitch.rules
  2. edit ATTRS{idVendor}=="12d1", ATTR{bInterfaceNumber}=="00", ATTR{bInterfaceClass}=="08", RUN+="usb_modeswitch '%b/%k'", by changing '%b/%k'to '%k'.

NetworkManager to connect to gprs/apn

Protect your Raspberry PI SD card, use Read-Only filesystem

 

Tomcat i openstack

I /etc/java-8-openjdk/security/java.security behöver man ändra 

securerandom.source=file:/dev/random

till

securerandom.source=file:/dev/./random

Annars blir det slött…