Chinaunix首页 | 论坛 | 博客
  • 博客访问: 68812
  • 博文数量: 6
  • 博客积分: 1410
  • 博客等级: 上尉
  • 技术积分: 200
  • 用 户 组: 普通用户
  • 注册时间: 2007-10-21 19:42
文章分类

全部博文(6)

文章存档

2011年(1)

2008年(5)

我的朋友

分类:

2008-05-14 10:54:07


shutdown -y -h 0 (关闭系统,然后关闭电源)
shutdown -y -r   (关闭系统后重新启动,类于widowns里的热起)
shutdown -y 0  (关闭系统,并进到单用户模式)

  Apache服务安装后并不自动运行。手动启停。
  启动HP-UX Apache-based Web Server服务:
     $ /opt/hpws/apache/bin/apachectl start
  停止HP-UX Apache-based Web Server服务:
     $ /opt/hpws/apache/bin/apachectl stop
  然后就可以用浏览器来查看WEB有没有发布了。

  也可以启动带SSL的HP-UX Apache-based Web Server服务:
     $ /opt/hpws/apache/bin/apachectl startssl
  停止服务为:
     $ /opt/hpws/apache/bin/apachectl stop

  还要说说HP-UX WEBMIN-BASED ADMIN。这个是基于WEB的web服务配置工具,可以用root来Log in,然后启动服务:  
     $ /opt/hpws/webmin/webmin-init start
     用浏览器访问:
     Login : admin
     Password : hp.com
  停止这个服务用:$ /opt/hpws/webmin/webmin-init stop

查看监听端口 Linux
nmap localhost
netstat -npl

从linux mount windows共享文件夹
mount -t smbfs -o username=share,password=Welcome1 "//10.182.121.88\Red Hat Enterprise Linux 4-gci3" /mnt

aix mount cdrom
mount -rn /dev/cd0 /mnt/cdrom

根据文件内容查找
find . -exec grep -l 'pass' {} \;
sed -i "s/gci1/gci4/g"
find .  -type f -print|xargs grep -l gci4

备份控制文件
ALTER DATABASE BACKUP CONTROLFILE TO trace;






阅读(809) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~