MegaCLI tiny cheat sheets

MegaCLI SAS RAID Management Tool Ver 8.00.46 Feb 03, 2011

MegaCli -EncInfo -aN|-a0,1,2|-aALL
MegaCli -PhyInfo -phyM -aN|-a0,1,2|-aALL
MegaCli64 -LDInfo -Lall -aALL

MegaCli -LdPdInfo -aALL
MegaCli -AdpEventLog -GetEventLogInfo -aALL

Posted in Uncategorized at May 19th, 2011. No Comments.

KVM start vm CLI – Proxmox

/usr/bin/kvm -monitor unix:/var/run/qemu-server/103.mon,server,nowait -vnc unix:/var/run/qemu-server/103.vnc,password -pidfile /var/run/qemu-server/103.pid \
-daemonize -usbdevice tablet -name grunt -smp sockets=2,cores=1 -nodefaults -boot menu=on -vga cirrus -tdf -k it \
-drive file=/dev/drbdvg/testlv,if=ide,index=0,cache=none,boot=on -drive file=/var/lib/vz/template/iso/ubuntu-9.04-server-amd64.iso,if=ide,index=2,media=cdrom -m 2048 \
-netdev type=tap,id=vlan0d0,ifname=tap103i0d0,script=/var/lib/qemu-server/bridge-vlan -device rtl8139,mac=5A:19:1D:DA:E1:BD,netdev=vlan0d0 -balloon virtio

Posted in KVM at May 19th, 2011. No Comments.

nginx release recenti Debian

Available on Dotdeb for Debian 6.0 “Squeeze” and Debian 5.0 “Lenny” in amd64 and i386 flavours.

Posted in Nginx at May 19th, 2011. No Comments.

EPP NIC IT cambio nameserver XML

<?xml version=”1.0″ encoding=”UTF-8″ standalone=”no”?>
<epp xmlns=”urn:ietf:params:xml:ns:epp-1.0″ xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” xsi:schemaLocation=”urn:ietf:params:xml:ns:epp-1.0 epp-1.0.xsd”>
<command>
<update>
<domain:update xmlns:domain=”urn:ietf:params:xml:ns:domain-1.0″ xsi:schemaLocation=”urn:ietf:params:xml:ns:domain-1.0 domain-1.0.xsd”>
<domain:name>xxxxxxxxxxxxxxx.it</domain:name>
<domain:add>
<domain:ns>
<domain:hostAttr>
<domain:hostName>ns.xxxxxxxxx.com</domain:hostName>
</domain:hostAttr>
<domain:hostAttr>
<domain:hostName>ns2.xxxxxxxxxxxxx.com</domain:hostName>
</domain:hostAttr>
</domain:ns>
</domain:add>
<domain:rem>
<domain:ns>
<domain:hostAttr><domain:hostName>dns1.xxxxxxxxxxxxx.it</domain:hostName></domain:hostAttr>
<domain:hostAttr><domain:hostName>dns2.xxxxxxxxxxxxx.it</domain:hostName></domain:hostAttr>
</domain:ns>
</domain:rem>
</domain:update>
</update>
<clTRID>client</clTRID>
</command>
</epp>

Posted in Dns at May 19th, 2011. No Comments.

SSL23_GET_SERVER_HELLO debian lenny qmail-smtpd tls

20656:error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure:s23_clnt.c:473:

openssl ciphers > /var/qmail/control/tlsclientciphers
openssl ciphers > /var/qmail/control/tlsserverciphers

Posted in Qmail-Postfix at June 21st, 2010. No Comments.

lofix channel Revolution OS

Watch live streaming video from lofixchannel at livestream.com
Posted in Linux at June 15th, 2010. No Comments.

[FIXED] COD6 MW2 doesn’t launch Modern Warfare 2 Call of Duty 6 crash

MW2 Multiplayer Crashes On Load!!!

Whenever I try to start  Multiplayer, the steam window opens, the game prepares to start, and then it just goes black, and crashes back to the desktop without an error message.

FIX

remove  ZONE\XXXXXXXXX\mp_playlists_dlc1.ff

Posted in Uncategorized at June 7th, 2010. 1 Comment.

IBM Lenovo RS210 install lenny

no cd-rom detected

use USB!!!

http://ftp.nl.debian.org/debian/dists/lenny/main/installer-i386/current/images/hd-media/

download vmlinuz && initrd.gz

fdisk /dev/sdb
mkdosfs /dev/sdb1
syslinux /dev/sdb1

#vi syslinux.cfg
default /vmlinuz vga=791
append initrd=/initrd.gz

mount /dev/sdb1 /mnt/sdb1

copy syslinux.cfg vmlinuz initrd.gz /mnt/sdb1
copy Lenny ISO /mnt/sdb1/

lilo -S /dev/null -M /dev/sdb ext
lilo -S /dev/null -A /dev/sdb 1
install-mbr /dev/sdb

Posted in Uncategorized at April 6th, 2010. No Comments.

debian lenny django mod-wsgi

aptitude install libapache2-mod-wsgi python-imaging gettext python-mysqldb

## download django src/svn

## apache cfg

### DJANGO begin ###
Alias  /media/ /var/www/htdocs/website/django/website/media/
WSGIScriptAlias / /var/www/htdocs/website/django/website/apache/django.wsgi
WSGIDaemonProcess nuovacigat user=website group=website  processes=1 threads=1 maximum-requests=1000 display-name=website.dj
WSGIProcessGroup website
### DJANGO end ###

## cat  /var/www/htdocs/website/django/website/apache/django.wsgi

import os
import sys

sys.stdout = sys.stderr

#Calculate the path based on the location of the WSGI script.

apache_configuration= os.path.dirname(__file__)project = os.path.dirname(apache_configuration)workspace = os.path.dirname(project)sys.path.append(workspace)
sys.path.append(‘/var/www/htdocs/website/django/django-website’)      <–  django fw
sys.path.append(‘/var/www/htdocs/website/django/website’)       <– app
import django.core.handlers.wsgi
os.environ[‘DJANGO_SETTINGS_MODULE’] = ‘website.settings’
application = django.core.handlers.wsgi.WSGIHandler()

Posted in Apache at April 1st, 2010. No Comments.

initrd modules options

man modprobe.conf

options modulename option…

This command allows you to add options to the module modulename (which might be an alias) every time it is inserted into  the  kernel:  whether directly (using modprobe modulename, or because the module being inserted depends on this module.

vi /etc/modprobe.d/options

options sundance media=”10mbps_fd,autosense,autosense,10mbps_fd,autosense,autosense,autosense,autosense”

update-initramfs -uv

Posted in kernel at February 15th, 2010. No Comments.