Monday, February 04, 2019

Building OpenJDK 12 on Solaris 11 x86_64

Following on from a previous blog "Building OpenJDK 11 on Solaris 11 x86_64" I have added instructions for OpenJDK 12 on Oracle Solaris 11.4 x64 (SPARC version downloadable).

Wednesday, October 10, 2018

Building OpenJDK 11 on Solaris 11 x86_64

Following on my last blog "Building OpenJDK10 on Solaris 11" I have added instructions for OpenJDK 11 on Oracle Solaris x64 (SPARC version downloadable).

Friday, September 07, 2018

Building OpenJDK 10 on Solaris 11 x86_64

Well, as we all know Oracle are not allowing the release a binary version of Java 9,10 and may be 11 on Oracle Solaris x64 at this time (SPARC version downloadable). We can all guess why but I hope that they will release a x86 version soon.

Anyway, if you want to keep up with everyone else you can build the OpenJDK version. It builds under Oracle Solaris x64 and SPARC (saying that having problem with SPARC version at this time). Full build information is here
Setup:

Thursday, July 19, 2018

Package version differences between Solaris 11.4 Beta v Solaris 11.3 SRU latest

Thought I would just do a quick comparison between the software versions of the packages in Solaris 11.4 Beta Refresh 2 (11.4.0.0.1.10.0) and latest Solaris 11.3 SRU  (11.3.34.4.0).

Wednesday, May 23, 2018

Fixes Ciphers on Apache httpd server

I thought I would just make a note of the steps to check what cipher I was running on our web server and to see how to remove any old/weak ones.

Ref:

Wednesday, April 25, 2018

Solaris 11.4: FileZilla 3.31 builds on Solaris cleanly (nearly)

After seeing a post on twitter about building FileZilla on Solaris 11.3 I thought I would I would try it on Solaris 11.4.

I did get it working but with some "Dirty Fixes", by adding cast of "size_t" to a lot of code, but then I realised that there was a quicker fix..

Friday, April 13, 2018

Solaris 11.4: LDAP changes for ldapsearch & ldapmodify

With the release of Oracle Solaris 11.4 Beta and the move over to OpenLDAP, you will notice ldap commands have changed. To help myself and may be some others I will document the changes for reference.

Ref: Using ldapsearch to do an LDAP Search using TLS/SSL
       Updated: How to Connect Securely to LDAP using PHP
       How To Manage and Use LDAP Servers with OpenLDAP Utilities

Tuesday, March 06, 2018

Solaris 11.4: Tips about Upgrading from Solaris 11.3

With the release of Oracle Solaris 11.4 Beta I am sure many have upgraded but when I tried to upgrade my Sun Ultra 24 desktop I had a few problems. This is more down to me modifying the Solaris over the years and not with Solaris 11.4.

Just checked and I installed Solaris 11 back in 20th October 2011 11:19pm.

Wednesday, February 07, 2018

Solaris 11.4: Setting up Sendmail / SASL to handle SMTP AUTH

With the release of Solaris 11.4 Beta we finally get SASL implementation based on the open source Cyrus SASL version 2.1.26 with a few changes. Which means that Solaris can now handle SMTP AUTH out of the box.

I have been here before with previous blog entries:
- Can Solaris 11 Sendmail / SASL handle SMTP AUTH
- Solaris 11: Setting up Sendmail / SASL to handle SMTP AUTH

Ref: Using Simple Authentication and Security Layer

Tuesday, October 10, 2017

Setting up Oracle Solaris iSCSI Targets for Multipathed

After wasting 2 weeks on getting this to work I thought I would post a step-by-step guide.

I have been using iscsi targets on Oracle Solaris for years, but only with the installation of a new storage system with two VLANS (multipathed) for failover I needed Solaris to recognise the different VLANs in case of a interface failure.

This wasn't easy, since the Oracle Solaris documentation  is very unclear about it. It has all the information there but finding it and understanding it is near impossible.

The following steps show you the procedure to connect and a single iscsi target accessible via two interfaces for failover.

Thursday, May 11, 2017

Oracle Solaris 11.3 PHP and LDAPS now work together

Well 2 years ago I complained about LDAPS did not work with PHP in Solaris 11.2 well with Oracle Solaris 11.3 and a recent SRU they are now working in partnership.

Monday, August 15, 2016

Gotchas when migrating from Samba to Oracle Solaris 11 SMB Server

I am in the middle of migrating "Oracle Solaris 11 non-global zone running Samba" to an "Oracle Solaris 11 kernel zone running SMB server".
This blog isn't going to explain why you want to move and/or advantages/disadvantages, but I may get to do that at a later date. It is he to warn you about some things which you may not be aware of.

Thursday, July 28, 2016

How to copy a file from Solaris Global Zone to a Kernel Zone without a network

I posted this Tweet on twitter a while ago
Damn wish there was a way to copy a file from global zone to a kernel zone with out going over network.
and Darren Moffat pointed out a /system/shared which is read only from the zone but is writeable from the global zone. Here is a quick example:

Hoy to copy a file from Solaris Global Zone to a Kernel Zone without a network

I posted this Tweet on twitter a while ago
Damn wish there was a way to copy a file from global zone to a kernel zone with out going over network.
and Darren Moffat pointed out a /system/shared which is read only from the zone but is writeable from the global zone.
solaris-kz# ls /system/shared/
solaris-kz# touch /system/shared/ReadOnly
touch: cannot create /system/shared/ReadOnly: Read-only file system

solaris-kz# df /system/shared/
/system/shared     (/dev/kz/sdir/shared@0):296322344 blocks 28136253 files


global-zone# zoneadm list -vc
  ID NAME        STATUS   PATH  BRAND      IP   
   0 global      running  /     solaris    shared
   1 solaris-kz  running  -     solaris-kz excl 


global-zone# ls /system/volatile/zones/solaris-kz/zonepath/root/shared/
global-zone# touch /system/volatile/zones/mysqlsrv/zonepath/root/shared/myfile   

solaris-kz# ls /system/shared/
myfile

Monday, July 11, 2016

Compile GEOS geometry library on Solaris 11 using Oracle Developer Studio 12.5

This is a follow on from my posts about installing PostGIS in those posts I used GNU compilers, but I have managed to get parts to compile with Developer Studio 12.5.

If you are looking for the GNU version then it is here: Compile PostgreGIS (GEOS geometry library) on Solaris 11 (11.3) using gcc

Compile Proj4 reprojection library on Solaris 11 using Oracle Developer Studio 12.5

This is a follow on from my posts about installing PostGIS in those posts I used GNU compilers, but I have managed to get parts to compile with Developer Studio 12.5.

If you are looking for the GNU version then it is here: Compile PostgreGIS (Proj4 reprojection library) on Solaris 11 (11.3) using gcc

Monday, July 04, 2016

Install PostGIS on Solaris 11 (11.3)

I said I would install PostGIS for a student project but I wish I never said yes, since it has taken over a week to compile it.

As you may guess there are not many working instruction out in the wild!

I will break down this step-by-step guide into different blogs entries otherwise it will get very long.
I had to compile all software using GCC since Solaris Studio gave to many problems:

Compile PostgreGIS (GDAL) on Solaris 11 (11.3)

Before you install PostGIS you will need to install some of the requirements.

GDAL. is a translator library for raster and vector geospatial data format.