admin管理员组

文章数量:1536098

2024年5月30日发(作者:)

linux:linux软件安装命令

[root@test /root]# md5sum [-bct] filename

[root@test /root]# md5sum [--status|--warn] --check filename

参数说明:

-b :使用 binary 的读档方式,预设为 Windows/DOS 档案型态的读取方式;

-c :检验 md5sum 档案指纹;

-t :以文字型态来读取 md5sum 的档案指纹。

范例:

[root@test /root]# md5sum

5a0c3fcfcd4c3f937644b8cd71a0cf89

# 看!显示的编码是否与上面相同呢?!赶紧测试看看!

源代码包安装方式

#1. 解压缩,并阅读一下 ntp 底下的 README 与 INSTALL:

[root@test root]# cd /usr/local/src

[root@test src]# tar -zxvf /root/

# 这个步骤会让原始码解开成为 /usr/local/src/ntp-4.1.2 这个目录

# 2. 进入原始码所在目录,并且查阅如何安装的技巧:

[root@test src]# cd ntp-4.1.2

[root@test ntp-4.1.2]# vi INSTALL ( 或 vi README)

# 3. 开始设定参数、编译与安装:

[root@test ntp-4.1.2]# ./configure --help | more

# 上面这个动作可以察看一下可用的参数!

[root@test ntp-4.1.2]# ./configure --prefix=/usr/local/ntp

> --enable-all-clocks --enable-parse-clocks

checking (cached) gcc

checking whether we are using the GNU (cached) yes

本文标签: 安装原始参数方式