Linux虚拟机安装完centos后环境配置
内容导读
互联网集市收集整理的这篇技术教程文章主要介绍了Linux虚拟机安装完centos后环境配置,小编现在分享给大家,供广大互联网技能从业者学习和参考。文章包含1251字,纯文字阅读大概需要2分钟。
内容图文
![Linux虚拟机安装完centos后环境配置](/upload/InfoBanner/zyjiaocheng/1059/f0c691e16e75418eba36ee543baa0387.jpg)
linux下面安装软件
![技术分享图片](/img/jia.gif)
![技术分享图片](/img/jian.gif)
yum install rpm -ivh 编译安装 三部曲:./configure make make install 卸载 rpm -e
1)通过yum安装软件 需要你联网
通过ping 命令测试是否联网
2) 更改系统的yum源 阿里云
#https://opsx.alibaba.com/mirror 来源
mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup
curl -o /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo
1.更改系统的yum源
#阿里云 mirrors.aliyun.com
https://opsx.alibaba.com/mirror
#清华
https://mirrors.tuna.tsinghua.edu.cn/help/centos/
#网易
http://mirrors.163.com/.help/centos.html
3)安装常用软件
yum install -y tree bash-completion wget vim # bash-completion命令 参数补全工具 wget 相当于迅雷一样 #vim类似 notepad++
4)关闭SElinux
2.关闭SElinux
rpm -qa
#-qa query all
rpm -qa
1#永久 修改配置文件 重启服务器之后生效
# enforcing - 已开启 正在运行
# permissive - selinux关闭 警告提示
# disabled - 彻底关闭
5)关闭防火墙
systemctl 管理服务
如何关闭防火墙
systemctl stop firewalld
systemctl disable firewalld
getenforce
systemctl status firewalld
systemctl is-active firewalld
systemctl is-enabled firewalld
systemctl enable firewalld.service
6)检查crond状态
[root@oldboyedu-s8 ~]# rpm -qa cronie
cronie-1.4.11-17.el7.x86_64
[root@oldboyedu-s8 ~]# systemctl is-active crond.service
active
[root@oldboyedu-s8 ~]# systemctl is-enabled crond.service
enabled
原文:https://www.cnblogs.com/zjchao/p/8955031.html
内容总结
以上是互联网集市为您收集整理的Linux虚拟机安装完centos后环境配置全部内容,希望文章能够帮你解决Linux虚拟机安装完centos后环境配置所遇到的程序开发问题。 如果觉得互联网集市技术教程内容还不错,欢迎将互联网集市网站推荐给程序员好友。
内容备注
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 gblab@vip.qq.com 举报,一经查实,本站将立刻删除。
内容手机端
扫描二维码推送至手机访问。