Linux Networking
Find default gateray
The one with default is the default gateway
-
ip route
What ports are in use
The one with default is the default gateway
What ports are in use
My build process to build a Simple CI Server
My aim is to get a CI server which
- checks out code from git
- runs maven
- uses sqlplus to install files to external DB
Created a VM for Ubuntu 64bit. Gave it 8gb Ram
Created a dynamically allocated HD. 100Gb
Installed Ubuntu Server 16.04
Hostname: simpleciserver
User: robert
Encrypt Home: No
Software selection:
standard system utilities
OpenSSH server
Batch file/bash script to run java jar files:
Same but use ; rather than :
To add version information to a Java Application.
In the main proejct create a class called setVersion as follows
In the constructor call setVersionInfo for the App and also register any libraires required.
Code used to setup an oracle schema and tablespace etc. for playing about with.
Steps I have taking when configuring gedit:
(Ubuntu)
Enable External Tools in gedit.
Install python lxml:
Then add a tool:
tools -> manage external tools
Press +
XML Format
Paste:
Created a site dev.mylinkedthings.com so we get that included in certificate
Modified /var/sub/code2/.htaccess
Above line
"RewriteRule "(^|/)." - [F]"
add