Linux:CentOS基本软件安装

本文档详细介绍了在CentOS 7.5.1804版本中安装基础软件的过程,包括更新yum、安装ifconfig、sshd、vim、rz、sz及wget等常用工具,为系统管理和开发提供必要的准备。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

记录一些CentOS的基本软件安装。

版本:

[root@localhost java]$ cat /etc/redhat-release
CentOS Linux release 7.5.1804 (Core) 
[root@localhost java]$ uname -r
3.10.0-862.14.4.el7.x86_64

1:更新yum

[root@731a23b79fc7 /]# yum update -y

2:安装ifconfig

[root@731a23b79fc7 /]# yum search ifconfig
Loaded plugins: fastestmirror, ovl
Loading mirror speeds from cached hostfile
 * base: mirrors.nju.edu.cn
 * extras: mirrors.huaweicloud.com
 * updates: mirrors.huaweicloud.com
=================================Matched: ifconfig========================================
net-tools.x86_64 : Basic networking tools
[root@731a23b79fc7 /]# yum install net-tools.x86_64 -y

3:安装,启动,开机启动sshd

// 安装
[root@731a23b79fc7 /]# yum install openssh-server -y
// 启动
[root@731a23b79fc7 /]# systemctl start sshd.service
// 开机启动
[root@731a23b79fc7 /]# systemctl enable  sshd.service   

4:安装vim

[root@705d10498821 usr]# yum search vim            
Loaded plugins: fastestmirror, ovl
Loading mirror speeds from cached hostfile
 * base: mirrors.aliyun.com
 * extras: mirrors.huaweicloud.com
 * updates: mirrors.aliyun.com
===================================== N/S matched: vim ===================================
protobuf-vim.x86_64 : Vim syntax highlighting for Google Protocol Buffers descriptions
vim-X11.x86_64 : The VIM version of the vi editor for the X Window System
vim-common.x86_64 : The common files needed by any version of the VIM editor
vim-enhanced.x86_64 : A version of the VIM editor which includes recent enhancements //包含了最近改进的VIM编辑器的一个版本。
vim-filesystem.x86_64 : VIM filesystem layout
vim-minimal.x86_64 : A minimal version of the VIM editor

  Name and summary matches only, use "search all" for everything.
[root@705d10498821 usr]# yum install vim-enhanced.x86_64 -y

5:安装rz,sz

[root@705d10498821 /]# yum search lrzsz
Loaded plugins: fastestmirror, ovl
Loading mirror speeds from cached hostfile
 * base: mirrors.aliyun.com
 * extras: mirrors.huaweicloud.com
 * updates: mirrors.aliyun.com
============================================== N/S matched: lrzsz ===========================================
lrzsz.x86_64 : The lrz and lsz modem communications programs

  Name and summary matches only, use "search all" for everything.
[root@705d10498821 /]# yum install lrzsz.x86_64 -y

6:安装wget

[root@705d10498821 /]# yum install wget -y 

 

评论 3
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值