Java程序辅导

C C++ Java Python Processing编程在线培训 程序编写 软件开发 视频讲解

客服在线QQ:2653320439 微信:ittutor Email:itutor@qq.com
wx: cjtutor
QQ: 2653320439
This is meaningful info: dgerman@silo:/nobackup/dgerman/c322-spr2022$ pwd /nobackup/dgerman/c322-spr2022 dgerman@silo:/nobackup/dgerman/c322-spr2022$ mkdir head-first dgerman@silo:/nobackup/dgerman/c322-spr2022$ cd head-first/ dgerman@silo:/nobackup/dgerman/c322-spr2022/head-first$ cp /l/www/classes/c322/spr2022/resources/Head-First-Design-Patterns-master.zip . dgerman@silo:/nobackup/dgerman/c322-spr2022/head-first$ ls Head-First-Design-Patterns-master.zip dgerman@silo:/nobackup/dgerman/c322-spr2022/head-first$ unzip Head-First-Design-Patterns-master.zip Archive: Head-First-Design-Patterns-master.zip c8b5e9631485463bb6442f2a471c26fcf2525291 creating: Head-First-Design-Patterns-master/ inflating: Head-First-Design-Patterns-master/README.md inflating: Head-First-Design-Patterns-master/clap.wav inflating: Head-First-Design-Patterns-master/heatindex.txt creating: Head-First-Design-Patterns-master/src/ creating: Head-First-Design-Patterns-master/src/headfirst/ creating: Head-First-Design-Patterns-master/src/headfirst/designpatterns/ creating: Head-First-Design-Patterns-master/src/headfirst/designpatterns/adapter/ creating: Head-First-Design-Patterns-master/src/headfirst/designpatterns/adapter/ducks/ inflating: Head-First-Design-Patterns-master/src/headfirst/designpatterns/adapter/ducks/Duck.java [...] inflating: Head-First-Design-Patterns-master/src/headfirst/designpatterns/templatemethod/simplebarista/Coffee.java inflating: Head-First-Design-Patterns-master/src/headfirst/designpatterns/templatemethod/simplebarista/Tea.java creating: Head-First-Design-Patterns-master/src/headfirst/designpatterns/templatemethod/sort/ inflating: Head-First-Design-Patterns-master/src/headfirst/designpatterns/templatemethod/sort/Duck.java inflating: Head-First-Design-Patterns-master/src/headfirst/designpatterns/templatemethod/sort/DuckSortTestDrive.java inflating: Head-First-Design-Patterns-master/test.txt inflating: Head-First-Design-Patterns-master/testOut.txt inflating: Head-First-Design-Patterns-master/zipInput.zip dgerman@silo:/nobackup/dgerman/c322-spr2022/head-first$ Next let's turn our attention to the actual lab (last step part two of semester project). This is a very simple stage (thanks to Alex Newquist who wrote the code). Here are the steps: Create a folder for this stage (outside Tomcat) Move there and bring the code from the class folder Build and run the project then access it online Here are the actual commands from Mon Nov 29 in class: 515 pwd 516 cd 517 mkdir gnihtemos 518 clear 519 cd gnihtemos 520 pwd 521 ls 522 cp -r /l/www/classes/c322/fall2021/software/stage06/ . 523 ls 524 cd stage06/ 525 ls 526 mvn package 527 clear 528 java -jar target/springboot-crud-1.0.0-SNAPSHOT.war --server.port=57123 529 history dgerman@silo:~/gnihtemos/stage06$ Ypu should use your 29xxx port. With the commands above my web app was accessible from: http://silo.cs.indiana.edu:57123 Let me know if you have any questions or need any help. Many thanks also to Khushal for being the first to ask about this stage.