一、bash的配置文件:持久保存用户配置,共两类配置文件,如下:1、profile类:为交互式登录的用户提供配置;/etc/profile全局/etc/profile.d/*.sh全局~/.bash_profile(~指用户的家目录)个人配置,仅对当前用户有效。profile的功能:设置环境变量。用来实现运行用户命令或脚本。..
分类:
其他好文 时间:
2014-08-28 18:19:56
阅读次数:
169
机场服务 Large modal Profile Messages Profile Messages ...
分类:
其他好文 时间:
2014-08-27 12:35:57
阅读次数:
170
1,创建工作目录mkdir/usr/local/proxy/viproxy#!/bin/bashTmpfile=`mktemp`User=$USERIp=${SSH_CLIENT%%*}Date="`date+%Y-%m-%d`"Logfile="/var/log/myaudit/${Date}_${User}_$Ip.log"exec/usr/bin/script-a-f-q$Logfile2修改/etc/profilevi/etc/profile/usr/local/proxy/proxy..
分类:
系统相关 时间:
2014-08-26 19:54:47
阅读次数:
213
#!/bin/bash#encodebegin##endcodeend#compile=true#Author:birdman#CreateDate:2013-04-28#AlterDate:2013-04-28#Description:#Usage:functionBirdman_Init(){source/etc/profile>>/dev/null2>&1ScriptName=`basename$0`exportpid="${pid}-->$ScriptName"LogF..
分类:
其他好文 时间:
2014-08-26 19:51:38
阅读次数:
325
#!/bin/bash#encodebegin##endcodeend#compile=false#Author:birdman#CreateDate:2013-04-28#AlterDate:2013-05-02#Description:用于加密shell编译#Usage:shcompile.shfunctionBirdman_Init(){source/etc/profile>>/dev/null2>&1ScriptName=`basename$0`exportpid..
分类:
其他好文 时间:
2014-08-26 19:51:17
阅读次数:
210
set profling=1;select count(*) from xuehao;show profiles;show profile for query 1;mysql> set profiling=1;Query OK, 0 rows affected, 1 warning (0.00 se...
分类:
数据库 时间:
2014-08-26 15:03:26
阅读次数:
227
The PRODUCT_USER_PROFILE
(PUP) table provides product-level security that supplements the user-level security provided by the SQL GRANT and REVOKE commands and user roles. To create the PUP table, l...
分类:
其他好文 时间:
2014-08-26 11:48:25
阅读次数:
272
下载对应版本JDK,如jdk-6u45-linux-i586-rpm.bin添加执行权限:#chmod +x jdk-6u45-linux-i586-rpm.bin安装:#./jdk-6u45-linux-i586-rpm.bin在如下的路径文件下: /etc/profile JAVA_HOME=/...
分类:
系统相关 时间:
2014-08-25 09:54:34
阅读次数:
219
今天同事反映一个问题,某个测试库修改了密码,并改了相关应用使用的密码后,仍出现一会账户就被锁住,报ORA-28000: the account is locked的错误。
检查过程:
1. 查看资源限制生效参数
SQL> show parameter resource
NAME TYPE VALUE
---...
分类:
其他好文 时间:
2014-08-24 19:24:53
阅读次数:
193
DownLoad:
http://edelivery.oracle.com
Prepare(Source And Target DB):
Add Environment Varible
vi /home/oracle/.bash_profile
export LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/li...
分类:
数据库 时间:
2014-08-24 11:43:32
阅读次数:
392