您好,欢迎访问三七文档
当前位置:首页 > 商业/管理/HR > 销售管理 > linux网络设置及服务
3Sept.2008ConfidentialIT3Sept.2008Confidentiallinux;IP;Samba;telnetftpNFS3Sept.2008Confidential•ifconfigipIfconfigIPifconfig3Sept.2008ConfidentialUbuntuTCP/IP:/etc/network/interfaces/etc/inetd.confinted/etc/xinetd.confxinted/etc/hostsIPDNS/etc/hostname/etc/networksID/etc/host.conf/etc/resolv.conf/etc/protocols/etc/servicesUbuntuTCP/IP:/etc/network/interfaces/etc/inetd.confinted/etc/xinetd.confxinted/etc/hostsIPDNS/etc/hostname/etc/networksID/etc/host.conf/etc/resolv.conf/etc/protocols/etc/services3Sept.2008Confidential•/Ifconfigdown/up3Sept.2008Confidential•routerouteadd/deldefaultgwIP3Sept.2008Confidential•netstat3Sept.2008Confidential•ping3Sept.2008Confidential•traceroute3Sept.2008Confidential•nslookup3Sept.2008Confidential•inetdsshtelnet/etc/inetd.conf•xinetdinetd,etc/xinetd.conf3Sept.2008Confidential•/etc/services•/etc/xinetd.d3Sept.2008Confidential•standaloneinetdstandaloneinetdinetd(xinetd)standaloneinetdinetd(xinetd)3Sept.2008Confidentialzsambalinuxwindowssamba/etc/samba/smb.conf3Sept.2008Confidentialzsambalinuxwindowssamba/etc/samba/smb.conf!!samba/etc/init.d/sambarestart3Sept.2008Confidential.#adduserenter).smb#smbpasswd-a(entersmb)./etc/samba/smb.confsecurityuserguestok=no.samba:#/etc/init.d/sambarestart3Sept.2008ConfidentialUbuntuWindowsmount-tsmbfs-ousername=windowsusername//windowsmachine/sharefiles/mnt/localfolderwindowsusernameWindowswindowsmachineWindowssharefilesWindows/mnt/localfolderWindowsumount/mnt/localfolder3Sept.2008Confidential•telnetd3Sept.2008Confidential•telnet3Sept.2008Confidential•xinetdsocket_type,protocoltcpudpwaitnoxinetdserverserver_argsinstanceslog_on_successlog_on_failureonly_fromno_accessdisabledlog_typeniceid3Sept.2008Confidential•/etc/services3Sept.2008Confidential•xinetd•telnet3Sept.2008Confidential•telnet3Sept.2008Confidential•telnetroot•/etc/pam.d/login3Sept.2008Confidential•3Sept.2008Confidential•/etc/ssh/sshd_config3Sept.2008Confidential•/etc/ssh/sshd_configProtocol2PermitRootLoginnorootPasswordAuthenticationnoPermitEmptyPasswordsno•ssh3Sept.2008Confidential••.ssh3Sept.2008Confidential•3Sept.2008Confidential•puttysshd_configssh3Sept.2008Confidential•id_rsazid_rsaputty,puttygen3Sept.2008Confidential•putty3Sept.2008Confidential•ssh3Sept.2008Confidential•ftpwu-FtpproFtpdwu-FtpvsFtpdvsFtpd3Sept.2008Confidential•vsftpd3Sept.2008Confidential•/etc/vsftpd.conflisten=YESvsftpdstandaloneanonymous_enable=NOftplocal_enable=YESwrite_enable=YESlocal_umask=022022chroot_list_enable=YEShomelocal_root=/home/myftpftp3Sept.2008Confidential•3Sept.2008Confidentialzftp/etc/pam.d/vsftpd/etc/ftpusers3Sept.2008Confidential•ftptftpTFTPFTPTFTPFTPTFTPUNIXFTPFTPTCPTFTPUDP3Sept.2008ConfidentialSUNUNIX••samba•windowssamba3Sept.2008Confidential•3Sept.2008Confidential•/etc/exportsNFS•/usr/sbin/exportfsNFS•/sbin/showmountNFS•/var/lib/nfs/xtabNFS3Sept.2008Confidential•exportfs-a/etc/exports-r/etc/exports-u-v•showmount-a-e/etc/exports3Sept.2008Confidential•/etc/exports/home/public192.168.0.9(rw,sync,no_root_squash)/home/public192.168.0.*(rw,sync,no_root-squash)•$showmount-eNFSserverexportlist•/etc/exports,$exportfs-r•$/etc/init.d/nfs-kernel-serverrestartnfs3Sept.2008Confidential•/etc/exports112212……rorwno_root_squashrootsync3Sept.2008Confidential•#mount–tnfs192.168.0.9:/home/public/mnt/temp•#umount/mnt/temp3Sept.2008Confidential•exportfs–ua•/var/lib/nfs/etab•3Sept.2008Confidential•ftpsambanfsLinux3Sept.2008Confidential3Sept.2008ConfidentialVmwareVMnet0VMnet1Host-OnlyVMnet8NATVMwareNetworkAdepterVMnet1HostHost-OnlyVMwareNetworkAdepterVMnet8HostNATVMware3Sept.2008ConfidentialzBridgedNetworkingVMnet0AdepterVMnet1AdepterVMnet83Sept.2008ConfidentialzNATNATVMwareNetworkAdepterVMnet8VMwareNetworkAdepterVMnet8VMnet83Sept.2008ConfidentialzHost-OnlyHost-Only3Sept.2008Confidential3Sept.2008Confidential
本文标题:linux网络设置及服务
链接地址:https://www.777doc.com/doc-6040313 .html