Click here to load reader
Upload
tallulah-glenn
View
35
Download
0
Embed Size (px)
DESCRIPTION
Linux 基本操作與網路安全. VBird 2003/06/23. 報告內容. 什麼是電腦?硬體與作業系統的關係? Linux 是什麼?與 Linux 的功能? Linux 的操作介面與如何有效學習? Linux 的多人工作平台概念 ( 帳號管理 ) Linux 檔案系統管理 Linux 程序管理與工作排程 Linux 套件管理員 Linux 問題的檢驗程序 Linux 網路安全簡述. 什麼是電腦?. 一堆硬體,配合一個可以管理硬體的 『 作業系統 』 ,即成為電腦一詞。. 什麼是電腦?. 1960 年代: Multics 計畫始末 - PowerPoint PPT Presentation
Citation preview
Linux VBird2003/06/23
Linux Linux Linux Linux ()Linux Linux Linux Linux Linux
1960Multics 1970 Thompson1973Ritchie C Unix 1977Berkeley BSD 1980AT&T
1984Stallman FSF GNU (free beer or free air ?) (GNU General Public License) (Open Source)
GNU .
Linux 1991Linus Torvalds BBS
Hello everybody out there using minix- I'm doing a (free) operation system (just a hobby, won't be big and professional like gnu) for 386(486) AT clones.
Linux Linux = (Kernel) ()()--^_^
Linux Linux distribution GNU GPL GNU Open Source Linux Linux kernel (Packages) X86
Linux Linux (distributions)Red HatMandrakeLinpusCLE..()
Linux Linux Windows Linux KDE, GNOME Window ManagerX Window
Linux Linux (Workstations)D.WWW, FTP, Mail, Proxy, File, Firewall, .
Linux Linux Open SourceLinux Linux
Linux Linux Windows
Linux (X-Window System)KDE, GNOME.. (BASH Shell)
Linux Bash ShellBash shell GNU Linux kernel X Window Shell scripts program Linux Bash shell
Linux X-Window
BASH vi ()(Regular Expression)Linux (Package Manager)..
Google ( man ) ( log file )
vivi
man pageman commandman 5 configurationinfo command ( GNU )/etc/man.conf ()whatis filename
Linux mail box Linux ID UID, GID UID 0(root), 1~65534()owner, group, others Linux /etc/passwd, /etc/shadow, /etc/group
Linux root .. root root Linux su, sudo
Linux file typeregular files: data, ascii, binary programs..Directorydevice files: Block, Characterfilesystem typeext2, ext3, reiserfsvfat, ntfs..
Linux
Linux User, Group, Others
Linux
Linux ls, pwd, cd, mkdir, rmdircp, mv, rm, cat, nl, head, tail, less, more, file, diff
Linux chown, chgrp, chmod# chmod 777 bar
Linux which command ( PATH )whereis filenamelocate filenamefind path type arguments
Linux hard link filesystems, directory link 0 Symbolic link
Linux
Linux partition filesystem mount partition mount point (directory)# mount -t vfat /dev/hda5 /mnt/windows# mount -t ntfs /dev/hda6 /mnt/winnt# mount -t ext3 /dev/hdb1 /mnt/linux2
Linux fdisk ( MBR, partition )mke2fs fsck /etc/fstab
Linux process ID PID
Linux topps(daemon, )(syslog,cron)(www, mail..)
Linux Prioritynice valuenice PIDrenice PID
Linux , signalkill -signal PID-1 -9 -15 PID
Linux syslog syslog (daemon) /etc/syslog.conf/var/log/messages/var/log/secure ...
Linux crontab/etc/crontabat
Linux RPM()
Linux Tarball (open source) tarball make, kernel source, gcc
Linux
Linux man (logfile)
package manager vi ^_^ Linux User, Group, Others Process
cron BASH scripts
Linux Linux (Ex>Wu-FTP) port scan root kit Linux root
Linux ( Linux Windows ) service (daemon)
Linux OSI Hub Switch TCP/IP Public IP Private IP ? port daemon
Linux RPM Red Hat FTP RPM rpm -Fvh (EX>Kernel)
Linux Tarballgcc, make, kernel source, kernel head. INSTALL README
Linux port netstat top, ps nmap port scan
Linux ServicesStand alone:/etc/rc.d/init.d/scripts (start|stop)Super daemon:vi /etc/xinetd.d/files/etc/rc.d/init.d/xinetd restartps & kill
Linux .TCP_Wrappers daemon /etc/hosts.allow /etc/hosts.deny
Linux iptablesiptables -L -n (chains) INPUT service
Linux iptables script # 1. iptables -Fiptables -Xiptables -Z
Linux # 2. iptables -P INPUT DROPiptables -P OUTPUT ACCEPTiptables -P FORWARD ACCEPT
Linux # 3. (INPUT) iptables -A INPUT -p TCP -i eth0 -s 192.168.0.0/24 -j ACCEPT # IPiptables -A INPUT -p TCP -i eth0 --dport 80 -j ACCEPT # daemoniptables -A INPUT -m mac --mac-source aa:bb:cc:dd:ee:ff -j ACCEPT #
Linux -Models Models ssh
Linux - scripts
Linux - scripts