holy moley its guacamole!!

here is my guacamole server! with guacamole you can setup your own remote server with vnc, rdp and ssh support. based on tomcat and open source. I installed this on top of ubuntu 16.04 lts.

i used this – chase wright blogged this and it worked for me!!

The following will run a full dist-upgrade then install Guacamole 0.9.9, Tomcat 8, and MySQL for you. All you have to do is pick a MySQL Root Password and optionally change the guacamole_user password.

Additional Credits to Emilio and Alex for the RDP fix(s) in comments section.

#!/bin/bash
# WORKING ON UBUNTU 15.10 WITH GUAC 0.9.9 AND TOMCAT8

#Update Everything
apt-get update && apt-get -y dist-upgrade

#Install Stuff
apt-get -y install libcairo2-dev libpng12-dev libossp-uuid-dev libfreerdp-dev libpango1.0-dev libssh2-1-dev libtelnet-dev libvncserver-dev libpulse-dev libssl-dev libvorbis-dev libwebp-dev mysql-server mysql-client mysql-common mysql-utilities tomcat8 freerdp ghostscript wget

# Install libjpeg-turbo-dev
wget -O libjpeg-turbo-official_1.4.2_amd64.deb http://downloads.sourceforge.net/project/libjpeg-turbo/1.4.2/libjpeg-turbo-official_1.4.2_amd64.deb
dpkg -i libjpeg-turbo-official_1.4.2_amd64.deb

# Add GUACAMOLE_HOME to Tomcat8 ENV
echo "" >> /etc/default/tomcat8
echo "# GUACAMOLE EVN VARIABLE" >> /etc/default/tomcat8
echo "GUACAMOLE_HOME=/etc/guacamole" >> /etc/default/tomcat8

#Download Guacamole Files
wget -O guacamole-0.9.9.war http://downloads.sourceforge.net/project/guacamole/current/binary/guacamole-0.9.9.war
wget -O guacamole-server-0.9.9.tar.gz http://sourceforge.net/projects/guacamole/files/current/source/guacamole-server-0.9.9.tar.gz
wget -O guacamole-auth-jdbc-0.9.9.tar.gz http://sourceforge.net/projects/guacamole/files/current/extensions/guacamole-auth-jdbc-0.9.9.tar.gz
wget -O mysql-connector-java-5.1.38.tar.gz http://dev.mysql.com/get/Downloads/Connector/j/mysql-connector-java-5.1.38.tar.gz

#Extract Guac
tar -xzf guacamole-server-0.9.9.tar.gz
tar -xzf guacamole-auth-jdbc-0.9.9.tar.gz
tar -xzf mysql-connector-java-5.1.38.tar.gz

# MAKE DIRECTORIES
mkdir /etc/guacamole
mkdir /etc/guacamole/lib
mkdir /etc/guacamole/extensions

# Install GUACD
cd guacamole-server-0.9.9
./configure --with-init-dir=/etc/init.d
make
make install
ldconfig
systemctl enable guacd
cd ..

