5月技术考核

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了5月技术考核相关的知识,希望对你有一定的参考价值。

创建yum源,测试使用yum安装包, 通过源码安装软件的具体步骤。

服务端:
让光盘内容出现,在系统的一个目录下
mount /dev/cdrom /nsd
客户端:
书写一个配置文件,指定服务端位置
配置文件格式及路径:/etc/yum.repos.d/*.repo

[[email protected] ~]# rm -rf /etc/yum.repos.d/*
[[email protected] ~]# yum-config-manager --add file:///nsd
[[email protected] ~]# ls /etc/yum.repos.d/
[[email protected] ~]# vim /etc/yum.repos.d/nsd.repo
最后添加一行
gpgcheck=0 #不检测签名认证

[[email protected] ~]# yum repolist #列出仓库信息
[[email protected] ~]# yum -y install httpd

源代码编译安装软件的基本过程
1 命令工具 tar 解包:将下载的源码包解压释放
2 ./configure 配置:建立安装清单(指定安装目录、需要的功能等)
3 make 编译:根据安装清单将源代码文件制作成二进制的可执行程序文件或相关模块
4 make install 安装:将可执行文件、相关模块、配置、文档等安装到系统中
演示:nginx源码安装
[[email protected] ~]# yum -y install gcc pcre-devel zlib-devel
[[email protected] ~]# wget http://nginx.org/download/nginx-1.8.1.tar.gz
[[email protected] ~]# tar -xf nginx-1.8.1.tar.gz -C /usr/src/
[[email protected] ~]# cd /usr/scr/nginx-1.8.1
[[email protected] ~]# ./configure
[[email protected] ~]# make
[[email protected] ~]# make install

以上是关于5月技术考核的主要内容,如果未能解决你的问题,请参考以下文章

5月技术考核1

5月个人技术考核

10月技术考核

4月技术考核

10月技术考核

6月技术考核