Pages

Wednesday, November 27, 2013

Configuring Sendmail to relay through Gmail SMTP

Sending email directly from the MTA (mail transfer agent) on one’s server is now considered to be faux pas. Unless you’ve got that machine configured within DNS (MX record, reverse lookup, etc), it’d likely fail most basic spam checks at the destination mail server. The complexity of the configuration increases if you’ve got the need to masquerade emails from multiple domains. Instead, the ideal approach is to relay through a central SMTP gateway for all of the outbound emails generated from your server(s).

I’ve been on Google mail hosting for a long time now and needed to configure my server to relay mail through it. Here’s a nice article that walks you through exactly what needs to be done to configure your sendmail MTA to relay through Gmail’s SMTP servers. Another similar post here.

Tuesday, November 26, 2013

List AD replication port.

AD Replication Ports
RPC endpoint mapper
135/tcp, 135/udp
Network basic input/output system (NetBIOS) name service
137/tcp, 137/udp
NetBIOS datagram service
138/udp
NetBIOS session service
139/tcp
RPC static port for AD replication
1111/TCP
RPC static port for FRS
2347/TCP
Server message block (SMB) over IP (Microsoft-DS)
445/tcp, 445/udp
Lightweight Directory Access Protocol (LDAP)
389/tcp
LDAP ping
389/udp
LDAP over SSL
636/tcp
Global catalog LDAP
3268/tcp
Global catalog LDAP over SSL
3269/tcp
Kerberos
88/tcp, 88/udp
Domain Name Service (DNS)
53/tcp, 53/udp
MOM
TCP/UDP 1270
NTP
123/udp
Remote Desktop
3389/tcp

Friday, November 15, 2013

Backup and Restore Linux OS using tar, dd command

1/ Backup Hard Disk, MBR Using dd Command

 Chắc cũng có nhiều bạn thành thạo sử dụng lệnh dd rồi nhưng mình cũng giới thiệu sơ qua cho 1 số bạn chưa biết tham khảo thêm nhé.

Trong trường hợp cần backup 1 ổ đĩa trên Linux các bạn có thể sử dụng lệnh sau:

- Backup 1 ổ cứng sang ổ cứng khác:

Mã:
dd if=/dev/hda of=/dev/hdb
- Backup ổ cứng sang file image:

Tuesday, November 12, 2013

Các kiểu Group scope

Doanin Local Group:
- Chỉ nhìn thấy trong domain chứa nó
- Chứa được user và group trong cùng hoặc khác domain
- Không thể nằm trong group khác
- Ở native Mode, Domain local group có thể là con của Domain Local Group

Tuesday, April 2, 2013

Working with Domain Member Virtual Machines and Snapshots


Working with Domain Member Virtual Machines and Snapshots
One of the benefits of using a virtualization product that allows you to create snapshots, is the ability to create a "point in time" to which you can always revert your virtual machines. By reverting to this snapshot, you get your VM to the state in which it was saved, and are able to perform various tasks such as testing software, doing QA, creating labs and so on.
Description: http://www.petri.co.il/wp-content/uploads/secure-channel-error-1-590x349.pngDescription: http://www.petri.co.il/wp-content/uploads/secure-channel-error-1-590x349.png

Thêm chú thích
Are you able to identify precisely which processes are sucking up resources and slowing down your servers? Can you do this equally well over VM guests that VMotion?

Tuesday, December 11, 2012

5 Cách để học lập trình nhanh hơn

Wednesday, November 28, 2012

Tìm Hiểu Về Định Dạng .xap

Định dạng .xap là định dạng được dùng để nén output file dành cho ứng dụng Silverlight. Định dạng .xap bao gồm AppManifest.xaml, thư viện output đã được biên dịch của SL project (.dll) và bất kỳ file tài nguyên nào khác có liên quan tới ứng dụng Silverlight.

Các trang web giống như .aspx và .html sử dụng các thành phần Silverlight bằng việc tải các file .xap sử dụng thẻ "" trong HTML hoặc sử dụng thẻ trong các trang ASP.NET. Các file ".xap" (đọc là "zap") sử dụng để thay thế cho thuật toán nén .zip nhằm giảm tới mức tối thiểu kích thước file mà client tải về. Một ứng dụng .NET Silverlight "hello world" (được viết bới VB hay C#) có kích thước khoảng 5KB. Chúng ta hãy cùng tìm hiểu cấu trúc một file .xap: Mở Visual Studio và tạo một project mới bằng cách lựa chọn "Silverlight Application" bên dưới kiểu project "Silverlight". Chọn tên project là "SilverlightTest". Trong màn hình tiếp theo, lựa chọn "automatically generate a test page to host Silverlight at build time". Visual Studio tạo một project với 2 files: 1. App.xaml 2. Page.xaml Biên dịch và chạy ứng dụng bằng cách nhấn chọn Ctrl + F5. Bạn có thể thấy trên trình duyệt hiển thị trang web trống (bởi vì bạn chưa thực sự làm gì trong file xaml mặc định). Bây giờ mở windows explorer trong máy của bạn và tìm tới thư mục bin\debug trong project. Bạn có thể thấy một file có tên là "SilverlightTest.xap". Đổi tên file này thành SilverlightTest.zip và mở nó bằng cách sử dụng bất kỳ công cụ giải nén nào. Bạn có thể nhận thấy rằng nó chỉ giống như bất kỳ file .zip nào khác và nó bao gồm các file output .dll và một file khác gọi là "AppManifest.xaml".

Thursday, October 18, 2012

Tăng số lần logon khi Client không đăng nhập vào hệ thống Active Directory.

Tăng số lần logon khi Client không đăng nhập vào hệ thống Active Directory.

HKLM\Software\Microsoft\Windows NT\Current Version\Winlogon\CachedLogonsCount