Nov 30

It’s not difficult but make sure about some config in your application before doing them. Because Ubuntu will not support Breezy-Badgers in 6 months, but Dapper Drake is LTS (Long Term Support) it suitable for server.
My step is

  1. backup old sources.list : cp /etc/apt/sources.list /etc/apt/sources.list.breezy
  2. change sourcelist to

    deb http://th.archive.ubuntu.com/ubuntu/ dapper main restricted
    deb-src http://th.archive.ubuntu.com/ubuntu/ dapper main restricted

    ## Major bug fix updates produced after the final release of the
    ## distribution.
    deb http://th.archive.ubuntu.com/ubuntu/ dapper-updates main restricted
    deb-src http://th.archive.ubuntu.com/ubuntu/ dapper-updates main restricted

    ## Uncomment the following two lines to add software from the ‘universe’
    ## repository.
    ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
    ## team, and may not be under a free licence. Please satisfy yourself as to
    ## your rights to use the software. Also, please note that software in
    ## universe WILL NOT receive any review or updates from the Ubuntu security
    ## team.
    deb http://th.archive.ubuntu.com/ubuntu/ dapper universe multiverse
    deb-src http://th.archive.ubuntu.com/ubuntu/ dapper universe multiverse

    ## Uncomment the following two lines to add software from the ‘backports’
    ## repository.
    ## N.B. software from this repository may not have been tested as
    ## extensively as that contained in the main release, although it includes
    ## newer versions of some applications which may provide useful features.
    ## Also, please note that software in backports WILL NOT receive any review
    ## or updates from the Ubuntu security team.
    deb http://th.archive.ubuntu.com/ubuntu/ dapper-backports main restricted univer se multiverse
    deb-src http://th.archive.ubuntu.com/ubuntu/ dapper-backports main restricted un iverse multiverse

    deb http://security.ubuntu.com/ubuntu dapper-security main restricted
    deb-src http://security.ubuntu.com/ubuntu dapper-security main restricted
    deb http://security.ubuntu.com/ubuntu dapper-security universe multiverse
    deb-src http://security.ubuntu.com/ubuntu dapper-security universe multiverse

  3. use apt-get update : to update list file
  4. use apt-get dist-upgrade : to upgrade your server to dapper (beware need dist-upgrade not upgrade)
  5. reboot your system

After this process may check your application, just run fine or not.

written by Mr-San \\ tags: , , ,

Nov 25

In some cases, your web server have attacked by someone how to resolve this problem?

Use mod_evasive to resolve this problem

When mod_evasive detects attack, it will create hash table and deny that ip following :

  • Requesting the same page more than a few times per second
  • Making more than 50 concurrent requests on the same child per second
  • Making any requests while temporarily blacklisted (on a blocking list)

You can get this module via : http://www.zdziarski.com/projects/mod_evasive/mod_evasive_1.10.1.tar.gz

Continue reading »

written by Mr-San \\ tags: , ,

Nov 12

วันนี้เจอ วิธีการเช็คระบบของโทรศัพท์มือถือ จากกระดาษที่น้องจดเอาไว้

วิธีการเช็ค IMEI ของโทรศัพท์

*#06#

วิธีการตรวจสอบระบบ และข้อมูลต่างๆ ของระบบ

ขวา*ซ้ายซ้าย*ซ้าย*

written by Mr-San \\ tags: , ,

Close
E-mail It