Phân trang 4/6 Trang đầu Trang trước 1 2 3 4 5 6 Trang sau Trang cuối [ Kiểu hiển thị Trích dẫn | Liệt kê ]
Dec 4

Validation of viewstate MAC  failed. If this application is hosted by a Web Farm or cluster, ensure that  <machineKey> configuration specifies the same validationKey and validation  algorithm. AutoGenerate cannot be used in a cluster.

Nov 25

Summary:
When sending e-mail you may receive an error message similar to the one of the following messages:

We do not relay
Relay not allowed
Relay not permitted
Unable to relay
Relay not authorized

Each of these messages may also have an error code (550) and sometimes an extended error code (550 5.7.1).

Nov 20
!!
You can change how PHP is configured.
As root, simply execute:
    /usr/local/cpanel/bin/rebuild_phpconf --help
for more information.
!!
!! Build Complete! !!
!! Verbose logfile is at '/usr/local/cpanel/logs/easy/apache/build.1227179290' !!

Nov 17
APF Firewall là một phần mềm Firewall Script phát triễn trên nền IPTables, tuy không thể sánh cùng với các đàn anh firewall khác nhưng bù lại được miễn phí và mức độ firewall cũng không đến nỗi tệ. Bài viết này hi vọng sẽ giúp được bạn nào dùng VPS ( không ít thì nhiều ) để security VPS của mình được tốt hơn.

1. Login SSH bằng tài khoản Root:

wget http://www.r-fx.ca/downloads/apf-current.tar.gz

tar -xzf apf-current.tar.gz
Tags: , ,
Nov 6
Hê hê, nhớ lại trước kia, phải chuyển acc trên server dùng Helm. Ngồi check bằng tay xem domain đó có còn hoạt động hosting tại server đó hay không mà đến khiếp. Vài cái domain thì ko sao nhưng 200 domain thì thôi rồi. Chậc. Thế là ngồi code một đoạn mã php, xử lý việc nhập vào hàng loạt domain rồi tiến hành check xem nó ở IP nào. Nếu đúng IP mà mình đã khai báo thì liệt kê vào list ok, sai thì liệt kê vào list failed. Sau đó tính % số domain lỗi. Quả là biết lập trình bao giờ cũng có cái lợi.

Hnay, ngồi mò trên cPanel, có một cách nữa để check xem tên miền nào đó có còn hoạt động tại server nữa hay không. Với cách này thì sẽ không phải xử lý vấn đề nhập liệu danh sách domain mà nó sẽ lấy ngay danh sách domain trên chính server dựa vào whostmgr.
Nov 5
Chậc, đôi khi được cung cấp một cái hosting mà chả biết nó dùng MySQL phiên bản mấy. Nếu server có hỗ trợ PHP thì bạn có thể làm như sau:
1. Tạo một file phpinfo. Copy nội dung dưới đây lưu thành file dạng *.php như info.php
Oct 4

This article shows how to install ffmpeg, ffmpeg-PHP, Mplayer, Mencoder, flv2tool, LAME MP3 Encoder, and Libog from source. It should work on most systems, however may need some tweaking from system to sytem.

     

cd /usr/local/src

     

Download source tarballs:

     

wget http://rubyforge.org/frs/download.php/9225/flvtool2_1.0.5_rc6.tgz
      wget http://easynews.dl.sourceforge.net/sourceforge/lame/lame-3.97.tar.gz
      wget http://superb-west.dl.sourceforge.net/sourceforge/ffmpeg-php/ffmpeg-php-0.5.0.tbz2
      wget http://downloads.xiph.org/releases/ogg/libogg-1.1.3.tar.gz
      wget http://downloads.xiph.org/releases/vorbis/libvorbis-1.1.2.tar.gz
      wget http://www4.mplayerhq.hu/MPlayer/releases/codecs/essential-20061022.tar.bz2

Tags:
Sep 27
Chiều hôm qua nhận được thông báo của khách hàng là trang webmail RoundCube bị lỗi. Login xong thì báo lỗi:

Service Unavailable - Error No. [0x01F4]

Đây là một lỗi của lập trình RoundCube. Các server mà để Auto Update cPanel thì sẽ bị lỗi này do RoundCube update bản mới. Họ sai một dòng lệnh.

Đối với cPanel, bạn vào /usr/local/cpanel/base/3rdparty/roundcube/program/include
Mở file rcube_mdb2.inc.
Aug 26
To view which IP and how many connection being made:
netstat -ntu | awk ‘{print $5}’ | cut -d: -f1 | sort | uniq -c | sort -n
Aug 26
          

Run this comment on SSH to get number of user domain host on cPanel:

cat /etc/userdomains | wc -l #To see quantity.

        
Phân trang 4/6 Trang đầu Trang trước 1 2 3 4 5 6 Trang sau Trang cuối [ Kiểu hiển thị Trích dẫn | Liệt kê ]