Заметки/нужное/интересное
Connect to a running/existing X session remotely
вт, 11/08/2009 - 16:30 — vladimirFrom the computer you want to view the remote X session:
ssh root@computer2 -L 5900:localhost:5900
This does not need to be done as root, but you’ll need to be the actual user running the X session if you log in as a regular user. On ubuntu/debian you can use apt-get install x11vnc.
x11vnc -display :0 -passwd password
If it complains that it cannot connect to :0, try this
x11vnc -auth /var/lib/gdm/:0.Xauth -passwd password
Note that using the :0.Xauth method will work if X is just running at the login screen (so you could connect and log into X as a user).
Now, from computer1, do
vncviewer localhost
This is very useful, but make sure you use a password if port 5900 is open on computer2.
Drupal performance and php-cache(s) related problems
ср, 25/03/2009 - 17:47 — vladimirProblems with eaccelerator
http://www.drupalarchitect.com/drupal-segmentation-fault-using-eaccelerator-or-x-cache
http://www.jeffbeeman.com/node/101
http://www.freshblurbs.com/beware-eaccelerator-and-php-zlib-compression
http://eaccelerator.net/ticket/155
http://drupal.org/node/130106
http://www.jeffbeeman.com/node/101
Stupid problems:
http://drupal.org/node/143348#comment-231152
A solution???
http://www.mojahmedia.net/eaccelerator-suexec-zend-white-screens-death-drupal.html
drupal APC Installation howto
http://www.cpanelconfig.com/optimize-a-cpanel-server/how-to-install-apc-php-cache/
Drupal high-performance discussion group
http://groups.drupal.org/high-performance
Other interesting articles:
http://www.scribd.com/doc/3991611/Drupal-Performance-and-Scalability
Festplattenrettung in Berlin
пн, 24/11/2008 - 11:38 — vladimirNeulich einen Auftrag bei
abgegeben und sehr angenehm überrascht worden -
zum Fixpreis von 900 € wurden die Daten von der alten Platte (Mechanik im Eimer)
gekratzt und auf eine andere(neue) kopiert.
Die (große) Konkurrenz - das was man so in Fachmagazinen findet etc. hätte ab 2000 € gekostet.
Hut ab!
IBM ServeRAID 5i configuration help
пн, 24/11/2008 - 11:25 — vladimirServeRAID Support CD - Bootable CD which is needed for controller configuration
https://www-304.ibm.com/systems/support/supportsite.wss/docdisplay?lndocid=MIGR-60624&brandind=5000008
ServeRAID BIOS and Firmware Update Images
https://www-304.ibm.com/systems/support/supportsite.wss/docdisplay?lndocid=MIGR-62540&brandind=5000008
ServerRaid Manager Software capabilitys
DE: http://publib.boulder.ibm.com/infocenter/eserver/v1r2/index.jsp?topic=/diricinfo/fqy0_csoftware.html
ServeRAID ISPR bootup errors/error codes
https://www-304.ibm.com/systems/support/supportsite.wss/docdisplay?lndocid=MIGR-40379&brandind=5000008
ServeRAID startup error messages
https://www-304.ibm.com/systems/support/supportsite.wss/docdisplay?lndocid=MIGR-40375&brandind=5000008
ServeRAID drive state descriptions - Servers and IntelliStation
https://www-304.ibm.com/systems/support/supportsite.wss/docdisplay?lndocid=MIGR-4R6MXK&brandind=5000008
Troubleshooting ServeRAID controller issues
https://www-304.ibm.com/systems/support/supportsite.wss/docdisplay?lndocid=MIGR-50645&brandind=5000008
Performace-Test of a ServeRAID 6.10
http://www.johngoodwin.com/articles/ibm_serveraid_scsi_performance_bottleneck_part_1
Interesting thread related to x345 and ServeRAID 5i
http://www.ibm.com/developerworks/forums/thread.jspa?messageID=13943593�
SMART: Сколько жить осталось диску, и не пора ли его заменить?...
пн, 24/11/2008 - 11:20 — vladimirОтличная статейка на эту тему - автору "зачёт":
http://ksimute.trancom.ru/smart-hdd.shtml
Базисная инфа + также объяснение значений
http://en.wikipedia.org/wiki/S.M.A.R.T.
IBM eServer xseries 345 help
вс, 16/11/2008 - 13:28 — vladimirSpecifications & Manual
https://www-304.ibm.com/systems/support/supportsite.wss/docdisplay?brandind=5000008&lndocid=MIGR-58359
IBM Dynamic System Analysis (DSA) Bootable version download
http://www-304.ibm.com/systems/support/supportsite.wss/docdisplay?lndocid=MIGR-5071800&brandind=5000008
IBM Dynamic System Analysis (DSA) general software matrix
http://www-304.ibm.com/systems/support/supportsite.wss/docdisplay?brandind=5000008&lndocid=SERV-DSA#xseries
Diagnostic error codes - IBM eServer xSeries 345
https://www-304.ibm.com/systems/support/supportsite.wss/docdisplay?lndocid=MIGR-53292&brandind=5000008
Flash BIOS update (DOS update package) - IBM eServer xSeries 345
https://www-304.ibm.com/systems/support/supportsite.wss/docdisplay?lndocid=MIGR-43902&brandind=5000008
Forum
http://www.ibm.com/developerworks/forums/forum.jspa?forumID=740
Hardware compatibility list
http://www-03.ibm.com/servers/eserver/serverproven/compat/us/xseries_old/x345.html
Cable accessories - IBM eServer xSeries 345
https://www-304.ibm.com/systems/support/supportsite.wss/docdisplay?lndocid=MIGR-43578&brandind=5000008
"LSI-1030 integrated RAID controller" capabilitys
EN: http://publib.boulder.ibm.com/infocenter/eserver/v1r2/index.jsp?topic=/diricinfo/fqy0_troscsiq.html
DE: http://publib.boulder.ibm.com/infocenter/eserver/v1r2/index.jsp?topic=/diricinfo/fqy0_clsi10x0.html
The integrated controller can serve/create only one raid1 volume of two discs (+ 1 hot spare)
:-(
IBM Server Simulators
http://www-304.ibm.com/systems/support/reflib/simulators/
Great resource!!!
ISCSI unter Debian
чт, 31/07/2008 - 11:41 — vladimirhow to set up iSCSI initiator under debian etch r3
echo "deb http://www.backports.org/debian etch-backports main contrib non-free" > /etc/apt/sources.list
apt-get update
cd /usr/local/src
wget http://kent.dl.sourceforge.net/sourceforge/iscsitarget/iscsitarget-0.4.16.tar.gz
tar xfz iscsitarget-0.4.16.tar.gz
cd iscsitarget-0.4.16
make
make install install-kernel
apt-get -y -t etch-backports install iscsitarget
-----------
http://www.pug.org/index.php/ISCSI_unter_Debian
-------
Unter WIndows: http://gentoo-wiki.com/HOWTO_iscsi
clamav-daemon aborts if freshclam process takes long time
вт, 20/05/2008 - 07:30 — vladimirDebian Bug report logs - #426503:
clamav-daemon aborts if freshclam process takes long time
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=426503
http://www.mail-archive.com/debian-bugs-closed@lists.debian.org/msg180372.html
http://groups.google.se/group/linux.debian.bugs.rc/browse_thread/thread/d0bc520f09fcf052
mysql modeler linux
вс, 04/05/2008 - 21:02 — vladimirPower*Architect @ http://www.sqlpower.ca/page/architect
SOURCE: http://www.ventanazul.com/webzine/articles/open-source-app-for-database-modelling
mysql
вс, 04/05/2008 - 20:43 — vladimirhttp://dev.mysql.com/doc/refman/5.0/en/func-op-summary-ref.html
http://dev.mysql.com/doc/refman/5.0/en/stored-procedures.html
Securing Apache2
чт, 20/03/2008 - 18:31 — vladimirmod_security -> http://www.modsecurity.org/
A couple HowTo's:
exim brief command list
ср, 19/03/2008 - 14:57 — vladimir>> Count the number of messages in the queue.
root@localhost# exim -bpc
>> Listing the messages in the queue (time queued, size, message-id, sender, recipient).
root@localhost# exim -bp
>> Print a summary of messages in the queue (count, volume, oldest, newest, domain, and totals).
root@localhost# exim -bp | exiqsumm
>> Check what Exim is doing right now.
root@localhost# exiwhat
>> Test how exim will route a given address.
root@localhost# exim -bt user@localdomain.com
>> Display Exim's configuration settings.
root@localhost# exim -bP
>> Search the queue for messages from a specific sender.
root@localhost# exiqgrep -f [luser]@domain
>> Search the queue for messages for a specific recipient/domain.
root@localhost# exiqgrep -r [luser]@domain
>> Print messages older than the specified number of seconds. Eg: messages older than 1 hour.
root@localhost# exiqgrep -o 3600 [...]
>> Print messages younger than the specified number of seconds. Eg: messages less than an hour old.
root@localhost# exiqgrep -y 3600 [...]
>> Match the size of a message with a regex. Eg: Messages between 500-599 bytes.
root@localhost# exiqgrep -s '^5..$' [...]
>> Match only frozen messages.
root@localhost# exiqgrep -z
>> Match only NOT frozen messages.
root@localhost# exiqgrep -x
>> Print just the message-id of the entire queue.
root@localhost# exiqgrep -i
>> Start a queue run.
root@localhost# exim -q -v
>> Start a queue run for just local deliveries.
root@localhost# exim -ql -v
>> Remove a message from the queue.
root@localhost# exim -Mrm <message-id> [ <message-id> ... ]
>> Freeze a message.
root@localhost# exim -Mf <message-id> [ <message-id> ... ]
>> Thaw a message.
root@localhost# exim -Mt <message-id> [ <message-id> ... ]
>> Deliver a message, whether it's frozen or not, whether the retry time has been reached or not.
root@localhost# exim -M <message-id> [ <message-id> ... ]
>> Deliver a message, but only if the retry time has been reached.
root@localhost# exim -Mc <message-id> [ <message-id> ... ]
>> Force a message to fail and bounce as "cancelled by administrator".
root@localhost# exim -Mg <message-id> [ <message-id> ... ]
>> Remove all frozen messages.
root@localhost# exiqgrep -z -i | xargs exim -Mrm
>> Remove all messages older than five days (86400 * 2 = 172800 seconds).
root@localhost# exiqgrep -o 172800 -i | xargs exim -Mrm
>> Freeze all queued mail from a given sender.
root@localhost# exiqgrep -i -f user@example.com | xargs exim -Mf
>> View a message's headers.
root@localhost# exim -Mvh <message-id>
>> View a message's body.
root@localhost# exim -Mvb <message-id>
>> View a message's logs.
root@localhost# exim -Mvl <message-id>
>> Add a recipient to a message.
root@localhost# exim -Mar <message-id> <address> [ <address> ... ]
>> Edit the sender of a message.
root@localhost# exim -Mes <message-id> <address>
