NETWORKING – SYSTEM LINUX AND WINDOWS
WwW.vietsystem.org – Cùng nhau xây dựng một cộng đồng IT Việt Nam ngày một phát triển









 
Home Subscribe to Comments via RSS Upload Tong hop Video Training



Install SWAT ( Samba )









Nội dung liên kết hay


Install SWAT to configure Samba from Web browser.

[1] Install xinetd first because it’s needed.

[root@lan ~]#
yum -y install xinetd

Xem toàn bộ bài viết …

Các bài viết gần đây nhất:


Create a Limited directory ( Samba )

Create a shared directory that requires user authentication.

[1] Configure Samba
Xem toàn bộ bài viết …

Các bài viết gần đây nhất:


Create Fully accessed directory ( Samba )

Create a shared directory that anybody can read and write, and authentication is not needed.

1. Configure Samba

[root@lan ~]# mkdir /home/share
[root@lan ~]# chmod 777 /home/share
[root@lan ~]# vi /etc/samba/smb.conf
Xem toàn bộ bài viết …

Các bài viết gần đây nhất:


Host girl

Các bài viết gần đây nhất:


Cài đặt cấu hình Modsecurity

Các bài viết gần đây nhất:


Using suphp To Secure A Shared Server (Apache)

The challenge with securing a shared hosting server is how to secure the website from attack both from the outside and from the inside. PHP has built-in features to help, but ultimately it’s the wrong place to address the problem. Apache has built-in features too, but the performance cost of these features is prohibitive.

Xem toàn bộ bài viết …

Các bài viết gần đây nhất:


Using mpm-peruser To Secure A Shared Server (Apache)

The challenge with securing a shared hosting server is how to secure the website from attack both from the outside and from the inside. PHP has built-in features to help, but ultimately it’s the wrong place to address the problem. Apache has built-in features too, but the performance cost of these features is prohibitive.

Xem toàn bộ bài viết …

Các bài viết gần đây nhất:


Using mpm-itk To Secure A Shared Server (Apache)

The challenge with securing a shared hosting server is how to secure the website from attack both from the outside and from the inside. PHP has built-in features to help, but ultimately it’s the wrong place to address the problem. Apache has built-in features too, but the performance cost of these features is prohibitive.

Xem toàn bộ bài viết …

Các bài viết gần đây nhất:


Cấu hình bảo mật cần thiết cho 1 Server

1) Upgrade Apache/PHP, MySQL, OpenSSH, OpenSSL, cP/WHM etc
2) cP/WHM Configuration
3) SSH Access
4) Mod_Security
5) Firewall
6) DDoS Protection
7) Rootkit
8) PHP Configuration
9) Other
10)The End

Xem toàn bộ bài viết …

Các bài viết gần đây nhất:


Full Direct-Admin Linux Installation Guide

Full Direct-Admin Linux Installation Guide

DirectAdmin Installation Guide:

Step 1: Do you meet the system requirements?

- Clean OS install: check install.html to ensure you’ve got a supported OS

- At least one external IP address (NAT/LAN-based systems will NOT work)

- SSH installed, gcc and g++ installed

Xem toàn bộ bài viết …

Các bài viết gần đây nhất:


How to install and config phpMyAdmin on CentOS 5.

 

 

# cd /var/html/www/

# wget -c http://……….

Xem toàn bộ bài viết …

Các bài viết gần đây nhất:


Cài đặt OpenLDAP

Build LDAP Server in order to share users’ accounts among virtual networks.

[1] Install and Configure OpenLDAP. Replace my domain name section with your domain name.

Xem toàn bộ bài viết …

Các bài viết gần đây nhất:


Config virtual host Web server

1. Add virtual domain name in DNS first.
[root@ns ~]#
vi /etc/named.conf

Xem toàn bộ bài viết …

Các bài viết gần đây nhất:


Cấu hình dịch vụ DHCP on CentOS 5.2

Cấu hình DHCP ( Dynamic Host Configuration Protocol ) Server.
Chú ý: Nên tắt dịch vụ DHCP này của Router hay modem trước khi test.

[root@ns ~]#yum -y install dhcp

Hoặc down hẳn package này về:
[root@ns ~]# rpm -ivh dhcp-3.0.5-13.el5.rpm
[root@ns ~]#cp -f /usr/share/doc/dhcp-3.0.5/dhcpd.conf.sample /etc/dhcpd.conf
[root@ns ~]#vi /etc/dhcpd.conf
# line 4: Khai báo mạng và subnet
subnet 192.168.0.0 netmask 255.255.255.0
{
# line 7 : Khai báo IP default gateway
option routers 192.168.0.1;

# line 8: subnetmask
option subnet-mask 255.255.255.0;

# line 10: specify NIS domain name iy you using.
# make it comment if you don not use.

option nis-domain “vietsystem.org”;

# line 11: specify domain name
option domain-name “vietsystem.org”;

# line 12: Khai bái IP address của máy chủ DNS
option domain-name-servers 192.168.0.200;

# line 14: make it comment
option time-offset -18000;

# line 21: Khai báo dãy địa chỉ cấp phát cho Clients.
range dynamic-bootp 192.168.0.128 192.168.0.254;

# line 22: default’s terms of lease
default-lease-time 21600;

# line 23: maximun terms of lease
max-lease-time 43200;

# line 26: make following 5 lines comment

# host ns {
# next-server marvin.redhat.com;
# hardware ethernet 12:34:56:78:AB:CD;
# fixed-address 207.175.42.254;
# }

[root@ns ~]# /etc/init.d/dhcpd start
Starting dhcpd: [ OK ]

[root@ns ~]# chkconfig dhcpd on

Phía client cấu hình để nhận IP động.
null
null

Khi dhcpd chạy thì nó sẽ sinh ra 1 bản ghi trong file:
vi /var/lib/dhcpd/dhcpd.leases

lease 192.168.0.254 {
starts 2 2009/03/03 18:12:21;
ends 3 2009/03/04 00:12:21;
binding state active;
next binding state free;
hardware ethernet 00:14:85:44:5d:88;
uid “\001\000\024\205D]\210″;
client-hostname “vnc”;
}

The end!

Các bài viết gần đây nhất:


Securing-squirrelmail-using-ssl

Secure Sockets Layer (SSL) enables the HTTP protocol to be secured. This page will show you how to configure SSL in Apache and SquirrelMail.

Generate a Private Key

Make sure you are logged in as the root user when doing steps below.

Xem toàn bộ bài viết …

Các bài viết gần đây nhất: