Lab 15 Switching Users and Setting a Umask Goal: Become familiar with the use of several essential commands in useridentification and account switching. System Setup: A working, installed Red Hat Enterprise Linux system with an unprivilegeduser accou…
Goal: Practice using a variety of tools to transfer files between your system and a remote system. System Setup: A working, installed Red Hat Enterprise Linux system with an unprivileged user account named student with a password of student. Lab Setu…
Lab 17 Installation and Administration Tools Goal: Become familiar with system configuration tools and successfully install Red Hat Enterprise Linux Lab Setup: Ensure that a server1 repository is available. Provide students with boot.iso disk. Warnin…
Lab 9 Using vim Sequence 1: Navigating with vim 1. Log in as user student 2. [student@stationX ~]$ cp /etc/passwd ~ 3. [student@stationX ~]$ vim ~/passwd 4. First, try moving around using such as the arrows, PgUp, PgDn.They should all work as expecte…
Lab 6 Exploring the Bash Shell Sequence 1: Directory and file organization 1. Log in as user student with the password student. 2. [student@stationX ~]$ pwd/home/student 3. [student@stationX ~]$ touch {report,memo,graph}_{sep,oct,nov,dec}_{a,b,c}_{1,…
Lab 3 Getting Help with Commands Sequence 1: Using the Help Tools 1. man -f keyword whatis keyword list all man pages. 2. man -k keyword list all manual pages. 3. man -K keyword will be asked whether or not you would like to read it. 4. man 3 basenam…
Lab 5 File Permissions Sequence 1: Determining File Permissions 1. What is the symbolic representation644 rw-r--r--755 rwxr-xr-x000 ---------711 rwx--x--x700 rwx------777 rwxrwxrwx555 r-xr-xr-x111 --x--x--x600 rw-------731 rwx-wx--x 2. Given a file w…
Lab 4 Browsing the Filesystem Sequence 1: Directory and File Organization 1. Log in as user student with the password student. 2. [student@stationX ~]$ pwd/home/student 3. ls    ls -a    ls -al-a option includes files whose names begin with a period…
Lab 8 Introduction to String Processing Sequence 1: Exercises in string processing 1. Other than the man page, how could you get a summary of options for the aspell command,displayed one page at a time?aspell --help | less 2. How many files are in th…
Lab 7 Standard I/O and Pipes 1. [student@stationX ~]$ cat /proc/cpuinfo /proc/meminfo 2. [student@stationX ~]$ cat /proc/cpuinfo /proc/meminfo | less 3. [student@stationX ~]$ cat /proc/cpuinfo /proc/meminfo | mail -s "System Stats for $(hostname)&quo…
Lab 11 Process Control Sequence 1: Job Control 1. [student@stationX ~]$ su - 2. Begin some jobs in the background:[root@stationX ~]# tail -n0 -f /var/log/messages &[root@stationX ~]# updatedb & 3. [root@stationX ~]# service syslog restart 4. [root…
Lab 10 Understanding the Configuration Tools Sequence 1: Configuring the Network with system-config-network 1. Select System->Administration->Network. 2. Click New, highlight Ethernet Connection, and click Forward. 3. Highlight the device associated…
Sequence 1: Configuring the bash Shell Deliverable: A system with new aliases that clear the screen, and produce a useful timesortedls listing. Instructions: 1. You have decided to create an alias so that when you type c, the system will run the clea…
Sequence 1: Using find Scenario: Log in as user student. Devise and execute a find command that producesthe result described in each of the following problems, then write down thecommand in the space provided. You may need to refer to the man page fo…
首先来段题外话:之前我发现我贴出的代码都没有行号,给讲解带来不便.所以从现在起,我要给代码加上行号.我写博客用的这个插入代码的插件,确实不支持自动插入行号.我真的没有找到什么好方法,无奈之下,只能按照网友的说法,在VIM中给每行代码加上行号,然后再贴出来. 在VIM中每一行都添加上行号的方法是: :%s/^/\=line(".")/ 对,只要执行这个命令就可以了.至于为什么这样写,可以参考我的另一篇博文 <在VIM中添加行号的方法>http://blog.csdn.net/…
Lab 16 The Linux Filesystem Goal: Develop a better understanding of Linux filesystem essentials including: the creation and use of links, using locate and find, and archiving and compressing files. System Setup: A working, installed Red Hat Enterpris…
Lab 3 Securing Networking Goal: To build skills with the Netfilter packet filter Sequence 1: Applying simple packet filtering to a host Scenario: A host (stationX) requires protection by packet filtering. This host has only one network interface, so…
前言 最近在看Peter Harrington写的"机器学习实战",这是我的学习心得,这次是第14章 - 利用SVD简化数据. 这里介绍,机器学习中的降维技术,可简化样品数据. 基本概念 降维(dimensionality reduction). 如果样本数据的特征维度很大,会使得难以分析和理解.我们可以通过降维技术减少维度. 降维技术并不是将影响少的特征去掉,而是将样本数据集转换成一个低维度的数据集. 降维技术的用途 使得数据集更易使用: 降低很多算法的计算开销: 去除噪声: 使得结…
End of Unit 1 • Questions and Answers • Summary • Open source and the right to modify • The GNU Project and the Free Software Foundation • Linus Torvalds and the Linux kernel • Red Hat Enterprise Linux and the Fedora Project • Basic Linux Principles…
搜集统计信息 1. dbms_stats gather_schema_stats 1)option:有四个选项: a.gather empty:只分析目前还没有搜集过统计信息的表 SQL> conn scott/tiger; SQL> select table_name, num_rows, blocks from user_tables; 只有big_table和t没有搜集 SQL> begin dbms_stats.gather_schema_stats( ownname =>…
Lab 6 Adding New Filesystems to the Filesystem Tree Goal: Develop skills and knowlege related to partitioning and filesystems Estimated Duration: 60 minutes Sequence 1: Creating and Mounting Filesystems Instructions: 1. Use fdisk -l to locate informa…
Lab 7 Electronic Mail Goal: To build common skills with MTA configuration Estimated Duration: 90 minutes System Setup: Ensure that SELinux and packet filtering are enabled. If you feel confident, then try to complete the lab based only on the specifi…
2013-08-25 11:32:06 第5章 RARP:逆地址解析协议 5.1 引言 具有本地磁盘的系统引导时,一般是从磁盘上的配置文件中读取IP地址.但是无盘机,如X终端或无盘工作站,则需要采用其他方法来获得IP地址. 网络上的每个系统都具有唯一的硬件地址,它是由网络接口生产厂家配置的.无盘系统的RARP实现过程是从接口卡上读取唯一的硬件地址,然后发送一份RARP请求(一帧在网络上广播的数据),请求某个主机相应该无盘系统的IP地址(在RARP应答中). 5.2 RARP的分组格式 上图为AR…
Lab 1 Managing Startup Goal: To familiarize yourself with the startup process System Setup: A system installed with Red Hat Enterprise Linux Sequence 1: Changing the default run level Deliverable: A system that boots to runlevel 3 by default. Instruc…
Lab 2 Working with packages Goal: To gain working experience with package management System Setup: A working install of Red Hat Enterprise Linux 5 connected to the classroom network Situation: You have been asked to connect a system to your company's…
Lab 5 User and Group Administration Goal: To build skills for user and group administration. Estimated Duration: 45 Minutes Lab Setup: Instructor: Start ypserv. Situation: You need to setup groups and accounts for several users in your company. Each…
Lab 4 System Services Goal: Develop skills using system administration tools and setting up and administering CUPS. Estimated Duration: 30 Sequence 1: Using cron Scenario: You want to know some information about the status of the system every ten min…
Lab 3 Configuring the kernel Goal: Develop skills tuning the /proc filesystem. Gain some experience working with device special files and modules. Use the tools available to explore hardware resources. Estimated Duration: 45 minutes Sequence 1: Turni…
Lab 9 Installation and System-Initialization Goal: Successfully install Red Hat Enterprise Linux. System Setup: A computer capable of booting from CD. Warning: If your system cannot boot from the provided boot.iso CD, you might need to change the boo…
Lab 8 Manage Network Settings Goal: To build skills needed to manually configure networking Estimated Duration: 45 minutes System Setup: A Red Hat Enterprise Linux System using DHCP networking Lab Setup: Disable the DHCP service on server1. Sequence…