ryu's blog just a few lines of code

30Mar/100

Make Nagiosgrapher graphs availiable in Nagios3 web interface on Ubuntu

Change or insert the following lines in /etc/nagios3/nagios.cfg

process_performance_data=1
service_perfdata_command=ngraph-process-service-perfdata-pipe

23Mar/100

TYPO3: Setting XHTML 1.1 DOCTYPE

How to change the DocType in the TYPO3 template setup.

config.doctype = xhtml_11
config.xhtmlDoctype = xhtml_11
config.xmlprologue = none
config.xhtml_cleaning = all

The DOCTYPE can be set to these values:

xhtml_trans (XHTML 1.0 Transitional doctype)
xhtml_frames(XHTML 1.0 Frameset doctype)
xhtml_strict (XHTML 1.0 Strict doctype)
xhtml_basic (XHTML basic doctype)
xhtml_11 (XHTML 1.1 doctype)
xhtml_2 (XHTML 2 doctype)
none (NO doctype at all)

The XML prologue can be set to these values:

xml_10 (XML 1.0 prologue)
xml_11 (XML 1.1 prologue)
none (the default XML prologue is not set)

The XHTML cleaning can be enabled by the following values:

all (the content is always processed before it may be stored in cache)
cached (only if the page is put into the cache)
output (only the output code just before it’s echoed out)

Tagged as: No Comments
12Mar/100

Check CPU virtualization capability on Linux

egrep '(vmx|svm)' --color=always /proc/cpuinfo