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
  • 相关阅读:
    python爬虫系列之爬取多页gif图像
    python连续爬取多个网页的图片分别保存到不同的文件夹
    python多线程同步
    python多线程简单例子
    python定时器爬取豆瓣音乐Top榜歌名
    python模拟Get请求保存网易歌曲的url
    python使用get在百度搜索并保存第一页搜索结果
    python爬取某个网页的图片-如百度贴吧
    完全揭秘log file sync等待事件-转自itpub
    两表关联更新
  • 原文地址:https://www.cnblogs.com/jilili/p/4458548.html
Copyright © 2011-2022 走看看