Linux CentOS
Unix Solaris
Kiến trúc HĐH Linux
Kernel trợ giúp HĐH quản lý
Thiết bị (Devices)
Bộ nhớ (Memory)
Các tiến trình (Processes)
Liên lạc (Communication)
Quản lý phần cứng
Bao gồm các thao tác tập tin,
nén, sao lưu tập tin, các trình
biên dịch, gỡ lỗi, soạn văn bản
Đặc điểm chính
Filesystem
KN
Là cách tổ chức dữ liệu trên thiết bị lưu trữ dữ liệu. Linux hỗ trợ nhiều
filesystem khác nhau để giao tiếp với những HĐH khác như: ext2, ext3,
iso9660, vfat …
Các lệnh lấy thông tin của filesystem
◦
Lệnh df tổng kết việc sử dụng vùng đĩa trống trên đĩa
◦
Lệnh du ước lượng khối lượng vùng đĩa trống
Các lệnh cơ bản
Các lệnh quản lý hệ thống
Các lệnh phân quyền
Các lệnh xử lý tiến trình
Các lệnh thao tác với tập tin
Các lệnh liên quan tới mạng
Các lệnh cơ bản khác
chmod
chown
chgrp
ls –l
xem chi tiết
top
ps
pstree
Về tập lệnh
Cơ bản giống với Linux
Tài liệu
“UNIX® Essentials Featuring the Solaris™ 10 Operating
System SA-100-S10, Student Guide”, Sun Microsystems, 2005
Sự khác biệt về tập lệnh
CentOS Solaris
shutdown
shutdown -h now (or) poweroff shutdown -y -g0 -i5 (or) init 5
reboot reboot (or) shutdown -y -g0 -i6 (or) init 6
kernel
/sbin/lsmod modinfo
/sbin/insmod modload
/sbin/rmmod modunload
scanpci /usr/x11/bin/scanpci (or) prtconf -v
printing
lp (or) lpr lp (or /usr/ucb/lpr)
lpstat (or) lpq lpstat (or /usr/ucb/lpq)
services
/sbin/service status-all svcs –a
/sbin/service sendmail stop svcadm disable sendmail
/sbin/service sendmail start svcadm enable sendmail
/sbin/service sendmail status svcs sendmail
/sbin/chkconfig –list svcs –a
/sbin/chkconfig –add /etc/rc3.d/f00 svccfg import f00.xml
/sbin/chkconfig sendmail on svcadm enable sendmail
Sự khác biệt về tập lệnh
CentOS Solaris
Changing the Solaris OS directory contents
Using command within the Shell
Using basic file permissions
Configuring access control lists (ACLs)
Mail
◦
Hoạt động, các dịch vụ mail
DNS
◦
Cơ chế phân giải tên miền
AntiSpam
◦
Các kỹ thuật chống spam
AntiRelay
LDAP
◦
Giao thức truy cập nhanh các dịch vụ thư mục
Thực hành với Solaris
◦
Searching files and directories