Sunday, September 26, 2010

Có tiền đầu tư vào đâu?


Bất động sản chưa tan băng, thị trường chứng khoán chưa có nhiều khởi sắc, trong khi giá USD đang dần ổn định sau đợt điều chỉnh tỷ giá tháng 8-2010. Liệu tiết kiệm và vàng có là kênh đầu tư hút tiền trong thời gian tới?
 

Khái niệm đơn giản về khẩu độ ống kính

Cơ cấu chỉnh khẩu độ chính là một loại van tiết lưu ánh sáng đặt trong ống kính , cấu tạo bởi các lá thép mỏng chồng so le với nhau, ở giữa mở ra một lỗ tròn đồng tâm với các thấu kính.

Các cánh thép này có thể trượt trên nhau khi ta điều chỉnh để tạo ra độ mở lớn hay nhỏ cho ánh sáng đi qua. Hoạt động bóp nhỏ/mở rộng khẩu độ khẩu độ của ống kính giống như sự điều tiết của con ngươi mắt. Độ mở lớn hay nhỏ sẽ cho ánh sáng đi vào phim hay CCD (của digital camera) nhiều hay ít. Trị số khẩu độ được sắp xếp theo chuỗi lớn dần gọi là f-number. Độ mở ống kính là giá trị được xác định bởi độ dài tiêu cự (focal length = khoảng cách từ tâm ống kính tới mặt phim hay CCD) của nó với đường kính lỗ xuyên sáng do các lá thép mở ra.

Sunday, October 25, 2009

SSH Port Forwarding

Introduction
SSH is typically used for logging into remote servers so you have shell access to do maintenance, read your email, restart services, or whatever administration you require. SSH also offers some other native services, such as file copy (using scp and sftp) and remote command execution (using ssh with a command on the command line after the hostname).

Saturday, October 17, 2009

Create a Hot Backup Server

The goal is to create a backup that will provide a server which has been replicated to act as a replacement if the original server goes down. This example is assuming exact same hardware and two servers on the same network.

Nikto: Scan Apache for Security Holes

Nikto is a tool that can be used to assess your web server security. The purpose of nikto is to test specific security aspects that are typically security risks. It is a Perl program designed to locate mis-configurations, files and programs that are insecure and to located outdated applications. Warning : This tool may have legal consequences if you use it on sites which you do not have permission…use with discretion and at your own risk.

Getting Started With ModSecurity

Using ModSecurity is not easy. The complexity of your site, your use of PHP, MySQL and other scripting languages will make it more difficult to configure correctly. Basically, the more complex your site, the more time you will need to work out issues with rules. This tutorial will provide you with several important tips to get started with ModSecurity.

Securing PHP

Security Considerations for PHP
PHP is the most popular scripting language used on the Internet and is a necessary component to many of the blogs and content management systems today. One of the important steps in securing your website is to disable those insecure options that are possible on PHP. These parameters can be found in your /etc/php.ini file. Now before you go crazy with modifying all of your settings do two things: make a copy of your /etc/php.ini and read the configuration requirements for any PHP programs you are using. Of course it makes sense to backup the php.ini as you may make adjustments that break things and you need to return to previous settings. Unfortunately, many PHP programs use insecure settings, so if you need to use those programs you certainly cannot secure them…be prepared for the consequences. These settings are a place to start. Once you make the changes be sure to restart Apache and verify closely that all will work correctly. You will be able to locate each of these settings in the /etc/php.ini.