Posts

Showing posts from July, 2011

How to install CSF Firewall on Linux server?

Image
Ưu điểm tích hợp với cpanel và directadmin ,webmin : Installation ============ Installation is quite straightforward: wget http://www.configserver.com/free/csf.tgz tar -xzf csf.tgzcd csf  sh install.sh Next, test whether you have the required iptables modules: perl /etc/csf/csftest.pl Don't worry if you cannot run all the features, so long as the script doesn't report any FATAL errors You should not run any other iptables firewall configuration script. For example, if you previously used APF+BFD you can remove the combination (which you will need to do if you have them installed otherwise they will conflict horribly): sh /etc/csf/remove_apf_bfd.sh That's it. You can then configure csf and lfd by edit the files directly in /etc/csf/*, or on cPanel servers use the WHM UI csf installation for cPanel is preconfigured to work on a cPanel server with all the standard cPanel ports open. csf installation for DirectAdmin is preconfigured to work on a Di

Cách thay instance name của SQL server

Image
Cách thay instance name của SQL server Bước 1: Kiểm tra tên Instance hiện tại: sp_helpserver select @@servername Bước 2: Xóa tên instance cũ: sp_dropserver ' old_name ' go Thêm tên instance mới; sp_addserver ' new_name ',' local ' go Bước 3:   Khởi động lại MSSQL: net stop mssqlserver net start mssqlserver Bước 4:   Kiểm tra lại sp_helpserver select @@servername

Longman Preparation Series for the New TOEIC® Test: Advanced Course, 4th Edition

Image
Longman Preparation Series for the New TOEIC® Test: Advanced Course, Fourth Edition, gives students the skills, strategy, practice, and confidence they need to increase their scores on the new TOEIC® test. Ideal for a TOEIC® test preparation course or for self-study, the Advanced Course is intended for students who achieve TOEIC® test scores from 450 to 850. The Complete Audio Program is also available. The Advanced Course features: * New material that mirrors the format of the new TOEIC® test * Step-by step strategies and skills to improve performance on each section of the test * More than 1,000 practice items that reflect the format and content of the new test * An audio CD that includes the Listening Comprehension Review section from the book * An audioscript that includes all the material recorded for the complete audio program * Two TOEIC® -length review tests, one for Listening Comprehension and one for Reading * Two complete Practice Tests, with accompanying TOEIC® test-

Santorini - Yanni

Image
Giờ mới biết tên bài này...Ôi  Santorini  ...!

Các Kiểu Backup Trong SQL Server

Image
Khái niệm backup (sao lưu) và restore (khôi phục) chắc hẳn đã quen thuộc đối với đa số chúng ta: bạn thường xuyên backup, ví dụ copy toàn bộ thư mục sang một thiết bị lưu trữ khác, để phòng khi gặp sự cố gây mất mát dữ liệu thì có thể copy ngược trở lại Các Kiểu Backup Trong SQL Server Với database thì việc backup diễn ra có khác, khi hệ thống đang vận hành thì bạn không thể đơn giản copy các data file và log file vì chúng bị khóa hoàn toàn. Bạn phải dựa vào cơ chế backup của hệ QTCSDL. SQL Server cung cấp ba loại backup như sau: · Full backup : backup toàn bộ dữ liệu tại thời điểm đó. Đây có lẽ là loại được dùng thường xuyên nhất. · Differential backup : backup các trang dữ liệu mới được cập nhật kể từ lần full backup trước đó. · Transaction log backup : backup các log record hiện có trong log file, nghĩa là nó sao lưu các hành động (các thao tác xảy ra đối với database) chứ không sao lưu dữ liệu. Đồng thời nó cũng cắt bỏ (truncate) log file, loại bỏ các log record vừ

How to disable core dumps on Linux Servers

Image
Core dump is a memory or a storage dump which records the memory state of a computer program at specific instance when a program terminates abnormally. The abnormal termination of the program can be result of various reasons, however most OS are set to generate a core dump of memory state of the executable at time of failure. They can be used for debugging by admins and mostly by software developers for the related applications, however in a shared hosting environments they are rarely used and only thing they are doing is taking additional disk space, which is problematic both for accounts users and servers admins. It is recommended to disable them on such environments as they can always be enabled again if required for any specific debugging purpose. They can be disabled using the limits.conf file , which is the configuration file for the pam_limit module. Below command can be used to disable the core dumps. echo '* soft core 0' >> /etc/security/limits.conf or alternativ

Nook color...02/07/2011

Image
Ước ao có "em" từ lâu, nhưng vì những lý do khác nhau nên việc "kết duyên" sẽ trì hoãn vô thời hạn. Nhưng cũng may "ở hiền thì gặp lành", cuối cùng cũng được nhìn...sờ vào em. Cảm ơn bạn Hiền mập đã giúp mình thực hiện được 1 phần ước mơ bấy lâu. Sau đây mạn phép được post mấy tấm hình về "em nó" cho bà con.