Bind 9 Logging Setting Sample 
logging {
category lame-servers { null; };
category default { query_logging ; } ;
category queries { query_logging ; } ;
category resolver { query_logging ; } ;
channel query_logging {
file "/var/log/named/bind.log";
print-category yes;
print-severity yes;
print-time yes;
};
};


[ 發表回應 ] ( 14預覽 )   |  常註連結  |   ( 3.1 / 1661 )
查詢裝置的 major 與 minor 數值,並且建立到其它目錄中。 
查詢裝置的 major 與 minor 數值

# ls -lL /dev/zero /dev/null /dev/random /dev/poll

crw-rw-rw- 1 root sys 13, 2 May 3 18:05 /dev/null
crw-rw-rw- 1 root sys 135, 0 May 3 17:57 /dev/poll
crw-r--r-- 1 root sys 149, 0 May 3 17:22 /dev/random
crw-rw-rw- 1 root sys 13, 12 May 3 18:11 /dev/zero



建立到 /usr/local/test 中
# mknod /usr/local/test/dev/null c 13 2
# mknod /usr/local/test/dev/poll c 135 0
# mknod /usr/local/test/dev/random c 149 0
# mknod /usr/local/test/dev/zero c 13 12


[ 發表回應 ] ( 47預覽 )   |  常註連結  |   ( 3 / 1726 )
Fix cmi_hdl_create returned NULL 
原文:http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?locale=en_US&objectID=c01554955

This does not occur during the installation of Oracle Solaris 10 5/10.

During the installation of Oracle Solaris 10 5/08 or Oracle Solaris 10 5/09, perform the following to prevent the system panic and continuous reboot condition:

1.Reboot the server. At the GRUB boot manager screen, press the "e" key for edit mode (at the first line at the top listed as "Solaris.")
2.Select the kernel string and edit by adding -kd.
3.Press the "b" key to boot.
4.At the kernel debugger screen, enter cmi_no_init/W1.
5.Proceed using ":c" command and press the <ENTER> key.
6.After the OS installation, repeat the above steps and boot the server.
7.Add the following line to /etc/system file
set cmi_no_init=1
8.Reboot with the reboot option.


[ 發表回應 ] ( 25預覽 )   |  常註連結  |   ( 3 / 1729 )
How to compile Mcrypt? 
Don't forget install Libmcryprt before compile mcrypt.

http://sourceforge.net/projects/mcrypt/files/

MCrypt and Libmcrypt is two program. They are not same.

[ 發表回應 ] ( 12預覽 )   |  常註連結  |   ( 3.1 / 1686 )
Configuring Apache + SSL service for Solaris 10 
Enabling SSL service on Apache2

# svccfg

svc:> select apache2

svc:/network/http:apache2> listprop httpd/ssl

httpd/ssl boolean false

svc:/network/http:apache2> setprop httpd/ssl=true

svc:/network/http:apache2> exit

# svcadm disable apache2

# svcadm refresh apache2

# svcprop -p httpd/ssl svc:/network/http:apache2

true

# svcadm enable apache2



[ 發表回應 ] ( 34預覽 )   |  常註連結  |   ( 3 / 1729 )

<< <前一頁 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 下一頁> >>