码迷,mamicode.com
首页 >  
搜索关键字:chown chgrp chmod    ( 4428个结果
执行linux脚本出现问题
1. 权限不够: 使用 chmod +x XXX.sh 提升权限2. 出现:/bin/bash^M: bad interpreter: No such file or directory 原因:文件换行里出现\r\n 与linux格式不符合 安装dos2unix apt-get installd.....
分类:系统相关   时间:2014-06-29 12:26:50    阅读次数:293
php 应该禁用的函数
打开PHP.INI,找到这行:disable_functions =在后面那里加上要禁用的函数,如禁用多个函数,要用半角逗号 , 分开 给个例子:disable_functions = passthru,exec,system,popen,chroot,scandir,chgrp,chown,esc...
分类:Web程序   时间:2014-06-09 16:39:20    阅读次数:487
LAMP 安装详解
1. LAMP 的安装 sudo apt-get install apache2 mysql-server mysql-client php5 php5-gd php5-mysql 2. 由于LAMP大部分操作与/var/www目录相关,为了方便,修改该目录的权限为普通用户可访问。 sudo chmod 777 /var/www/ 3...
分类:其他好文   时间:2014-06-08 18:00:11    阅读次数:313
在linux環境下安裝jprofiler_linux_8_0_2.sh
1.安装jprofiler_linux_8_0_2.sh chmod+x jprofiler_linux_8_0_2.sh ./jprofiler_linux_8_0_2.sh –c 安装过程略。。几乎Enter到底(也可在图形界面下安装不加-c选项,则为图形安装) 2.编辑/etc/profile exportLD_LIBRARY_PATH=/opt/jprofiler...
分类:系统相关   时间:2014-06-07 01:29:39    阅读次数:472
is not in the sudoers file.This incident will be reported
解决方法如下: 1>、进入超级用户模式。也就是输入"su -",系统会让你输入超级用户密码,输入密码后就进入了超级用户模式。 2>、添加文件的写权限。也就是输入命令"chmod u+w /etc/sudoers"。 3>、编辑/etc/sudoers文件。也就是输入命令"vim /...
分类:其他好文   时间:2014-06-06 23:33:46    阅读次数:184
ubuntu免验证登陆权限问题
由于经常ssh到服务器,每次输入密码很烦。就传了本机公钥到服务器。和所有教程将的一样,做起来挺简单的。本机ssh-keygen -t rsa生成公钥和密钥。将公钥传至服务器,用户目录下.ssh/下。当时为了写文件,我做了如下设置chmod 777 -R .sshcd .sshcat id_rsa.p...
分类:其他好文   时间:2014-06-06 18:15:43    阅读次数:254
centos为用户添加sudo功能
suchmod a+w /etc/sudoersvim /etc/sudoers[找到root ALL=(ALL) ALL这行]复制出新的一行,并且将root改为daniel(当前用户名)chmod 0440 /etc/sudoersexit
分类:其他好文   时间:2014-06-03 08:50:33    阅读次数:220
Shell 基础
1.结构 #!指定执行脚本的shell #!/bin/sh # 注释行 命令和控制结构 2.修改权限 chmod +x ... 3.变量 分为临时变量和永久变量 临时变量是shell程序内部定义的,使用返回仅限于定义它的程序,对其他程序不可见。包括用户自定义的变量、位置变量。永久变量是环...
分类:其他好文   时间:2014-06-03 06:44:47    阅读次数:293
Linux 安装Weblogic12 - copy
# groupadd weblogic# useradd -g weblogic weblogic# passwd weblogic# mkdir -p /var/bea# chown -R weblogic:weblogic /var/bea# su - weblogic$ vi ~/.bash_...
分类:Web程序   时间:2014-05-31 20:47:51    阅读次数:396
Ubuntu fbterm安装配置
首先将当前用户加入到video组中:sudo gpasswd -a 您的用户名 video1 安装fbtermsudo apt-get install fbterm此时可以使用sudo fbterm启动,但无法使用普通用户2 执行chmod 777 /dev/fb0chmodu+s/usr/bin/...
分类:其他好文   时间:2014-05-31 15:26:21    阅读次数:299
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!