- 博客(11)
- 资源 (2)
- 收藏
- 关注
原创 Startup ssh service
1, cd /usr/sbin/2, ./ssh & (Vi /etc/ssh/sshd_config, you can modify the port)3, if you want to kill, pls use kill - 9 process id.
2006-01-11 10:35:00 548
原创 The useful commands in linux
1, netstat -nl -p|grep ssh (8080)查看端口情况. netstat -na.2, pgrep -fl ssh 查看进程.3, rpm -qa | grep telnet4, dmesg5, fdisk /dev/hdc6, ifconfig7, Setup8, uname -a
2006-01-11 10:19:00 482
原创 Config the X-session(X-WinPro5.3.rar)
XDM配置1。# cd /etc/X11/xdm2. 修改 xdm-config,把下面这行注释掉:“DisplayManager.requestPort: 0” --> “!DisplayManager.requestPort: 0”3。修改 Xaccess“#* # any host can get a login window”--> “* # any host can
2006-01-11 10:13:00 571
原创 How to use chkconfig
简介:本文通过对chkconfig 的介绍,为Linux 系统管理员轻松管理 /etc/rc[0-6].d 目录下众多的符号连接提供了详细的说明。那些Linux “菜鸟” 也可以通过本文了解和认知Linux 系统的运行级的概念。 不像DOS 或者 Windows,Linux 可以有多种运行级。常见的就是多用户的2,3,4,5 ,很多人知道 5 是运行 X-Windows 的级别,而 0 就是关机了
2006-01-11 10:01:00 535
原创 Startup the web server and instance automatically.
1, vi /etc/rc.d/rc.local (自启动oracle)touch /var/lock/subsys/localsh /StartupServer.sh#echo "Starting Tomcat, pls waiting..."#JAVA_HOME=/usr/java/j2sdk1.4.2#sh /jakarta-tomcat/bin/startup.sh > a.txt--
2006-01-11 10:00:00 763
原创 Cronjob setup
-- cronjob.shecho "Repeatedly Run CronJob..."crontab -e (*/2 * * * * su - root -c "/bin/sh /cron.sh" or #0,20,40 0,1,2,3,4,5,6,7,8,9,10,11,12 * * * su - root -c "/bin/sh $GSB_HOME/bin/gsbrestore.sh g
2006-01-11 09:41:00 508
原创 RunWebserver.sh
#!/bin/shicount=`pgrep -fl jakarta-tomcat.bin | wc -l`if [ $icount = 0 ]then echo "Newly starting the Tomcat, pls waiting..." sh /jakarta-tomcat/bin/startup.sh echo "Removing the old compiled cl
2006-01-11 09:35:00 513
原创 Import or Export the oracle data
For oracle DB从某用户导入另一用户,imp xxhgs/pass@lms file=xxhgs.dmp fromuser=xxhgs touser=xxhgs log=impxxhgs.log把一dmp文件,导入某user下,exp xxrpth/pass@boss_172.16.196.243 file=xxrpth_local.dmp For SQL server, 可以使用Im
2006-01-11 09:26:00 565
原创 Configure the environment variable
vi /home/oracle/.bash_profileexport ORACLE_BASE=/home/oracleexport ORACLE_HOME=/home/oracle/product/9.2.0export ORACLE_SID=bossexport ORACLE_TERM=oracleexport NLS_LANG=AMERICAN_AMERICA.WE8ISO8859P1exp
2006-01-11 09:18:00 956
原创 Startup Oracle Instance
su - oraclesqlplus /nologconnect sys/pass@boss as sysdbastartup
2006-01-11 09:13:00 570
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人