Chuyển đến nội dung chính

DOS / Windows IP Commands

Display Connection Configuration: ipconfig /all

Display DNS Cache Info: ipconfig /displaydns

Clear DNS Cache: ipconfig /flushdns

Release All IP Address Connections: ipconfig /release


Renew All IP Address Connections: ipconfig /renew

Re-Register the DNS connections: ipconfig /registerdns

Change/Modify DHCP Class ID: ipconfig /setclassid

Network Connections: control netconnections

Network Setup Wizard: netsetup.cpl

Test Connectivity: ping bntkblog.blogspot.com

Trace Route: tracert

Displays the TCP/IP protocol sessions: netstat

Display Local Route: route

Display Resolved MAC Addresses: arp

Display Name of Computer Currently on: hostname

Display DHCP Class Information: ipconfig /showclassid

NameServer Lookup: nslookup bntkblog.blogspot.com

Bài đăng phổ biến từ blog này

Thay đổi thuộc tính file php.ini cho từng website trong Apache

Đối với 1 hệ thống máy chủ hỗ trợ PHP mà có nhiều website hoạt động trên đó, thì việc điều chỉnh thông số kỹ thuật của file cấu hình php.ini đôi khi trở nên rắc rối. Thông thường sử dụng cú pháp ini_set() hoặc .htaccess để can thiệp . Giả sử, có 1 website với thư mục lưu trữ gốc là /var/www/html/example/ , với domain www.example.com . Để kiểm tra, trước tiên tạo file /var/www/html/example/phpinfo.php : <?php phpinfo(); ?>

Linux IP Commands

Display Current Config for all NIC's: ifconfig Display Current Config for eth0: ifconfig eth0 Assign IP: ifconfig eth0 192.168.1.2 Ping: ping -c 3 192.168.1.1