"인문지식 처리와 프로그래밍2020 5.21"의 두 판 사이의 차이
soook
(새 문서: <pre> login as: soook soook@dh.aks.ac.kr's password: Welcome to Ubuntu 16.04.1 LTS (GNU/Linux 4.4.0-72-generic x86_64) * Documentation: https://help.ubuntu.com * Management: h...) |
|||
| 67번째 줄: | 67번째 줄: | ||
</body> | </body> | ||
</html> | </html> | ||
| + | |||
| + | </pre> | ||
| + | |||
| + | ** | ||
| + | <pre> | ||
| + | soook@dh:~/public_html/cgi-bin$ ls | ||
| + | Hello.py | ||
| + | soook@dh:~/public_html/cgi-bin$ chmod +rwx Hello.py | ||
| + | soook@dh:~/public_html/cgi-bin$ ls | ||
| + | Hello.py | ||
| + | soook@dh:~/public_html/cgi-bin$ python Hello.py | ||
</pre> | </pre> | ||
2020년 5월 21일 (목) 17:09 판
login as: soook soook@dh.aks.ac.kr's password: Welcome to Ubuntu 16.04.1 LTS (GNU/Linux 4.4.0-72-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage 722 packages can be updated. 0 updates are security updates. New release '18.04.4 LTS' available. Run 'do-release-upgrade' to upgrade to it. Last login: Fri Mar 13 10:57:30 2020 from 125.132.153.101 soook@dh:~$ ls public_html soook@dh:~$ cd public_html soook@dh:~/public_html$ ls cgi-bin graph mediawiki-1.27.4.tar.gz pavilion SoookArt wiki soook@dh:~/public_html$ ls cgi-bin graph mediawiki-1.27.4.tar.gz pavilion SoookArt wiki soook@dh:~/public_html$ dir cgi-bin graph mediawiki-1.27.4.tar.gz pavilion SoookArt wiki soook@dh:~/public_html$ cd .. soook@dh:~$ ls public_html soook@dh:~$ cd public_html soook@dh:~/public_html$ ls cgi-bin graph mediawiki-1.27.4.tar.gz pavilion SoookArt wiki soook@dh:~/public_html$ cd cgi-bin soook@dh:~/public_html/cgi-bin$ ls soook@dh:~/public_html/cgi-bin$ ls Hello.py Hello.py soook@dh:~/public_html/cgi-bin$ chmode + rwx Hello.py No command 'chmode' found, did you mean: Command 'chmod' from package 'coreutils' (main) chmode: command not found soook@dh:~/public_html/cgi-bin$ ch m ch: command not found soook@dh:~/public_html/cgi-bin$ ch mode +rwx Hello.py ch: command not found soook@dh:~/public_html/cgi-bin$ cdmod +rwx Hello.py No command 'cdmod' found, did you mean: Command 'chmod' from package 'coreutils' (main) cdmod: command not found soook@dh:~/public_html/cgi-bin$ chmod +rwx hello.py chmod: cannot access 'hello.py': No such file or directory soook@dh:~/public_html/cgi-bin$ ls Hello.py soook@dh:~/public_html/cgi-bin$ chmod +rwx Hello.py soook@dh:~/public_html/cgi-bin$ ls Hello.py soook@dh:~/public_html/cgi-bin$ python Hello.py Content-type:text/html <html> <head> <title>Hello Word - First CGI Program</title> </head> <body> <h2>Hello Word! This is my first py CGI program</h2> </body> </html>
soook@dh:~/public_html/cgi-bin$ ls Hello.py soook@dh:~/public_html/cgi-bin$ chmod +rwx Hello.py soook@dh:~/public_html/cgi-bin$ ls Hello.py soook@dh:~/public_html/cgi-bin$ python Hello.py