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
用浏览器访问: http://yourserver.com:10000/
Login : admin
Password : hp.com
停止这个服务用:$ /opt/hpws/webmin/webmin-init stop