码迷,mamicode.com
首页 >  
搜索关键字:root guard    ( 51738个结果
UVA 712 - S-Trees
题目如下: S-Trees  A Strange Tree (S-tree) over the variable set is a binary tree representing a Boolean function .Each path of the S-tree begins at the root node and consists ...
分类:其他好文   时间:2014-06-05 11:04:37    阅读次数:248
linux配置nfs步骤及心得
这节我们介绍NFS的相关概念,以及如何配置NFS和在客户端中查看NFS。   NFS的配置过程很简单。在服务器端中编辑/etc/exports文件,添加如下内容:     /home/nfs-share    192.168.1.122 *(rw,sync)  第一项是要共享的目录,后者为共享的配置参数一般为:*(rw,sync,no_root_squash,no_all_squas...
分类:系统相关   时间:2014-06-05 06:13:16    阅读次数:459
centOS6.3下安装mysql5.6详解
首先去mysql官网下载需要的linux版本的mysql,我下的是MySQL-5.6.17-1.linux_glibc2.5.x86_64.rpm-bundle.tar 下载网址为:http://dev.mysql.com/downloads/mysql/ 接下来把下载下来的mysql拖到centOS中去,也可以直接在centOS中下载。 接下来解压下载好的文件 [root@localho...
分类:数据库   时间:2014-06-05 04:32:59    阅读次数:296
centOS下mysql-ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
系统centOS-6.3 方法操作很简单,如下: # /etc/init.d/mysql stop # mysqld_safe --user=mysql --skip-grant-tables --skip-networking & # mysql -u root mysql # mysql>use mysql ; mysql> UPDATE user SET Password=PAS...
分类:数据库   时间:2014-06-05 02:54:40    阅读次数:331
init: cannot execve(‘XXX’):Permission denied问题
最近在给android 4.3系统进行root时候,一直出现如下的红色权限问题  :  7.695741] Freeing init memory: 236K [    8.555286] init: cannot find '/system/bin/dbus-daemon', disabling 'dbus' [    8.566954] init: cannot execve('/s...
分类:其他好文   时间:2014-06-05 01:02:36    阅读次数:358
LeetCode: Sqrt(x) [069]
【题目】 Implement int sqrt(int x). Compute and return the square root of x. 【题意】 实现 int sqrt(int x),计算并返回平方根。 【思路】 用牛队迭代法求解,本题可以转化为求 f(n)=n^2-x=0的解 用牛顿迭代法不断逼近真实解,假设曲线上有点(n[i],f(n[i])) 则这点出的斜率为2ni, 通过该点的直线方程为 y=2n[i](...
分类:其他好文   时间:2014-06-04 23:38:20    阅读次数:325
lnmp 后续配置
1、添加虚拟主机,执行如下命令:/root/vhost.sh 根据提示输入要绑定的域名,回车,如果需要添加更多的域名,输入y,再输入要另外绑定的域名,多个域名可以用空格隔开(注:带www和不带www的是不同的域名,如需带www和不带的www的域名都访问同一个网站需要同时都绑定)。再输入域名绑定的目录...
分类:其他好文   时间:2014-05-31 14:27:43    阅读次数:273
VNC+SSH相关应用
1.安装vnc-server vncviewer2.执行vncserver 输入密码3.执行vncserver -kill :1 杀死1号屏幕4.修改/root/.vnc/xstartup unset SESSION_MANAGER exec /etc/X11/xinit/xinitrc 去掉以上两...
分类:其他好文   时间:2014-05-31 14:08:08    阅读次数:409
Linux本地无法登录,远程却可以登录
[root@oraserver ~]# vi /etc/pam.d/login 将以下内容注释掉: #session required /lib/security/pam_limits.so
分类:系统相关   时间:2014-05-31 04:53:50    阅读次数:343
在windows的情况下面右键添加vim
1, 首先打开注册表,然后打开下面路径:HKEY_CLASSES_ROOT\*\Shell2, 右键新建项(也就是右键的文字): 用vim编辑3, 在“用vim编辑”下面再添加项 : command4, 点击新建的“commond”,看到右边窗口有默认,然后右击“修改”,修改为gvim.exe的位置...
分类:Windows程序   时间:2014-05-31 01:05:31    阅读次数:336
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!