码迷,mamicode.com
首页 >  
搜索关键字:etc    ( 45464个结果
leetcode 205
205. Isomorphic Strings Given two strings s and t, determine if they are isomorphic. Two strings are isomorphic if the characters in s can be replaced ...
分类:其他好文   时间:2016-11-14 11:57:49    阅读次数:167
[LeetCode]436 Find Right Interval
Given a set of intervals, for each of the interval i, check if there exists an interval j whose start point is bigger than or equal to the end point o ...
分类:其他好文   时间:2016-11-14 11:50:02    阅读次数:203
bash配置文件
bash配置文件开机以后,当我们操作系统时,会发现已经定义了很多变量,那么这些变量在什么地方定义的呢?我们自己要想定义这些该怎么定义呢?开机后有多个配置文件要读取,读取的顺序时什么?开启操作系统后,读取的文件:①按作用范围分为两类,全局的,个人的,分别为/etc/pr..
分类:其他好文   时间:2016-11-14 02:38:16    阅读次数:181
rsync+inotify实现实时同步
服务端:一、首先安装rsync,接着编辑配置文件,若没有,自己手动创建也可rsync、xinetd(rsync最好是3.0以上版本,算法更优,速度更快.xinetd监控管理rsync服务)/etc/rsyncd.confuid=wwwgid=wwwusechroot=nomaxconnections=200timeout=600pidfile=/var/run/rsyncd.pidlockfil..
分类:其他好文   时间:2016-11-14 02:35:58    阅读次数:235
FreeBSD_11_系统管理——{No.2}
一、Managing Services in FreeBSD Service restart will only work if it is set to YES in /etc/rc.conf. To start, stop or restart a service regardless of t ...
分类:其他好文   时间:2016-11-14 01:36:23    阅读次数:171
获取费行间样式
获取非行间由于IE不支持getComputedStyle(oBox,false).width兼容高版本报undefined;所以在IE下用,obj.currentStyle.width ...
分类:其他好文   时间:2016-11-14 01:14:09    阅读次数:212
在ubuntu16.10 PHP测试连接MySQL中出现Call to undefined function: mysql_connect()
1.问题: 测试php7.0 链接mysql数据库的时候发生错误: Fatal error: Uncaught Error: Call to undefined function mysqli_connect() 即使把 /etc/php/7.0/apache2/php.ini 中的行: ;exte ...
分类:数据库   时间:2016-11-13 22:43:29    阅读次数:5942
RHEL5.8设置OpenSSH的X11 Forwarding功能
X11的Forwarding功能需要在SSH中进行设置,RedHat Enterprise Linux5.8默认使用的而是OpenSSH,现将设置方法记录如下: OpenSSH配置文件路径: /etc/ssh/sshd_config 使用vi编辑器打开该配置文件,使用“/X11”搜索关键字。 找到“... ...
分类:其他好文   时间:2016-11-13 21:53:22    阅读次数:245
varnish浅析
安装varnish,安装包需要到官网下载http://www.varnish-cache.org/releases/index.htmlvarnish的程序环境:/etc/varnish/varnish.params:配置varnish服务进程的工作特性,例如监听的地址、端口及缓存机制等; /etc/varnish/default.vcl:配置各Child/Cache线程的工作属性; /u..
分类:其他好文   时间:2016-11-13 20:04:20    阅读次数:382
LVM创建
以上为前期的准备工作。PV阶段:VG阶段:LV阶段:如果想要开机挂载,需要将相关信息写入到/etc/fstab文件中
分类:其他好文   时间:2016-11-13 20:02:21    阅读次数:186
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!