August 2020
« Mar    


WordPress Quotes

If you have built castles in the air, your work need not be lost; that is where they should be. Now put foundations under them.
Henry David Thoreau
August 2020
« Mar    

Short Cuts

2012 SERVER (64)
2016 windows (9)
AIX (13)
Amazon (40)
Ansibile (19)
Apache (135)
Asterisk (2)
cassandra (2)
Centos (211)
Centos RHEL 7 (270)
centos8 (3)
chef (3)
cloud (2)
cluster (3)
Coherence (1)
DB2 (5)
DISK (25)
DNS (9)
Docker (30)
Eassy (11)
ELKS (1)
Fedora (6)
ftp (5)
GIT (3)
GOD (2)
Grub (1)
Hacking (10)
Hadoop (6)
health (2)
horoscope (23)
Hyper-V (10)
IIS (15)
JAVA (7)
JBOSS (32)
jenkins (1)
Kubernetes (7)
Ldap (5)
Linux (188)
Linux Commands (166)
Load balancer (5)
mariadb (14)
Mongodb (4)
MQ Server (24)
MYSQL (84)
Nagios (5)
NaturalOil (13)
Nginx (35)
Ngix (1)
openldap (1)
Openstack (6)
Oracle (35)
Perl (3)
Postfix (19)
Postgresql (1)
PowerShell (2)
Python (3)
qmail (36)
Redis (12)
RHCE (28)
Security on Centos (29)
SFTP (1)
Shell (64)
Solaris (58)
Sql Server 2012 (4)
squid (3)
SSH (10)
SSL (14)
Storage (1)
swap (3)
TIPS on Linux (28)
tomcat (62)
Ubuntu (1)
Uncategorized (30)
Veritas (2)
vfabric (1)
VMware (28)
Weblogic (38)
Websphere (71)
Windows (19)
Windows Software (2)
wordpress (1)

WP Cumulus Flash tag cloud by Roy Tanck requires Flash Player 9 or better.

Who's Online

0 visitors online now
0 guests, 0 bots, 0 members

Hit Counter provided by dental implants orange county

Install Postfix on Solaris 11

Install Postfix on Solaris 11


# Prepare compile environment root@xxx:~/# cat /etc/release Oracle Solaris 11.1 X86 root@xxx:~/# pkg install developer/gcc-45 root@xxx:~/# pkg install library/gnutls

# Disable sendmail root@xxx:~/# svcadm disable svc:/network/smtp:sendmail

# get postfix from postfix sites

# Install postfix root@xxx:~/# tar xf postfix-2.x.x.tar.gz root@xxx:~/postfix-2.10.1# cd postfix-2.x.x root@xxx:~/postfix-2.10.1# gmake clean root@xxx:~/postfix-2.10.1# gmake makefiles […]

solaris: how to recover solaris 11 root password

solaris: how to recover solaris 11 root password


boot net -s boot cdrom -s, if it ask username: root/solaris or root/password.

on x86, you need edit grub and append -s on kernel line.

after login. mount /dev/dsk/cxtxdxsx /a

if you use zfs for /, then zfs import zfs list zfs set mountpoint=/a rpool/ROOT/solaris zfs […]

GRUB password solaris 11

GRUB password Nowadays I’d say it’s hard to believe that anything is really secure. Nevertheless one can keep going adding more and more barriers. The idea is not to be selected as an easier path to attack. But again, if someone is determined who can tell…

Despite this gave introduction, my goal is to repeat […]

Solaris 11 Network add

Solaris 11 coming with new feature and enhancement, one of it is NWAM (Network automagic) with NWAM you can create and save the network profile. In this post, I’ll blogging about how to configure your Solaris 11 Systems to used static IP Address.

Ok let’s start : 1. Switch From Automatic Network Configuration Mode to […]

dos2unix / unix2dos

dos2unix Single Command Wrapper Script perl -pi -e ‘s/\\r//’ [file] #!/bin/sh # Copy to /usr/local/bin/dos2unix

if [ “$1” = “” ]; then echo Usage: `basename $0` [filename] exit fi

# Convert to Unix format. perl -pi -e ‘s/\\r//’ $1 unix2dos Single Command Wrapper Script perl -pi -e ‘s/\\r//; s/\\n/\\r\\n/’ [file] #!/bin/sh # Copy to /usr/local/bin/unix2dos


Modifying Network Parameters in Solaris 10

Modifying Network Parameters in Solaris 10 My reference: The Center for Internet Security (Solaris 10 Benchmarks v4.0). To get the SMF service to run correctly, do the following:

mkdir -m 755 /var/svc/method chown root:sys /var/svc/method cd /var/svc/method

cat > cis_netconfig.xml

CIS Network Parameter Set


anooying ^M characters

When you sometimes copy a file from Windows to UNIX/Solaris or even Linux systems, you can find these anooying ^M characters everywhere. This is because, the file from Windows is in DOS (ASCII) format and needs to be converted to ISO format.

There are many ways to do this. Let’s start with the easy one […]

Solaris Tips and Tricks

Solaris Tips and Tricks PS Long Listing You want to see the whole command, but – how annoying – ps truncates to 80 characters.

/usr/ucb/ps augxww gives full command listings.

If you’re only interested in one process, an excellent alternative is pargs which lists the command line arguments for a given command.

For example: pargs […]

solaris 10 reference

solaris Release

Get the release of your OS by cat /etc/release: OpenSolaris 2009.06 Example: OpenSolaris 2009.06 snv_111b X86 Copyright 2009 Sun Microsystems, Inc. All Rights Reserved. Use is subject to license terms. Assembled 07 May 2009 Solaris 10 Oracle Solaris 10 9/10 s10s_u9wos_14a SPARC Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved. Assembled […]

Enabling Remote root login Solaris 10.

Enabling Remote root login Solaris 10.

It is neither recommended nor suggested to allow remote root logins for security reasons. For Test servers, Non-production servers or other servers, you may want to allow remote root login via SSH.

Usually you get “Access denied” errors when accessing a Solaris server as root when logging on remotely.