zoukankan      html  css  js  c++  java
  • Linux Program

    vhost : web.myftp.com storage.myftp.com ...... not vhost : storage.myftp.com eg : top eg : htop eg : yes >/dev/null eg : cat /etc/passwd eg : get abc.txt the ftp command groups : all dirs login read write differences between SFTP&FTPS? FTPS : FTP over SSL SFTP : SSH + FTP eg : /etc/passwd | cut -d" ;" -f1. 3 /bin/sh : share /bin/false : share some sotfwares : FileZilla LibreOffice Impress gedit OU : organizational Unit apt-cache search proftpd : looking fot package with ftp find . -type d -name DIRECTORY_NAME -print DNS match a FQDN and an IP FQDN : Fully Qulified Domain Name eg : www.google.com. eg : myhost.example.com. eg : computer_name + domain_name + root(.) root domain : . .fr .net .org .ca ICANN : manage all domains and it't himself subdivide for the world(eg AFNIC for France) what's goinf on when I'm typing www.baidu.com cat /etc/resolv.conf ask you a cache server DNS, first : .fr then google.fr then www.google.fr recursive request : until it finds the address iterative request : bind9 djbdns monolithic : just one big program project : DNS part apt-get install bind9 cd /etc/bind/ mkdir zones vi named.conf cd zones/ vi utopia.net copy paste from lab page 46 hostname ldap named- (tab tab) 172.16.247.144 vi named.conf.local : zone "utopia.net" type master; file "/etc/bind/zones/utopia.net"; }; vi zones/utopia.net /etc/init.d/bind9 restart vi /etc/network/interfaces : allow-hotplug eth0 iface eth0 inet static address 172.16.227.50 netmask 255.255.255.0 gateway 172.16.227.2 ( iface eth1 inet static address 192.168.56.102 network 255.255.255.0 gateway 192.168.56.2 ) /etc/init.d/networking restart ifup eth0 apt-get update && apt-get install dhcp3-server -y cd /etc/dhcp cp dhcp.conf dhcp.conf.old echo "" > dhcp.conf vi dhcp.conf vi /etc/network/interfaces iface eth0 inet address 192.168.1.10 network 255.255.255.0 gateway 192.168.1.2 cd vi /etc/bind/zones/utopia.net vi /etc/dhcp/dhcp.conf
  • 相关阅读:
    教准备租房的同学如何避开坑!
    mvc3中controler和view之间的数据传递
    WebMail发送邮件
    mvc Razor视图语法与Aspx视图语法对比
    SQL Server sql分页查询
    WCF之一
    C++总结笔记(一)抽象、多态、继承
    Perl脚本学习经验(二)常用命令举例
    makefile学习经验(四)编译生成动态库文件(方式二)
    makefile学习经验(三)编译生成动态库文件(方式一)
  • 原文地址:https://www.cnblogs.com/jilili/p/4458548.html
Copyright © 2011-2022 走看看