Friday, January 9, 2015

Thursday, January 8, 2015

Startup NFS Client on Solaris 11

svcadm enable svc:/network/nfs/rquota:default
svcadm enable svc:/network/nfs/mapid:default
svcadm enable svc:/network/nfs/status:default
svcadm enable svc:/network/nfs/nlockmgr:default
svcadm enable svc:/network/nfs/server:default
svcadm enable svc:/network/nfs/cbd:default

Install xterm on Solaris 11


Download Oracle Key and Certificate

  1. # pkg unset-publisher solaris
  2. # pkg set-publisher -k /security/solaris11/publisher/pkg.oracle.com.key.pem -c /security/solaris11/publisher/pkg.oracle.com.certificate.pem -G "*" -g https://pkg.oracle.com/solaris/support/ --proxy http://proxy.ibm.ca:8000 solaris
  3. xauth - required to allow ssh to set up X11 forwarding with authentication
    # pkg install xauth
  4. x11/diagnostic/x11-info-clients - required for software that executes xdpyinfo
    # pkg install x11/diagnostic/x11-info-clients
  5. library/motif - required for software that has a Motif GUI
    # pkg install library/motif
  6. terminal/xterm
    # pkg install xterm
or

# pkg install xauth  x11/diagnostic/x11-info-clients library/motif xterm

Change no_files in Solaris

Referen: http://serverfault.com/questions/21417/how-to-set-ulimits-in-solaris-10


To make it a system-wide change, edit /etc/system with following entries
# Hard limit on file descriptors for single process
set rlim_fd_max = 4096

# Soft limit on the file descriptors for a single process
set rlim_fd_cur = 1024

NOTE: without setting rlim_fd_max as shown above, the default value for file descriptors or nofiles is half of the rlim_fd_cur value. So, it's best to set them both.
If you are using a Solaris project for an application space like Oracle Database, you can set the max file descriptors in the project by:

projmod -s -K "process.max-file-descriptor=(privileged,1024,deny)" user.root


Tuesday, January 6, 2015

xdpyinfo

# yum -y install xorg-x11-utils
# yum install xorg-x11-apps