![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Linux
燃烧的岁月_
coding
展开
-
更换yum 阿里
下载新的阿里的yum源仓库,阿里的开源镜像站https://developer.aliyun.com/mirror/原创 2024-01-06 21:51:11 · 397 阅读 · 0 评论 -
SSH 免登陆配置
ssh免登陆配置: 1、本机生成秘钥: 生成证书公私钥的步骤: ssh-keygen -t dsa -P '' -f ~/.ssh/id_dsa cat ~/.ssh/id_dsa.pub >> ~/.ssh/authorized_keys 2、拷贝到对方的机器上: cat ~/.ssh/id_dsa.pub | ssh root@192.168.1.201 'cat原创 2016-04-04 03:18:16 · 318 阅读 · 0 评论 -
Linux 更改中文
用vmware的安装的时候要注意,开始的时候不要选择ISO文件.等创建好了在选择ISO文件,因为vmwar为了方便会默认安装.不要任何人工干预,所以下次要注意一下 1.先安装中文包, yum groupinstall chinese-support 2,修改配置.最好吧en_US的那个注销了.在前面家#号 /etc/sysconfig/i18n 添加lang="zh_CN.UTF原创 2016-03-14 20:11:59 · 524 阅读 · 0 评论 -
linux CentOS64安装中文输入法
sudo yum install "@Chinese support"原创 2016-04-11 03:03:32 · 631 阅读 · 0 评论 -
Linux 给history加时间戳
在sudo vim /etc/profile export HISTTIMEFORMAT="%F %T `whoami` " history | more histoyr | tail 文件夹里文件数量 ls -l |grep "^-"|wc -l原创 2016-06-24 22:00:25 · 1064 阅读 · 0 评论 -
Linux 环境变量配置
/etc/profile rpm -ivh .....原创 2016-06-14 01:02:18 · 301 阅读 · 0 评论 -
linux 时间配置
1、查看当前使用的时区: cat /etc/sysconfig/clock 2、,先删除旧的时区配置: rm /etc/localtime 3、,软链新的时区配置: ln -s /usr/share/zoneinfo/Asia/Shanghai /etc/localtime 4、同步时间: /usr/sbin/ntpdate us.pool.ntp.org; /usr/sbin/ntp原创 2016-04-11 02:51:58 · 361 阅读 · 0 评论 -
Linux IP地址配置
DEVICE="eth0" BOOTPROTO="static" HWADDR="00:0C:29:C8:49:32" IPV6INIT="yes" NM_CONTROLLED="yes" ONBOOT="yes" TYPE="Ethernet" UUID="b29f0d6b-d373-4812-92d6-bdbe7fca601c" IPADDR="192.168.3.250"原创 2016-07-09 17:42:42 · 284 阅读 · 0 评论 -
linux命令
原创 2016-11-04 08:57:08 · 287 阅读 · 0 评论