Advertisement
tuanley

Untitled

Aug 7th, 2017
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.94 KB | None | 0 0
  1. [root@mrleyvn home]# cp objs/nginx /usr/sbin/nginx
  2. cp: cannot stat ‘objs/nginx’: No such file or directory
  3. [root@mrleyvn home]# cd nginx-1.12.1
  4. -bash: cd: nginx-1.12.1: No such file or directory
  5. [root@mrleyvn home]# mv /usr/sbin/nginx /usr/sbin/nginx.bak
  6. mv: cannot stat ‘/usr/sbin/nginx’: No such file or directory
  7. [root@mrleyvn home]# cp objs/nginx /usr/sbin/nginx
  8. cp: cannot stat ‘objs/nginx’: No such file or directory
  9. [root@mrleyvn home]# service nginx restart
  10. Redirecting to /bin/systemctl restart nginx.service
  11. Job for nginx.service failed because the control process exited with error code. See "systemctl status nginx.service" and "journalctl -xe" for details.
  12. [root@mrleyvn home]# systemctl start nginx.service
  13. Job for nginx.service failed because the control process exited with error code. See "systemctl status nginx.service" and "journalctl -xe" for details.
  14. [root@mrleyvn home]# nginx -V
  15. -bash: nginx: command not found
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement