November 2011
1 post
Setting Screen Resolution to 1024 x 768 on a Red...
If you using Redhat Enterprise Linux on a vmware console than you can change the resolution of the console running Linux according to your need by simply editing the configuration file  xorg.conf . You can find more about Vmware in my previous post here. Installing Rhel5 on Vmware here. Although when you run the vmware-tools script it makes all the necessary changes for you. But if you need to...
Nov 15th
March 2011
1 post
Vsftpd Config
. Installation of VSFTPD For Red Hat, CentOS and Fedora, you may install VSFTPD by the command # yum install vsftpd For Debian and Ubuntu, # apt-get install vsftpd 2. Virtual users and authentication We are going to use pam_userdb to authenticate the virtual users. This needs a username / password file in `db’ format – a common database format. We need `db_load’ program. For...
Mar 23rd
November 2010
9 posts
1 tag
Cài đặt server lighttpd
Xin chào tất cả các bạn, chắc hẳn các bạn đã khá quen biết với httpd server (Apache) và ít khi nghe đến lighttpd server. Nó là 1 webserver giống như apache có thể hoạt động trên môi trường Linux/Unix cũng như Windows và điều căn bản nếu bạn nghe xong là thích ngay là nó rất nhẹ. Có thể nói đây là 1 con webserver an toàn, nhanh nhẹn, khả chuyển và tối ưu cao đối với môi trường I. Cách cài đặt ...
Nov 11th
2 tags
Tạo Hiren’s BootCD từ USB Flash Drive (USB Pen...
Các bước sau để tạo 1 đĩa Hirent Boot cho chiếc USB của bạn trong trường hợp bạn không có điều kiện boot từ CDROM hoặc nếu bạn dùng laptop HP các dòng DV4, DV5 thì 1 số bản Hirent boot cũ không hỗ trợ định dạng ổ cứng SATA Bước 1 Bạn cắm USB vào (khuyến nghị dùng USB có dung lượng lớn hơn hoặc bằng 256Mb) Bước 2 Tải và chạy chương trình USB Disk Storage Format usb_format.zip (34KB)....
Nov 11th
2 tags
Cài đặt Windows XP từ ổ USB Flash (Sưu tầm)
Bước 1: Chuẩn bị sẵn 1 ổ USB Flash (ít nhất 2GB). Lưu ý: Khi thực hiện theo bài hướng dẫn này, bạn cần có một máy tính với ổ CD-ROM hoạt động tốt. Bước 2: Tải gói phần mềm Komku-SP-usb.exe tại đây. Bước 3: Kích đúp Komku-SP-usb.exe. Một cửa sổ xuất hiện, kích Install. Bước 4: Cắm ổ USB vào máy tính. Tìm tới thư mục C:\Komku\PeToUSB. Kích đúp PeToUSB.exe. Một cửa sổ sẽ hiện...
Nov 11th
2 tags
Hướng dẫn cài memcacheq (Memcache Queue) trên...
Chúng ta biết rằng hiện nay các webserver ngoài việc sử dụng memcached để nâng cao tốc độ còn dùng memcached queue cho việc lập lịch những dữ liệu cần thời gian xử lý lâu. Hôm nay, tôi sẽ hướng dẫn các bạn cài memcacheq server phiên bản 0.1.1 + Đầu tiên bạn cần có bản cài đặt của memcacheq và các thư viện cần thiết cho việc cài đặt. Phiên bản hiện tại tôi sử dụng Thư viện db-4.7.25.tar.gz ...
Nov 11th
2 tags
Hướng dẫn cài đặt NS2 trên Ubuntu 9.04
NS2 hay Network Simulator 2 là bộ mô phỏng mạng rất hữu ích trong việc nghiên cứu đánh giá hiệu năng mạng. Hôm nay tôi xin trình bày các bước để cài đặt bộ mô phỏng này trên hệ điều hành Ubuntu 9.04 + Đầu tiên các bạn cần tải bản all-in-one phiên bản mới nhất của bộ mô phỏng này tại địa chỉ http://sourceforge.net/project/showfiles.php?group_id=149743&package_id=169689&release_id=684492 ...
Nov 11th
3 notes
2 tags
Hướng dẫn cài đặt và cấu hình APE (Ajax Push...
APE là một giải pháp mã nguồn mở được thiết kế cho Ajax Push. Nó cho phép thực thi bất kỳ loại dữ liệu real time đối với web server mà không cần cài đạt thêm bất kỳ thứ gì ở phía client. Chi tiết về APE các bạn có thể tham khảo tại đây. Sau đây tôi xin trình bày các bước để có thể cài đặt, cầu hình cũng như chạy demo một ví dụ của APE. B1. Bạn cần cài đặt web server (Apache) trước sudo...
Nov 11th
1 tag
Shadowing model in ns-2
I wanted to do simulations with a more realistic propagation model in ns-2, to examine the effect of lossy links at the edge of the propagation area. To do this, I had to work with the Shadowing propagation model, and I’ve made some discoveries. First and foremost, the Phy/WirelessPhy RXThresh_ variable cannot be reduced below something like 10^-12. Thus, to get what I wanted, a more or...
Nov 11th
3 notes
1 tag
Running TORA in ns-2.34 on Ubuntu 10.04
First, patch the ns-2.34 code using the patch and recipe from http://wpage.unina.it/marcello.caleffi/ns2/tora.html. Then, to avoid eternal loops making the simulation never ending, fix the line 504 (ns-2.34) in imep/imep.cc which reads rexmitTimer.start(rexat - CURRENT_TIME); If rexat – CURRENT_TIME is 0, then the same function is called immediately without increasing the simulation time,...
Nov 11th
3 notes
1 tag
Compiling threshold.cc
threshold.cc is a program to calculate the thresholds for transmission receipt using the relation between various physical parameters (distance, effect, propagation model etc.) related to transmissions in ns-2. It has to be compiled by the user. This is not a difficult task, but could pose some challenges as the compiler over time is updated and no longer accepts the outdated c-code of...
Nov 11th
2 notes