# Move files to correct locations
mv guacamole-0.9.9.war /etc/guacamole/guacamole.war
ln -s /etc/guacamole/guacamole.war /var/lib/tomcat8/webapps/
ln -s /usr/local/lib/freerdp/* /usr/lib/x86_64-linux-gnu/freerdp/.
cp mysql-connector-java-5.1.38/mysql-connector-java-5.1.38-bin.jar /etc/guacamole/lib/
cp guacamole-auth-jdbc-0.9.9/mysql/guacamole-auth-jdbc-mysql-0.9.9.jar /etc/guacamole/extensions/

# Configure guacamole.properties
echo "mysql-hostname: localhost" >> /etc/guacamole/guacamole.properties
echo "mysql-port: 3306" >> /etc/guacamole/guacamole.properties
echo "mysql-database: guacamole_db" >> /etc/guacamole/guacamole.properties
echo "mysql-username: guacamole_user" >> /etc/guacamole/guacamole.properties

# This is where you will want to change "PASSWORD"
echo "mysql-password: PASSWORD" >> /etc/guacamole/guacamole.properties
rm -rf /usr/share/tomcat8/.guacamole
ln -s /etc/guacamole /usr/share/tomcat8/.guacamole

# Restart Tomcat Service
service tomcat8 restart

Setup MySQL, change the MYSQLROOTPASSWORD to whatever you set it to and if you change the guacamaole_user password here be sure to go back and change it in /etc/guacamole/guacamole.properties

mysql -u root -pMYSQLROOTPASSWORD
create database guacamole_db;
create user 'guacamole_user'@'localhost' identified by 'PASSWORD';
GRANT SELECT,INSERT,UPDATE,DELETE ON guacamole_db.* TO 'guacamole_user'@'localhost';
flush privileges;
quit

Populate the database you just created. Again, change the MYSQLROOTPASSWORD

cat guacamole-auth-jdbc-0.9.9/mysql/schema/*.sql | mysql -u root -pMYSQLROOTPASSWORD guacamole_db

Now just log into your guacamole server using the default “guacadmin/guacadmin” and set it up. If you want you can remove all the downloads (cleanup)

# Cleanup Downloads
rm libjpeg-turbo-official_1.4.2_amd64.deb
rm guacamole-server-0.9.9.tar.gz
rm guacamole-auth-jdbc-0.9.9.tar.gz
rm mysql-connector-java-5.1.38.tar.gz
# Cleanup Folders
rm -rf mysql-connector-java-5.1.38/
rm -rf guacamole-auth-jdbc-0.9.9/
rm -rf guacamole-server-0.9.9/
 

ubuntu tool collection for guitar players.

Finally the tool collection for guitar and bass players!
Guitar tools is a mobile application containing tools for guitar players:
– Guitar tuner
– Guitar player
– Metronome
– Recorder
– Chord library
– Drum loops

https://uappexplorer.com/app/guitar-tools.t-mon

 

batch file renames on ubuntu

now this is a quick handy install for renaming batch folders of files, thunar is a lightweight file mananer which comes with available plugins which will do the renaming, so on ubuntu get a terminal and enter this

sudo apt-get install --no-install-recommends thunar
sudo apt-get install thunar-media-tags-plugin

thunar renameso easy i selected insert / overwrite and insert and inserted the text i wanted to be added 🙂 simples.

 

its been a while since i wrote a blog!

Well its been a while since i wrote a blog i prefer the video blogs now, thats just me being lazy! Been fairly busy with work and as well as getting the ubuntu HD5 phone and ubuntu M10 tablet image20160706_112155528which has been great just what ive been waiting for we also got ubuntu 16.04 LTS so i decided to re-setup my laptop and home media server as well as adding a back up server using the built in back up service in ubuntu which i have to say was breeze to setup and should have done it a long time ago! Sorting out my music collection and files from scratch has been a mission but all went great. Im using owncloud for file and contact / calendar sync which installs on all the devices and just works great. Im now using emby media server which kicks the ass out of plex for lots or reasons and transmision server for the occasional torrent.  Zoneminder for the cameras is the best, rock solid and works well remotely and never burps once you have got over the semi hard task of setting it up with all its niggles with php zones and mysql config files.

screenshot20160715_180701936

Been back and forth to spain as usual and just love the place. Ill be posting some new photos for you to see of malaga and the castle there. Malaga central has to be one of the places to visit. I watch TV and its all marbella this, marbella that! you never visited spain till you been in land and enjoyed spain for what it really is not whats its glammed up to be on TV, as its not all like that trust me.

Band wise ive been out of the picture for a 6 month break and working on my own stuff which has been great, got myself another alembic bass alembic basswhich i love specially for the amount of different noises it makes for recording, ill be putting some stuff out again soon. Ive rolled rubber soul of now and looking around for other bands to mingle and and take a step back and let others do the work! have to say ive had a great time playing with the lads, pauls a good friend and frank getting on as they say and ready for retirement sure kicks the ass out of a lot of drummers ive worked with, style wise can play anything and timing wise cant be beat, great vocalist to. Ive been asked about reunions with old bands which for one im not interested – i dont have time for people who for one are sneaky, underhanded, not loyal and just trouble makers. So on that one get what i created and shove it were the sun dont shine its had its day, talk about flogging a dead horse. Any way to the future and the new music im creating and the new musical experiences i can encounter and new pubs not just the one that will book you.

Now i know all the good people in my life i keep them near, all the others i have for sure rejected and want nothing to do with.

Love, peace and happiness to all the ones i love and karma to the bitches i hate, you know you are.

 

 

Rockwork On Ubuntu Phone

You looking at connecting your ubuntu phone or tablet to a smart watch? then look at the pebble line as they are currently the only smart watches that will connect with pebble and you gain some nice features.

  • notifications of calls
  • notifications of messages
  • drop calls
  • music control
  • sync calendar to timeline
  • update firmware
  • install apps
  • take screen shots
  • configure health

If you want to get it installed easy then get openstore installed and install from inside that.

https://open.uappexplorer.com/docs#install

follow the instructions.

rock work on ubuntu phone

the main site is here – https://launchpad.net/rockwork

 

The Ubuntu SDK Emulator Runs Again!

quick up date for getting the ubuntu phone emulator running currently on 10.1 is here – there hasnt been a update since novermber apparently and ive being struggling like hell to get this running . So now you can write apps and test all on your computer or laptop again. To be honest be nice to see the SDK running on the ubuntu m10, there was a click package on the list which was a test SDK but i never got it to load. I can see it working soon though.

But if your running xenial 16.04 run these commands after installing the SDK in a terminal.

sudo ubuntu-emulator create –channel ubuntu-touch/stable/ubuntu stable-test
ubuntu-emulator run stable-test

Workspace 1_003

i finish of by adding a armhf kit instructions i got from here

https://developer.ubuntu.com/en/phone/apps/sdk/tutorials/building-cross-architecture-click-applications/

basically:

    1. Open Tools > Options.
    2. Select Ubuntu in the vertical panel on the left of the Options dialog.
    3. Select the Click tab.
      • Click Create Click Target to create a new target.
      • In the popup dialog, select your target framework and armhf as the architecture.
    4. Enter password and select ok

oh and a sneak preview of the health update..

photo_2016-05-13_13-25-20

 

mays monthly ubuntu blog – BQ aquarius ubuntu m10 tablet

here is the command for the onscreen keyboard for gedit and firefox etc

DISPLAY=:0 libertine-launch puritine matchbox-keyboard

just run the above command in a terminalwhen the gedit app or firefox is open.

I hear they are adding on the onscreen keyoard in OTA 11 due early june. Which will be much better.

 

technology, linux, life and music… what else is there?