View RSS Feed

บล็อกโพสต์ล่าสุด

  1. nginx + php-fpm + debian squeeze tutorial - the fastest way to host php!

    โดย เมื่อ 16th June 2011 เวลา 16:43:09
    Here is a quick howto for setting up nginx and php-fpm on a Debian 6 VPS. We will be using the dotdeb repository for this so a big thanks goes to the dotdeb guys for building such reliable Debian packages.

    This has been tested on a Debian 6 OpenVZ minimal template:
    First add the dotdeb repo to your sources.list file:
    Code:
    nano /etc/apt/sources.list
    add this to the bottom of the file:
    Code:
    deb http://packages.dotdeb.org stable all
    Next, ...
    ป้ายกำกับ: debian, Nginx, php-fpm เพิ่ม / แก้ไข ป้ายกำกับ
    หัวข้อ
    How To , Linux , Software
  2. Debian: No Public key available

    โดย เมื่อ 3rd June 2011 เวลา 07:58:07
    วันนี้ได้ลง debian 5.0 บน vps พอสั่ง update เจอเลย
    ...
    Reading package lists... Done
    W: There is no public key available for the following key IDs:
    9AA38DCD55BE302B
    W: GPG error: http://xxx.xx.xxx.org lenny Release:
    The following signatures couldn't be verified because the public key
    is not available:
    NO_PUBKEY 9AA38DCD55BE302B
    W: You may want to run apt-get update to correct these problems
    อ๊ากกกกกกกกก ...
    ป้ายกำกับ: debian, No Public key available เพิ่ม / แก้ไข ป้ายกำกับ
    หัวข้อ
    How To , Linux , Software
  3. Install DirectAdmin + APC

    โดย เมื่อ 17th May 2011 เวลา 07:44:51
    1.Install autoconf:
    Code:
    apt-get install autoconf
    2.Install APC using PECL:
    Code:
    pecl install apc
    3.After install process we have messages like this:
    Code:
    Build process completed successfully
    Installing '/usr/local/lib/php/extensions/no-debug-non-zts-20060613/apc.so'
    install ok: channel://pecl.php.net/APC-3.0.19
    configuration option "php_ini" is not set to php.ini location
    You should add "extension=apc.so" to php.ini
    4.Edit php.ini (via DA or directly: /usr/local/lib/php.ini) ...
    หัวข้อ
    How To , Linux , Software
  4. DirectAdmin + mod_ruid2 on Debian

    โดย เมื่อ 16th May 2011 เวลา 14:33:36
    Since there are alot of people asking for it, here is my HowTo about mod_ruid2
    This is based on my Debian server with Apache 2.x.

    Installing this module its no longer needed to chmod config files to 666 or upload/attachments directories to 777. Since with this module enabled everything @ HTTP will run under the user itself and not 'apache' anymore.

    ** If you are using mod_ruid instead of mod_ruid2, first of all remove the mod_ruid line from '/etc/httpd/conf/httpd.conf ...
    ป้ายกำกับ: CenOS, debian, directadmin, mod_ruid2 เพิ่ม / แก้ไข ป้ายกำกับ
    หัวข้อ
    How To , Linux , Software
  5. Linux force reboot/shutdown

    โดย เมื่อ 8th May 2011 เวลา 08:02:36
    Forcing reboot
    Linux is not Windows XP and if reboot fail you usually still connect by SSH and do something. This commands will show you how to remotely hard reboot machine. Hard reboot mean that shutdown scripts will not run and machine reboot immediately without syncing hard disk drives, shutdown applications etc, it’s more like hitting the reset button.
    Code:
    echo 1 > /proc/sys/kernel/sysrq
    echo b > /proc/sysrq-trigger
    This commands enable sysrq and after this calls fast ...
    หัวข้อ
    How To , Linux
 

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31