[root@localhost gdm]# vi /etc/X11/gdm/gdm.conf # You can also use the gdm-restart and gdm-safe-restart scripts which just# do the above for you.## For...
分类:
其他好文 时间:
2015-11-01 13:59:16
阅读次数:
214
1、编译内核时出现下面的错误CHK include/linux/version.hCHK include/generated/utsrelease.hmake[1]: `include/generated/mach-types.h' is up to date.CALL scripts/checks...
分类:
系统相关 时间:
2015-10-30 23:03:06
阅读次数:
247
引用js实现传参数,然后在js文件里面动态加载东西,比如传递参数然后动态加载皮肤颜色,而我为了实现多语言,一般人家传递参数是为了区分版本用的还有清除js缓存问。(function(e,t){ var scriptss = document.scripts;//默认语言var defaultlangu...
分类:
Web程序 时间:
2015-10-30 21:42:24
阅读次数:
226
Which PHP mode? Apache vs CGI vs FastCGIThere are multiple ways to execute PHP scripts on a web server. We’re often asked about the difference between...
分类:
Web程序 时间:
2015-10-30 20:17:42
阅读次数:
246
vim/etc/sysconfig/network-scripts/ifcfg-eno16777736
DNS1=192.168.1.100
vim/etc/sysconfig/network
NETWORKING=yes
HOSTNAME=lin01.example.local
vim/etc/hosts
127.0.0.1localhostlocalhost.localdomainlocalhost4localhost4.localdomain4
::1localhostlocalhost.local..
分类:
其他好文 时间:
2015-10-30 19:07:02
阅读次数:
316
[root@localhostnetwork-scripts]#yuminstallvimLoadedplugins:fastestmirrorExistinglock/var/run/yum.pid:anothercopyisrunningaspid2503.Anotherappiscurrentlyholdingtheyumlock;waitingforittoexit...Theotherapplicationis:yumMemory:19MRSS(306MBVSZ)Started:ThuOct2923..
分类:
移动开发 时间:
2015-10-29 16:28:23
阅读次数:
225
LinuxzabbixIO监控监控原理通过定时监控iostata-dx1输出数据采集硬盘IO1.服务器安装yuminstallsysstat#iostat工具安装2.设置本机计划任务crontab-e*/3****/usr/bin/iostat-dxkt1500>/tmp/iostat_output3.增加监控脚本mkdir/etc/zabbix/scripts#上传硬盘发现脚本disk_discove..
分类:
系统相关 时间:
2015-10-29 16:26:36
阅读次数:
328
克隆后的主机找不到eth0修改 /etc/udev/rules.d/70-persistent-net.rules删除原eth0的信息,将eth1的name改为eth0修改 /etc/sysconfig/network-scripts/ifcfg-eth0 ,网卡地址修改成上面文件显示的地址。重启虚...
分类:
系统相关 时间:
2015-10-29 11:10:37
阅读次数:
226
** --Alcatraz:Xcode插件管理 **安装:curl -fsSL https://raw.github.com/supermarin/Alcatraz/master/Scripts/install.sh | sh卸载:rm -rf ~/Library/Application\ Supp...
分类:
其他好文 时间:
2015-10-28 10:37:47
阅读次数:
205
一、桥接模式设置方法[root@Centos66~]#vi/etc/sysconfig/network-scripts/ifcfg-eth0DEVICE=eth0TYPE=EthernetONBOOT=yesNM_CONTROLLED=yesBOOTPROTO=dhcpHWADDR=00:0c:29:8d:e8:5bDNS1=8.8.8.8USERCTL=noPEERDNS=yesIPV6INIT=no[root@Centos66~]#/etc/init.d/networkrestartS..
分类:
其他好文 时间:
2015-10-28 07:11:08
阅读次数:
335