摘要: 修改配置文件: #sudo vi /etc/sysconfig/network-scripts/ifcfg-eth0 BOOTPROTO="static"ONBOOT="yes"IPADDR=192.168.1.220NETMASK=255.255.255.0GATEWAY=192.168.1.1D 阅读全文
posted @ 2016-12-15 21:06 idea偶买噶 阅读(322) 评论(0) 推荐(0) 编辑
摘要: yum -y groupinstall Desktop yum -y groupinstall "X Window System"yum -y groupinstall chinese-support vi /etc/sysconfig/i18n将en_US改成zh_CN 启动:init 5 或者 阅读全文
posted @ 2016-12-15 21:03 idea偶买噶 阅读(471) 评论(0) 推荐(0) 编辑
摘要: #yum -y install ntp#service ntpd restart#vi /etc/ntp.confserver 0.aisa.pool.ntp.org iburstserver 1.asia.pool.ntp.org iburstserver 2.asia.pool.ntp.org 阅读全文
posted @ 2016-12-15 21:02 idea偶买噶 阅读(105) 评论(0) 推荐(0) 编辑
摘要: 数组: var cars=new Array(); cars[0]="Audi"; cars[1]="BMW"; cars[2]="Volvo"; var cars=new Array("Audi","BMW","Volvo"); var cars=["Audi","BMW","Volvo"];Ja 阅读全文
posted @ 2016-12-15 15:53 idea偶买噶 阅读(140) 评论(0) 推荐(0) 编辑
摘要: 获取json数据的方式var json = {'1':1, '2':'2'} 1. json['1'] = 1 2.json.2 =1 阅读全文
posted @ 2016-12-15 14:50 idea偶买噶 阅读(100) 评论(0) 推荐(0) 编辑