• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer navigation

The Geek Diary

  • OS
    • Linux
    • CentOS/RHEL
    • Solaris
    • Oracle Linux
    • VCS
  • Interview Questions
  • Database
    • oracle
    • oracle 12c
    • ASM
    • mysql
    • MariaDB
  • DevOps
    • Docker
    • Shell Scripting
  • Big Data
    • Hadoop
    • Cloudera
    • Hortonworks HDP

Archives for January 2014

How to change hostname in Solaris 11

by admin

In Oracle Solaris 11, /etc/nodename file is replaced with the config/nodename property of the svc:/system/identity:node service. So in order to change hostname in Solaris 11, we need to change the property to the new hostname and restart the service. Current hostname – geeklab New hostname – geekserver 1. To list the current hostname (i.e. config/nodename […]

Filed Under: Solaris 11

What is SUID, SGID and Sticky bit ?

by admin

There are 3 special permission that are available for executable files and directories. These are : 1. SUID permission 2. SGID permission 3. Sticky bit Set-user Identification (SUID) Have you ever thought, how a non-root user can change his own password when he does not have write permission to the /etc/shadow file. hmmm… interesting isn’t […]

Filed Under: Linux, Solaris, Solaris 11

How to change hostname in Solaris 8, 9 and 10

by admin

How to change hostname in Solaris 11 There are basically 2 ways to change the hostname in Solaris 10 and below. The post describes both these methods and also how to change hostname or IP address in Non-Global zones. 1. Using the sys-unconfig Command sys-unconfig command restores the system’s configuration to an “as-manufactured” state, ready […]

Filed Under: Solaris, Zones

Solaris Snoop : 15 Awesome practical examples for packet sniffing

by admin

The snoop command can come very handy to monitor the network traffic to troubleshoot any network related issues like packet drops, high network latency etc. Snoop command can be run to see the real time network traffic or can be saved to a file and can be viewed at a later time. Note : – […]

Filed Under: Solaris

The ultimate Solaris sendmail troubleshooting guide

by admin

Sometimes it becomes too difficult to troubleshoot sendmail problems. Here are some of the most commonly faced sendmail issues. Sendmail Configuration files /etc/mail/sendmail.cf Defines environment for sendmail /etc/mail/submit.cf Defines environment for MSP (Mail submission program) Sendmail Daemons Solaris 9 uses 2 queue paradigm and thus there are 2 sendmail daemons /usr/lib/sendmail -Ac -q15m /usr/lib/sendmail -bd […]

Filed Under: Solaris

Solaris beginners guide to NFS

by admin

What’s NFS Network File System (NFS) is a protocol which allows file systems on one system to be made available on a remote system on the network. NFS works on the server-client model with server sharing the resource and client mounting it. NFS versions The 3 major versions of NFS are : NFSv2 (very rarely […]

Filed Under: Solaris

The ultimate Solaris CRON troubleshooting guide

by admin

Cron facility can be used to schedule regularly occurring commands or scripts. Users can submit cron jobs by adding an entry to their respective crontabs located in /var/spool/cron/crontabs directory and stored as their login name. Below are few of the troubleshooting tips and best practices which can be helpful in many cases. Important cron files […]

Filed Under: Solaris

Solaris ZFS command line reference (Cheat sheet)

by admin

Pool Related Commands # zpool create datapool c0t0d0 Create a basic pool named datapool # zpool create -f datapool c0t0d0 Force the creation of a pool # zpool create -m /data datapool c0t0d0 Create a pool with a different mount point than the default. # zpool create datapool raidz c3t0d0 c3t1d0 c3t2d0 Create RAID-Z vdev […]

Filed Under: ZFS

How to configure an IP address in Solaris 11

by admin

Oracle made a huge changes in the networking stack with Solaris 11. The use of many network related files have been deprecated in Solaris 11. Below are some of the files which are not used in Solaris 11 for persistent network configuration : /etc/defaultdomain /etc/dhcp.* /etc/hostname.* /etc/hostname.ip*.tun* /etc/nodename /etc/nsswitch.conf Network Configuration Profile Solaris 11 uses […]

Filed Under: Solaris 11 Tagged With: solaris 11

How to share ZFS as NFS in Solaris 11

by admin

ZFS is the default file system when it comes to Solaris 11. In solaris 11, Oracle made it even easy to share ZFS as NFS file system. The major change that oracle made in NFS sharing is that it removed the dependency of /etc/dfs/dfstab to share NFS permanently. The file /etc/dfs/dfstab is obsolete in Solaris […]

Filed Under: Solaris 11, ZFS

Next Page »

Primary Sidebar

Recent Posts

  • nixos-rebuild Command Examples in Linux
  • nixos-option: Command Examples in Linux
  • nixos-container : Command Examples in Linux
  • nitrogen Command Examples in Linux

© 2023 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright