~~~
[root@iZ23w9ljtgdZ etc]# yum install centos-release-scl-rh
Loaded plugins: security
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package centos-release-scl-rh.noarch 0:2-3.el6.centos will be installed
--> Finished Dependency Resolution
Dependencies Resolved
========================================================================================================================================================
Package Arch Version Repository Size
========================================================================================================================================================
Installing:
centos-release-scl-rh noarch 2-3.el6.centos extras 12 k
Transaction Summary
========================================================================================================================================================
Install 1 Package(s)
Total download size: 12 k
Installed size: 19 k
Is this ok [y/N]: Y
Downloading Packages:
centos-release-scl-rh-2-3.el6.centos.noarch.rpm | 12 kB 00:00
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : centos-release-scl-rh-2-3.el6.centos.noarch 1/1
Verifying : centos-release-scl-rh-2-3.el6.centos.noarch 1/1
Installed:
centos-release-scl-rh.noarch 0:2-3.el6.centos
Complete!
[root@iZ23w9ljtgdZ etc]#
~~~
搜索
~~~
[root@iZ23w9ljtgdZ etc]# yum search php
Loaded plugins: security
http://mirror.centos.org/centos/6/sclo/x86_64/rh/repodata/repomd.xml: [Errno 12] Timeout on http://mirror.centos.org/centos/6/sclo/x86_64/rh/repodata/repomd.xml: (28, 'connect() timed out!')
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: centos-sclo-rh. Please verify its path and try again
~~~
安装
~~~
[root@iZ23w9ljtgdZ etc]# yum install centos-release-SCL
Loaded plugins: security
http://mirror.centos.org/centos/6/sclo/x86_64/rh/repodata/repomd.xml: [Errno 12] Timeout on http://mirror.centos.org/centos/6/sclo/x86_64/rh/repodata/repomd.xml: (28, 'connect() timed out!')
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: centos-sclo-rh. Please verify its path and try again
~~~
~~~
[root@iZ23w9ljtgdZ etc]# yum install scl-utils-build
Loaded plugins: security
http://mirror.centos.org/centos/6/sclo/x86_64/rh/repodata/repomd.xml: [Errno 12] Timeout on http://mirror.centos.org/centos/6/sclo/x86_64/rh/repodata/repomd.xml: (28, 'connect() timed out!')
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: centos-sclo-rh. Please verify its path and try again
~~~
- 目录
- Linux目录结构
- 文件和目录管理
- 创建文件
- touch命令
- ln命令
- 文件列表
- 查看内容
- ls命令
- ll命令
- stat 命令
- 文件查找
- updatedb命令
- locate/slocate命令
- whereis命令
- which命令
- find命令
- 文件压缩
- tar命令
- 目录管理
- mkdir命令
- pwd命令
- tail命令
- 监视文件
- 文件复制
- cp命令
- 压缩解压
- zip命令
- unzip命令
- 系统管理
- crontab命令
- crontab问题
- crontab日志
- crontab原理
- 系统计划任务
- 用户计划任务
- 调用ThinkPHP控制器
- ntsysv命令
- chkconfig命令
- export命令
- 修改PATH环境变量
- ps命令
- man
- 主要方法
- pstree命令
- service命令
- kill命令
- ulimit命令
- 综合命令
- 编译文件
- make命令
- makefile文件
- 设备管理
- mount命令
- 用户和工作组管理
- groupadd命令
- passwd命令
- useadd命令
- groups命令
- chage命令
- whoami命令
- 查看用户组下所有用户
- 软件安装
- rpm命令
- 系统监测
- free命令
- 硬件配置
- 系统监控
- top命令
- ps_mem
- pstree
- 文件传输
- web服务
- Nginx
- 文件下载
- wget命令
- 系统帮助
- whatis命令
- man命令
- shell命令
- shell变量
- sh命令
- source命令
- test命令
- 表达式
- 逻辑运算符
- date命令
- declare命令
- 软件安装
- yum命令
- 安装
- 系统服务
- systemctl命令
- service
- 环境变量
- Linux 中环境变量设置
- 网络管理
- iptables命令
- netstat命令
- 查看端口占用
- 常用端口说明
- 系统安全
- getenforce
- 磁盘空间
- df命令