2009-01-01ãã1ã¶æéã®è¨äºä¸è¦§
$ sed -n 20,150p test.txt via ã«ããã°: ãã¡ã¤ã«ã®æå®è¡æ°ããæå®è¡æ°ã¾ã§æãåºã(ã³ã¡ã³ãæ¬)
ä»ã®äººãä½ã£ãPHPã®ããã°ã©ã ã§ãããé¢æ°ãæ¢ããã¨grepãããè¦ã¤ãããªããæ¬å½ã«ããåãã®ãï¼ã¨æãã¤ã¤ãã調ã¹ã¦ã¿ãã PHP ã®å¤æ°ã¯ãã«è¨å·ã®å¾ã«å¤æ°åãç¶ãå½¢å¼ã§è¡¨ããã¾ãã å¤æ°åã¯å¤§æåå°æåãåºå¥ãã¾ãã é¢æ°åã¯å¤§æåå°æåãåºâ¦
$ sudo hdparm -Tt /dev/hda via avant-tokyo.com
ulimitã³ãã³ãã§å¤ãå¤æ´ã§ãããã以ä¸ã®å¶ç´ãåããã ä¸åº¦ãã°ã¢ã¦ãããã¨å ã«æ»ãã ä¸é¨ã®é ç®ã¯ãå¤ãå¤æ´ã§ããªãã ã¦ã¼ã¶å¶éãæä¹ çã«å¤æ´ããã«ã¯ã /etc/security/limits.conf ã§ãé ç®ã追å ãç·¨éããã via
ããã»ã¹ã®ããã©ã¼ãã³ã¹ã«é¢ãã調æ»ã§ãè¦ã¦åã£ããµã¤ãä¸è¦§ã é ä¸åã 第5å ã«ã¼ãã«ããã¥ã¼ãã³ã°ãã | Think IT ï¼ ITï¼qmailã®ããã©ã¼ãã³ã¹ã»ãã¥ã¼ãã³ã°ï¼1/2ï¼ ããªã¼ã½ããã¦ã§ã¢å¾¹åºæ´»ç¨è¬åº§(1) Gentoo Linux ããã¥ã¡ã³ã -- Gentoo Linuâ¦
ã«ã¼ãã«ã®ãã¼ã¸ã§ã³ã調ã¹ã $ uname -a CPUã調ã¹ã $ cat /proc/cpuinfo via èªåã®ãã·ã³ã®æ å ±ã調ã¹ã
PACKAGE select text from user_source where name = 'FOO' and type = 'PACKAGE' order by line; PAKCAGE BODY select text from user_source where name = 'FOO' and type = 'PACKAGE BODY' order by line; via ORACLEï¼ãªã©ã¯ã«ã»ãã¼ã¿ãã£ã¯ã·ã§â¦
ãã£ããã¨ã¯ãªããã©ã¡ã¢ã ï¼ ITï¼ãã¼ãã£ã·ã§ã³ã®ãµã¤ãºãå¤æ´ããã«ã¯GNU Partedã使ãã ãã ããã¤ã³ã¹ãã¼ã«ããã¦ãããã¼ãã£ã·ã§ã³ã¯å¤æ´ã§ããªããä¸è¨ãã¼ã¸ã«GNU Partedå°ç¨ã®ãã¼ããã£ã¹ã¯ã®ä½ææ¹æ³ã«ã¤ãã¦ããªã³ã¯ãããã
ã³ã³ã½ã¼ã«ããåãã¦ãã°ã¤ã³ããã¨ããç¸æã«ãã¹ã¯ã¼ããè¨å®ãããæ¹æ³ã $ sudo useradd foo -p '' $ sudo chage -d 0 foo via ååãã°ã¤ã³æã«ãã¹ã¯ã¼ãã®å¤æ´è¦æ±ãããã«ã¯ â Linux Square â ï¼ IT
ãã£ã¬ã¯ããªä½æã¨ãã¼ããã·ã§ã³ã®è¨å® daemontoolsã®ãã¦ã³ãã¼ã ã¢ã¼ã«ã¤ãã®å±éãããããå½ã¦ã ãã«ãã»ã¤ã³ã¹ãã¼ã« ãã£ã¬ã¯ããªä½æã¨ãã¼ããã·ã§ã³ã®è¨å® $ sudo mkdir /package $ sudo chmod 1755 /package daemontoolsã®ãã¦ã³ãã¼ã $ cd /â¦
$ sudo vi /etc/fstab ------------------------------------------------------------------------------- /dev/shm /media/ram tmpfs defaults 0 0 ------------------------------------------------------------------------------- $ sudo mkdir /mediaâ¦
function mtime() { list($msec, $sec) = explode(" ", microtime()); return (float)$sec + (float)$msec; } via phpã§ããªç§ãæ±ããã«ã¯ãmicrotime()ãå©ç¨ãã - ãããã®ChangeLog
qmail-log(5)
表示ã¡ãã¥ã¼ã«è¨å®é ç®ãããããæ¶ãã¦ããªããã¨ãå¤ãã via Thunderbird: æ·»ä»ãã¡ã¤ã«ã®ã¤ã³ã©ã¤ã³è¡¨ç¤º - ããããã
RedHatãªã©ã§ã¯chkconfigãDebianãªã©ã§ã¯update-rc.dãããã¨ããæã«æãåºããªãã via || Not Found ||
ã¨ã¯ã¹ããã¼ã©ã§ç¹å®ã®ãã©ã«ãã«ç§»åããã¨ããåæã«é ç®ãå¤æ´ãã¦ãããæ©è½ãç¡å¹ã«ããã ã¬ã¸ã¹ããªãã¼ãåé¤ãã åèµ·åãã ã¨ã¯ã¹ããã¼ã©ãèµ·åãã ã¬ã¸ã¹ããªã«ãã¼ã¨å¤ã追å ãã 1.ã¬ã¸ã¹ããªãã¼ãåé¤ãã é ç®è¨å®ãåæåããããã2ã¤â¦
Vistaã§WebDAVæ¥ç¶ - ä½æ¥ãã¼ãã§ã¯ãWebDAVãå©ç¨ããããã«CartonDAVã使ãããã«ããããVistaã«ããããå½ã¦ãæ©ä¼ããã£ãã®ã§ãã£ã¦ã¿ãã 以ä¸ã¯ãå®è¡ããé çªã KB907306-JPNãã¤ã³ã¹ãã¼ã«ãã*1 Windows Updateã§æ´æ°ã確èªãã ã¬ã¸ã¹ããªå¤æ´â¦
/var/log/maillogãè¥å¤§åãã¦ãããã©ãããä¸å¹´ä»¥ä¸ã®ãã°ãä¿åããã¦ããããã ã ããã«ã/var/log/maillog.1ãªã©ã®ããã¯ã¢ãããã¡ã¤ã«ãè¦ã¤ãããªãã æåãlogrotateãåãã¦ããªãã®ãã¨æããcronå¨ãã調ã¹ãã # ls /etc/cron* /etc/cron.daiâ¦
ã¯ã¦ããç·¨éãããã¨ãã¦ãééã£ã¦èªåã®ã³ã¡ã³ãã«ã¹ã¿ã¼ãã¤ãã¦ãã¾ã£ãorz
ãªã³ã¯å: foo ã¦ã¼ã¶å: bar ãã¹ã¯ã¼ã; hoge TNSãã¼ã : foobarhoge SQL> create database link foo connect to bar identified by hoge using 'foobarhoge'; åè Oracleã»Tipsé
Life with qmail > 5.6.2.3. Log messages
qmailã®éä¿¡ãã°ãsyslogã§åå¾ããã®ã¯ãéä¿¡é度ãé ããªãã syslogã®è² è·ãé«ããªãã®ãåå ãæ¹åæ¹æ³ã¨ãã¦ã¯ã以ä¸ã syslog-ngãå©ç¨ãã daemontoolsã®multilogãå©ç¨ãã åè 404 Not Found syslog 㯠I/O è² è·ãé«ã â daemontool ã«ç§»è¡ãããâ¦
$ ulimit -a via 第5å ã«ã¼ãã«ããã¥ã¼ãã³ã°ãã | Think IT 404 - ã¨ã©ã¼: 404
SMTP command reference
nslookupã³ãã³ãã§éå¼ãããIPãæå®ããã $ nslookup 192.168.0.1 via ï¼ ITï¼Windows TIPS -- Tipsï¼nslookupã®åºæ¬çãªä½¿ãæ¹ï¼ã¤ã³ãã©ãããç·¨ï¼
$ sqlplus '/ as sysdba' SQL> column owner format a10 SQL> column host format a15 SQL> column username format a15 SQL> column db_link format a25 SQL> set line 400 SQL> SQL> select * from dba_db_links;
$ sqlplus '/ as sysdba' SQL> set line 256 SQL> set numwidth 32 SQL> col SEQUENCE_OWNER format a14 SQL> col CYCLE_FLAG format a10 SQL> col ORDER_FLAG format a10 SQL> spool scott_sequence.txt SQL> select * from all_sequences where sequence_oâ¦
SharePointã§ç®¡çãã¦ãããã¡ã¤ã«ãæ±ãããã«Vistaã§WebDAVã®è¨å®ããããã¨ããããã¾ããããªãã£ãã®ã§èª¿ã¹ã¦ã¿ãã¨ãããã¤ãããããå½ã¦ãªããã°ãªããªããé¢åãçµå±ãCarotDAVã使ããã¨ã«ããã via Windows Vistaã§WebDAVã¯æ¨æºã§ã¯åããªã - sâ¦
Oracle 10gã§DataGuardãæ§ç¯ããã¨ãã«åèã«ããããã¥ã¢ã«ã Oracle Database SQLãªãã¡ã¬ã³ã¹ -- ç®æ¬¡ Oracle Databaseã¨ã©ã¼ã»ã¡ãã»ã¼ã¸10g ãªãªã¼ã¹1ï¼10.1ï¼ SQL*Plusã¦ã¼ã¶ã¼ãºã»ã¬ã¤ãããã³ãªãã¡ã¬ã³ã¹ -- ç®æ¬¡ http://otndnld.oracle.co.jp/docâ¦
phpçµã¿è¾¼ã¿æ¸ã¿ã®apache2ã«ããã¨ããmod_rewriteãã¤ã³ã¹ãã¼ã«ããã $ cd /usr/local/src/httpd-x.x.x/modules/mappers/ $ /usr/local/apache2/bin/apxs -i -a -c ./mod_rewrite.c $ /usr/local/apache2/bin/apachectl restart via rings100's ããã°ã©â¦