Updating Solaris 11

Check if there are any updates available: pkg list -u -u will show only the packages for which updates are available. Check the latest package version in the repository: pkg info -r system/zones (Optional) Perform a dry run: pkg update -nv Update: pkg update

Install or update the Certificate and Key for Solaris Support Repository

If it’s the first time using the Support Repository, you need to configure the solaris publisher with the new certificate and key found on the certificate page: pkg set-publisher -g https://pkg.oracle.com/solaris/support/ -c pkg.oracle.com.certificate.pem -k pkg.oracle.com.key.pem solaris To verify that the configuration has succeeded: To update expired certificate and key, simply run the command above omitting… Continue reading “Install or update the Certificate and Key for Solaris Support Repository”

Configuring rsyslog on Solaris 11

By default, Solaris uses its native syslog as the default log manager: svcs system-log STATE STIME FMRI disabled 12:07:34 svc:/system/system-log:rsyslog online 12:08:10 svc:/system/system-log:default If you want to use rsyslog, check if the package is installed (on my machine it’s already there): pkg info system/rsyslog To install it: pkg install system/rsyslog Now, to use rsyslog, first… Continue reading “Configuring rsyslog on Solaris 11”

Enable SFTP on Solaris 11

Once you’ve installed an OpenSSH server, you also have an SFTP server. In Solaris, you should check if the subsystem is configured properly or not. Configuration is stored in /etc/ssh/sshd_config file: Restart the service:

Solaris basics: boot environments

Solaris 11 uses ZFS as root files system. It all started with a product called Live Upgrade, supporting alternate boot environments (ABEs), a copy of the root file system that can be used as alternate boot devices. With BEs it’s the same except you don’t need additional partitions. You use ZFS’s snapshots to capture a… Continue reading “Solaris basics: boot environments”