Upgrading the system
Before you begin, it is important to have an updated system.
So make an update and upgrade before you start:
sudo apt-get update |
Then :
sudo apt-get upgrade |
Your system is now updated.
Installing JAVA
With a preference for the Java language, we will see how to install JRE and everything needed to run our program.
Nothing more simple, you just run the classic command:
sudo apt-get install openjdk-7-jdk |
To verify the installation of java, you can enter the command:
java -version |
Installing Samba (for practical reasons)
Samba will be useful to allow access to your development files directly from the network.
Installing samba:
sudo apt-get install samba samba-common-bin |
The configuration thereof is in the file : /etc/samba/smb.conf
Edit it and configure it according to your needs
For my part, I chose the less secure the most basic configuration.
Simply because the Samba configuration nécessiterai a complete tutorial.
So for the sake of rapid implementation of a space, you can configure like this:
Set security to "user"
security = user |
Configure your public space
[homepi] comment = public browseable = yes path = /home/pi public = yes guest ok = yes read only = no create mask = 0777 directory mask = 0777 |
Comment the following line
#valid users = %s |
Warning This is a configuration that is not (at all) recommended for a production system!!!
Set the password of the user pi
sudo smbpasswd -a pi |
Then restart Samba to take into account changes
sudo /etc/init.d/samba restart |
Installing Wiring PI for testing GPIO
Coming soon...