分类:
2008-05-14 10:54:07
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;