인문지식 처리와 프로그래밍2020 5.28

soook
이동: 둘러보기, 검색

  • FTP sandbox에서 tour 폴더자료를 다운 받아서 soook cgi-bin에 넣어서
  • putty로 들어가서 경로 타고 가서 chmod ... html로 보여주는것...


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

724 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: Wed May 27 23:55:57 2020 from 14.4.245.152
soook@dh:~$ ls
Hello3.py  public_html
soook@dh:~$ cd public_html
soook@dh:~/public_html$ la
cgi-bin  mediawiki-1.27.4.tar.gz  SoookArt         S.py
graph    pavilion                 soookodbc1.html  wiki
soook@dh:~/public_html$ ls
cgi-bin  mediawiki-1.27.4.tar.gz  SoookArt         S.py
graph    pavilion                 soookodbc1.html  wiki
soook@dh:~/public_html$ cd cgi-bin
soook@dh:~/public_html/cgi-bin$ ls
AA.py      Hello2.py  nscodbc.html   soookodbc11.html  tour
A.jpg      Hello3.py  odbcSeven1.py  soookodbc1.html   YunData.html
Hello1.py  Hello.py   S0528.py       S.py
soook@dh:~/public_html/cgi-bin$ cd tour
soook@dh:~/public_html/cgi-bin/tour$ chmod rwx+ tourSapce
chmod: invalid mode: ‘rwx+’
Try 'chmod --help' for more information.
soook@dh:~/public_html/cgi-bin/tour$ ls
templateTbl.htm  tourSpace01.py
soook@dh:~/public_html/cgi-bin/tour$ ls
templateTbl.htm  tourSpace01.py
soook@dh:~/public_html/cgi-bin/tour$ chmod +rwx ^C
soook@dh:~/public_html/cgi-bin/tour$ chmod +rwx tourSapce01.py
chmod: cannot access 'tourSapce01.py': No such file or directory
soook@dh:~/public_html/cgi-bin/tour$ chmod +rwx tourSapce01.py
chmod: cannot access 'tourSapce01.py': No such file or directory
soook@dh:~/public_html/cgi-bin/tour$ chmod +rwx tourSpace01.py
soook@dh:~/public_html/cgi-bin/tour$ python

http://dh.aks.ac.kr/~soook/cgi-bin/tour/tourSpace01.py?db=common&project=tour