CentOS系统配置记录
1. 挂載 ntfs:
确定已经安装了rpmforge软件库的源。在线安装使用 yum install 命令 含有 rpmforge源。
yum install fuse ntfs-3g -y
安装后, 打开 我的电脑 打开对应硬盘 (包含移动硬盘 、U盘):
(1)若是电脑与Linux分区所在盘则提示需要root授权,输入密码即可访问。
(2)若是 移动硬盘、U盘, 则直接可打开。
2. pipe :
管道:名词表示两个进程的通信通道
动词表示通道机制
表示: cat hard_link_to_list | grep a
cat查看 hard_link_to_list文件 , 利用管道 | 输出到 Terminal , 通过 grep 筛选
表示: cat hard_link_to_list | more
文件大,管道输出到more
3.Permission
[alex@example.com photos]$ ls –l
total 2
drwxrwxrwx 2 alex alex 4096 oct 31 11:35 Holidays in France
-rw-rw-r-- 1 alex alex 8 oct 31 09:21 photo2.jpg
File Permision:
First character: File type (-: fle, d: directory, l: link; other types exist)
Second to fourth characters: Read, write, and execute permissions for the owner
Fifth to seventh characters: Read, write, and execute permissions for the group
Eighth to tenth characters: Read, write, and execute permissions for other users
Permissions on a directory differ from regular fle permissions:
The x bit specifes whether or not the folder can be entered (such as using cd)
The r bit allows the directory content to be listed (such as using ls)
The w bit specifes whether or not new fles can be written in the folder
(and existing fles moved to the folder)
4. Linux Directory Infro
Path Description
/ The root directory: Not to be confused with /root. No fles are usually placed at the root, although nothing really prevents you from doing so.
/bin Binaries: Common executable binaries and scripts available for all users of the system. This is where essential programs such as ls, cp, or mv are found.
/boot Boot: Critical fles used at system boot time.
/dev Devices: Device and special fles, more information in the next section.
/etc Et cetera: System-wide confguration fles for services and applications. You will often need to browse this directory, for example, when you will need to edit the Nginx server settings and virtual hosts.
/home Home directories: This directory contains home directories for all users on the system except the root user. In the examples we studied before we used
/home/alex, the home directory for the alex user.
/lib Libraries: System-wide shared libraries and kernel modules, required by binaries found in the /bin and /sbin folders.
/media Removable media: A directory that allows you to easily access removable media using mount points for devices such as CD-ROMs, USB devices, and so on.
/mnt Temporarily mounted flesystems: This directory is a suitable placeholder in case the administrator wishes to mount a flesystem on a temporary basis.
/opt Optional software packages: In theory, this directory should host application fles and add-on packages that do not come with the default operating system
installation. In practice, it is hardly ever used.
/proc Kernel and process information virtual flesystem: This directory provides access to a virtual flesystem containing a variety of statistics and details about
all running processes.
/root Root user home directory: The root user, also known as Superuser, does not have its home directory stored in the same folder as regular users (/home).
Instead, its personal fles are stored in the /root. directory. The slash-root (/root) directory is not to be confused with the root directory (/).
/sbin System binaries: Utilities dedicated to system administration, thus generally accessed by the root user only. Programs such as ifconfg, halt, service, and
many others can be found here.
/srv Service data: A placeholder for data coming from services hosted on the system. Like many others, this directory is rarely used.
/tmp Temporary fles: Files that do not need to be conserved beyond program execution should be stored here. Many operating systems actually clear the
contents of this directory on reboot.
CentOS系统配置记录的更多相关文章
- CentOS系统配置 iptables防火墙
阿里云CentOS系统配置iptables防火墙 虽说阿里云推出了云盾服务,但是自己再加一层防火墙总归是更安全些,下面是我在阿里云vps上配置防火墙的过程,目前只配置INPUT.OUTPUT和FO ...
- CentOS操作记录
基本操作记录 1.centos已经进到图形界面后怎么打开命令行:ctrl+alt+F3 得到如下命令界面 用用户名和密码登录 切换回图形界面时输入的命令:ctrl+alt+F1 2.重新启动系统:#r ...
- 为CentOS系统配置防火墙设置
在各种操作系统中,为了保护系统在网络中是相对安全的,我们通常都会给操作系统配置防火墙,通过配置防火墙来限定哪些流量可以进来,哪些流量可以出去,通过这样的一种方式,可以有效的管理系统的流量,从一定程度上 ...
- 腾讯云CentOS系统配置apache和tomcat
本文使用yum软件包管理工具基于CentOS7.2版本配置apache和tom. 云服务器选购完毕后,安装Xshell软件,输入用户名密码即可远程登陆登录(centos用户名默认是root). 1,下 ...
- virtualbox中centos系统配置nat+host only上网
以前一直使用的是virtualbox的桥接模式,桥接模式的特点: 虚拟机和宿主机处于同等地位,就像是一台真实主机一样存在于局域网中,可以分配到一个网络中独立的IP. 虚拟机和宿主机之间能够互访. 如果 ...
- virtualbox中centos系统配置nat+host only上网(zhuan)
http://www.cnblogs.com/leezhxing/p/4482659.html **************************************************** ...
- centos笔记记录
1. mac链接远程centos系统的时候,出现的问题: ssh 10.1**.4*.**:36** 会出现ssh: Could not resolve hostname 10.1**.4*.**:3 ...
- centos 问题解决记录
在centos上用pip安装包,显示成功安装,但是用pip list去看发现实际上并没有安装? 安装用的是pip install xxx 是不行的,需要用sudo pip install xxx就可以 ...
- CentOS 系统配置完jdk,tomcat mysql,nginx 项目发布步骤
1.启动项目之前,一定要先启动nginx服务 重启nginx服务的命令:./nginx -s reload 2.然后启动三个tomcat的服务 3.如果只能进入tomcat,不能进入项目:把tomca ...
随机推荐
- Windows的基本内容
1, 进程间通信:是指进程间进行信息交换 低级方式:信号量通信(可以交换的信息量少的时候) 高级通信方式(3种):1.共享存储器系统(剪贴板) 2.消息传递系统(进程间的数据交换以消息(message ...
- 第二轮冲刺-Runner站立会议07
今天:实现日历界面 明天:优化日历界面
- webpack入坑之旅
转自: http://guowenfh.github.io/2016/03/24/vue-webpack-01-base/ http://guowenfh.github.io/2016/03/25/v ...
- mahout 安装测试
1 下载 在http://archive.apache.org/dist/mahout下载相应版本的mahout 版本,获取官网查看http://mahout.apache.org 相关的信息
- Error: Collection was modified; enumeration operation may not execute.
http://blog.csdn.net/ffeiffei/article/details/6131254
- 快速傅里叶(FFT)的快速深度思考
关于按时间抽取快速傅里叶(FFT)的快速理论深度思考 对于FFT基本理论参考维基百科或百度百科. 首先谈谈FFT的快速何来?大家都知道FFT是对DFT的改进变换而来,那么它究竟怎样改进,它改进的思想在 ...
- [译]学习HTTP协议的请求行
原文:http://fiddler2.com/blog/blog/2013/02/13/understanding-the-request-line 最近有一位Fiddler用户问我一个问题: 我在使 ...
- PHP 过滤器
PHP 过滤器 PHP 过滤器用于验证和过滤来自非安全来源的数据,比如用户的输入. 什么是 PHP 过滤器? PHP 过滤器用于验证和过滤来自非安全来源的数据. 测试.验证和过滤用户输入或自定义数据是 ...
- Js中文排序(拼音首字母)
演示地址:http://lar5.sinaapp.com/ 1.index.html <html xmlns="http://www.w3.org/1999/xhtml"&g ...
- 在浏览器上直接输入url 时,中文传参乱码问题
这样的地址 xxx.asp?name=中国 ,通过 超链接打开这个链接 ,xxx.asp能够成才接收参数,但是如果将地址直接放到浏览器地址栏上,回车, xxx.asp就无法正确接收中文参数,一直显示 ...