Even before installing Solaris, I heard that Blastwave is the best. So I followed this perfect tutorial:
Wonderful. Like Debian apt-get, it installs everything and its dependencies from binaries. Incredibly fast.
But… it puts things in unexpected places. FreeBSD has spoiled me with EVERYTHING going in /usr/local/
Most things installed with pkg-get seem to install into /opt/csw/bin/
All of MySQL’s many subdirectories went into /opt/csw/mysql5/. All of PostgreSQL’s went into /opt/csw/postgresql/
*Do I really have to add ALL of those directories into my PATH?* (System-wide for all users, too, I guess?) What’s the typical way you Solaris fans manage these?
When installing MySQL I got this message:
Configuring service in SMF.
MySQL 5 is using Service Management Facility. The FMRI is svc:/network/cswmysql5:default
I guess my.cnf is kept at /opt/csw/mysql5/my.cnf. Data directory is /opt/csw/mysql5/var.
You can start the MySQL daemon with:
cd /opt/csw/mysql5 ; /opt/csw/mysql5/bin/mysqld_safe &
So far this Solaris PDF called “System Administration Guide: Basic Administration” has been incredibly helpful. But man, this Service Management Facility stuff is kinda complicated.