pi6 (NFS SERVER)
sudo apt-get install nfs-kernel-server# Create directory structure
sudo mkdir /data03
sudo chmod a+wrx /data03# Create NFS server file
vi /etc/exports
# Add below line at the end of the file
/data03 pi7(rw,sync,no_subtree_check)# Reinit NFS server
sudo exportfs -rapi7 (NFS CLIENT)
sudo mkdir /data03
sudo chmod a+wrx /data03# Temporary mount
sudo mount -t nfs -o proto=tcp,port=2049 pi6:/data03 /data03# Final mount
sudo vi /etc/fstab
pi6:/data03 /data03 nfs auto 0 0
BassieMusic Android App 2.8
PlaatSoft has released a new version of the BassieMusic Android App in the Google Play Store.
The following changes were made:
– Refactored the code a lot
– Make everything more efficient and faster
– Deezer API intergration for automatic album cover downloads!
Click here to download the latest version.
BassieMusic Android App 2.7
PlaatSoft has released a new version of the BassieMusic Android App in the Google Play Store.
The following changes were made:
– Better music metadata parsing
– Music cover images
– Better experience for tablet users
Click here to download the latest version.
Ansible on Raspberry Pi example
# Create master ansible node sudo apt-get install ansible sudo apt-get install sshpass -y # Check version if ansible ansible --version # Create host file and add below lines sudo /etc/ansible/hosts [plaatsoft] pi1 pi4 pi5 pi9 # update hostfile (Add all ansible target clients) sudo vi /etc/hosts pi1 192.168.2.101 pi4 192.168.2.104 pi5 192.168.2.105 pi9 192.168.2.109 # Generate private/public ssh key ssh-keygen -t rsa cat /home/pi/.ssh/id_rsa.pub # Login each target client / created authorized_keys and insert public ssh key of ansible master node vi .ssh/authorized_keys # Ping all clients nodes ansible all -m ping # expected output pi9 | SUCCESS => { "changed": false, "ping": "pong" } pi5 | SUCCESS => { "changed": false, "ping": "pong" } pi1 | SUCCESS => { "changed": false, "ping": "pong" } pi4 | SUCCESS => { "changed": false, "ping": "pong" } # Now create first playbook mkdir /etc/ansible/playbook mkdir /etc/ansible/playbook/files vi /etc/ansible/playbook/hello1.yml --- - name: first playbook example hosts: pi1 pi4 pi5 pi9 tasks: - name: Create a file called '/tmp/hello1.txt' with the content 'hello world'. copy: content: hello world dest: /tmp/hello1.txt # Execute first playbook ansible-playbook hello1.yml PLAY [This is a hello-world example] ************************************************************************************************************ TASK [Gathering Facts] ************************************************************************************************************************** ok: [pi5] ok: [pi9] ok: [pi1] ok: [pi4] TASK [Create a file called '/tmp/hello.txt' with the content 'hello world'.] ******************************************************************** ok: [pi9] ok: [pi5] ok: [pi1] ok: [pi4] PLAY RECAP ************************************************************************************************************************************** pi1 : ok=2 changed=1 unreachable=0 failed=0 pi4 : ok=2 changed=1 unreachable=0 failed=0 pi5 : ok=2 changed=1 unreachable=0 failed=0 pi9 : ok=2 changed=1 unreachable=0 failed=0 # Now create second playbook vi /etc/ansible/playbook/files/hello.txt ENTER SOME TEXT vi /etc/ansible/playbook/hello2.yml --- - name: This is a second example hosts: pi1 pi4 pi5 pi9 tasks: - name: Create a file called '/tmp/hello.txt' with content copy: src: ./files/hello2.txt dest: /tmp/hello2.txt # Execute second playbook ansible-playbook hello2.yml PLAY [This is a second example] ***************************************************************************************************************** TASK [Gathering Facts] ************************************************************************************************************************** ok: [pi5] ok: [pi9] ok: [pi1] ok: [pi4] TASK [Create a file called '/tmp/hello.txt' with content] *************************************************************************************** changed: [pi9] ok: [pi5] changed: [pi1] changed: [pi4] PLAY RECAP ************************************************************************************************************************************** pi1 : ok=2 changed=1 unreachable=0 failed=0 pi4 : ok=2 changed=1 unreachable=0 failed=0 pi5 : ok=2 changed=0 unreachable=0 failed=0 pi9 : ok=2 changed=1 unreachable=0 failed=0
BassieMusic Android App 2.6
PlaatSoft has released a new version of the BassieMusic Android App in the Google Play Store.
The following changes were made:
– Added real shuffle mode by holding down the shuffle button
– Added music playing history by holding down the previous and next buttons
Click here to download the latest version.
Maven settings.xml with Nexus entry
<?xml version="1.0" encoding="UTF-8"?> <settings xmlns="http://maven.apache.org/SETTINGS/1.1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.1.0 http://maven.apache.org/xsd/settings-1.1.0.xsd"> <mirrors> <mirror> <id>nexus</id> <mirrorOf>*</mirrorOf> <url>https://nexus.plaatsoft.nl/repository/maven-public/</url> </mirror> </mirrors> <profiles> <profile> <id>nexus</id> <properties> <altSnapshotDeploymentRepository>nexus::default::https://nexus.plaatsoft.nl/repository/maven-snapshots/</altSnapshotDeploymentRepository> <altReleaseDeploymentRepository>nexus::default::https://nexus.plaatsoft.nl/repository/maven-releases/</altReleaseDeploymentRepository> </properties> </profile> </profiles> <activeProfiles> <activeProfile>nexus</activeProfile> </activeProfiles> <servers> <server> <id>nexus</id> <username>XXX</username> <password>XXX</password> </server> </servers> </settings>
BassieMusic Android App 2.5
PlaatSoft has released a new version of the BassieMusic Android App in the Google Play Store.
The following changes were made:
– Make fast scrollbar optional
– Some bug fixes
Click here to download the latest version.
WarQuest Android App 2.3
A new WarQuest Android app (v2.3) is released in the Google Play Store by bplaat.
This version has the following new features:
– Major code rewrite
– More animations
– Add some stuff to the settings menu
– Bug fixes
Click here to download the latest version.
BassieMusic Android App 2.4
PlaatSoft has released a new version of the BassieMusic Android App in the Google Play Store.
The following changes were made:
– Many bug fixes
– The music playing state is more consistent
– Some code future proofing
Click here to download the latest version.
BassieMusic Android App 2.3
PlaatSoft has released a new version of the BassieMusic Android App in the Google Play Store.
The following changes were made:
– Added fast alphabetic scrollbar
– Fixed music sort order to be case insensitive
– Added more animations and polished the UI experience more
– Added remember last song feature
– Cleaned up the source code a lot
Click here to download the latest version.
BassieMusic Android App 2.2
PlaatSoft has released a new version of the BassieMusic Android App in the Google Play Store.
The following changes were made:
– Fixed some bugs
– Added material design ripple animations to icon buttons
– Updated the settings page
Click here to download the latest version.
WarQuest Android App 2.2
A new WarQuest Android app (v2.2) is released in the Google Play Store by bplaat.
This version has the following new features:
– Removed support for Android versions lower then 5.0 Lollipop
– Add language and theme option to the settings page
– Fixed some dark mode / theme bugs
Click here to download the latest version.
BassieMusic Android App 2.1
PlaatSoft has released a new version of the BassieMusic Android App in the Google Play Store.
The following changes were made:
– Removed support for Android versions lower then 5.0 Lollipop
– Redesigned the search page
– Add better settings page
– Fixed some dark theme bugs
Click here to download the latest version.
BassieMusic Android App 2.0
PlaatSoft has released a new version of the BassieMusic Android App in the Google Play Store.
The following changes were made:
– A new music search function
– Fixed some bugs
Click here to download the latest version.
BassieMusic Android App 1.6
PlaatSoft has released a new version of the BassieMusic Android App in the Google Play Store.
The following changes were made:
– Bug fixes for Android 10
Click here to download the latest version.
WarQuest Android App 2.1
A new WarQuest Android app (v2.1) is released in the Google Play Store by bplaat.
This version has the following new features:
– Old account data seamless conversion to new app
– Some multi line layout bug fixes
Click here to download the latest version.
WarQuest Android App 2.0
A new WarQuest Android app (v2.0) is released in the Google Play Store by bplaat.
This version has the following new features:
– New account switcher
– Better user experience
– Fixed some bugs
Click here to download the latest version.
WarQuest 7.3 (Game update!)
Today there is a new update of WarQuest online!
This is the next release of WarQuest. This release contain the following changes and bug fixes:
Game Server
– Fixed bug that prevent registering of new players
– Fixed bug that prevent players of level zero to spend skill points on attack or defence
– Make all language code files UTF-8 complaint
– Update all copyright years to right year (2020)
– Removed some weird black bars in the announcement images
– Removed obsolete store links on the login page
– Add new Google Play Store download link
– Fixed some small layout issues
– Add theme Modern (Tablet / Desktop)
– Fixed the announcements when using an ad blocker
– Fixed gravatar http image loading bug on Android
– Update all http links to https and fixed all old domain names
– Added simple JSON REST API that the renewed WarQuest Android App uses
– Add bplaat (b.b.b.) to the developers (because he made this update)
Play
Click here to enter directly the game!
WarQuest 7.2
This is the next release of WarQuest. This release contain the following changes and bug fixes:
Game Server
– Fix bigint max value written to database.
Play
Click here to enter directly the game!
Webserver crash
Too bad one of my webservers crashed (Solid state disk failed) 3 days ago. I have roll in a new server and migrated all websites to this new server. If you miss something, please let me known.
I also updated the following software:
– Debian to buster
– WordPress to 5.4.1
KnightsQuest 0.5.0
This evening the next released of KnightQuest. It contain the following new features:
– Improve logging framework
– Added java doc in the source code
– Improve web services layer
– Added sound effects!
Click here to download the latest version.
PlaatService 0.4.0
Today i released the next version of PlaatService
The following changes were made:
– Service is rewritten in Java
– Added support for postgres database
– Added unit tests
– Source code is now stored in GitHub
RedSquare 0.4.0
The next release of RedSquare for Java is released. The following changes are made:
18-03-2020 Version 0.4.0
– Move project to GitHub.
– Added JavaDoc
– Update Log4J2 framework.
– Update URL GeoCode WebService.
– Update WebService process logic.
– Remove Sonar warnings.
Click here to download the latest version.
PlaatService installation manual
step 1: Setup raspberry pi node
Set hostname
step 2: sudo vi /etc/hostname
Set hostname, domainname
step 3: sudo vi /etc/hosts
Set fix ip address and gateway ip address
step 4: sudo vi /etc/dhcpcd.conf
Install java
step 5: sudo apt-get install galternatives openjdk-8-jdk
Install mysql
step 6: sudo apt-get install mariadb-server
Create database
step 7: sudo mysql -u root
CREATE DATABASE plaatservice;
CREATE USER ‘plaatservice’@’localhost’ IDENTIFIED BY ‘plaatservice’;
GRANT ALL PRIVILEGES ON plaatservice.* TO ‘plaatservice’@’localhost’;
FLUSH PRIVILEGES;
Deploy service
step 8: cp plaatservice.jar /home/pi
Start Service
step 9: sudo nohup java -jar plaatservice.jar
Add java to Raspberry Pi
sudo apt-get install default-jdk