场景:在虚拟机centos的shiyw用户启动80端口的tomcat

  • 以shiyw用户登陆

    1. vi apache-tomcat-6.0.45/bin/startupByRoot.sh
      2018-01-11 非root用户启动80端口

    2. chmod +x startupByRoot.sh

    3. ./startupByRoot.sh

*EOF:end of file,Shell中通常将EOF与 << 结合使用,表示后续的输入作为子命令或子Shell的输入,直到遇到EOF为止,再返回到主调Shell。

相关文章:

  • 2022-01-28
  • 2022-12-23
  • 2022-12-23
  • 2021-11-30
  • 2022-01-21
  • 2022-02-01
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-11-19
  • 2022-12-23
  • 2022-12-23
  • 2022-01-07
相关资源
相似解决方案