Download presentation
Presentation is loading. Please wait.
1
Enjoy Linux
2
Linux Origin After Unix
3
Distributions
4
Previous Systems Unix BSD Linux Multics BSD File Server System
Punched Card Computers – Keyboard Input Computers – Compatible Time-share System BSD Bill Joy – Berkley Software Distribution – Sun Corp - OpenBSD File Server System Ken Thompson – Prototype of UNIX – “All Files” – “Efficient” No Unisversal Hardware Protcol SystemV / AIX / DEC Unix Ritchie – Bell Lab – B Languange – C Language – “Just For A Game?” Minix Andrew Tanenbaum – Intel X86 Development Linux Torvalds - Multi-task – GNU (GCC/Bash) - POSIX Distribution Kernel + Software + Tools + Documentation = Distribution
5
From Window To Linux Change your mind
6
Linux /usr/bin/php Directory Tree Structure
Windows C:\Windows\system32\cmd.exe Partition Using (NTFS) C: D: E: Linux /usr/bin/php Partition Using (EXT4) /dev/sda /dev/nvme01
7
Linux Directory Tree All come from root
8
Linux Directory Tree
9
Bash
10
Bash ~]# command –options parameters
11
User Rights Control Windows sucks
12
User Rights Control
13
User Rights Control ~]# useradd –u UID –g GROUP –d DIRECTORY –s SHELL USERNAME ~]# passwd USERNAME ~]# su USERNAME
14
File Permission Do not 777 all the time
15
File Permission [root@localhost ~]# ls -al
Permission I-node Owner Usergroup Size Date
16
File Permission
17
File Permission [root@localhost ~]# chown USERNAME FILE
~]# chmod 755 FILE ~]# chmod a+x FILE
18
File Permission
19
File Operation Safety First
20
File Permission [root@localhost ~]# cd DIR
~]# mkdir DIR ~]# touch FILE ~]# rm FILE ~]# rm –R DIR
21
File Permission Relative Path [root@localhost ~]# cd ./docs/python
Absolute Path ~]# cd /root/docs/python
22
File Permission [root@localhost ~]# cp FILE PATH
~]# cp –R DIR PATH ~]# mv FILE PATH ~]# mv –R DIR PATH ~]# mv FILE FILE1
23
Vim Can you exit vim?
24
Vim ~]# vim FILE
25
Tasks Change your APT Source to China Server and refresh it
Using APT to install the apache binary Using Servive command to start apache service Locate the web server path and modify your index.html Open your web browser to check whether your modification is working
26
Thanks You Enjoy Your Linux
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.