找回密码
 注册
查看: 4668|回复: 1

centos.sh脚本问题

[复制链接]
发表于 2012-12-26 15:20:19 | 显示全部楼层 |阅读模式

cp /etc/yum.conf /etc/yum.conf.lnmp
sed -i 's:exclude=.*:exclude=:g' /etc/yum.conf


  get_char()
        {
        SAVEDSTTY=`stty -g`
        stty -echo
        stty cbreak
        dd if=/dev/tty bs=1 count=1 2> /dev/null
        stty -raw
        stty echo
        stty $SAVEDSTTY
        }
        echo ""
美国VPS推荐: 遨游主机、Linode、LOCVPS、主机云、搬瓦工、80VPS、Vultr等美国VPS主机。中国VPS推荐: 阿里云、腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
 楼主| 发表于 2012-12-26 15:24:23 | 显示全部楼层


谁能给解释下,这些是什么意思,不是脚本怎么替换的,,是系统层面这样做有什么意义
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|小黑屋|VPS侦探 ( 鲁ICP备16040043号-1 )

GMT+8, 2026-11-27 05:42 , Processed in 0.006304 second(s), 18 queries .

Powered by Discuz! X5.0

© 2001-2026 Discuz! Team.

快速回复 返回顶部 返回列表