Git is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency.
– The Git website
Choose one of the following options.
Git is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency.
– The Git website
Choose one of the following options.
| hojin@sist:~$ nano .bashrc | |
| export JAVA_HOME=/usr/local/jdk1.8.0_45 | |
| export PATH=$JAVA_HOME/bin:$PATH | |
| export PATH=/home/hojin/Documents/apache-maven-3.3.9/bin:$PATH | |
| hojin@sist:/var/lib/jenkins$ sudo nano config.xml | |
| [sudo] password for hojin: | |
| <useSecurity>false</useSecurity> | |
| hojin@sist:/var/lib/jenkins$ sudo /etc/init.d/jenkins restart | |
| Correct java version found | |
| [ ok ] Restarting jenkins (via systemctl): jenkins.service. |
| wget -q -O - https://pkg.jenkins.io/debian-stable/jenkins.io.key | sudo apt-key add - | |
| Then add the following entry in your /etc/apt/sources.list: | |
| deb https://pkg.jenkins.io/debian-stable binary/ | |
| sudo apt-get update | |
| sudo apt-get install jenkins | |
| 이미 젠킨스가 시작되어 있음. 아래는 참고로만 본다. | |
| hojin@sist:/usr/share/jenkins$ java -jar jenkins.war --httpPort=8080 |
| Configure Java_Home on Linux: | |
| Login to your account and open the startup script file which is usually ~/.bash_profile file (or can be .bashrc depending on your envrionment settings) | |
| $ vi ~/.bash_profile | |
| In the startup script, set JAVA_HOME and PATH | |
| jdk-install-dir is the JDK installation director, which should be something similar to /usr/java/jdk1.5.0_07/bin/java | |
| Korn and bash shells: |
| 0으로 나누는 예외에 대처하는 try-catch 블록 만들기 (파일 이름 : DevideByZeroHandlingLab.java) | |
| try-catch-finally 블록을 이용하여 정수를 0으로 나누는 경우에 "0으로 나눌 수 없습니다!"를 출력하는 프로그램을 작성하라. | |
| 아래 출력결과를 참조하여 작성하시오. |
| 아래 출력과 같은 결과가 나오게 작성하시오.(배열사용) | |
| (파일 이름 : ArrayLab4b.java) |
| 아래 출력과 같은 결과가 나오게 작성하시오. | |
| (파일 이름 : AgeLab.java) |
| 아래 출력과 같은 결과가 나오게 작성하시오.(switch문 사용) | |
| (파일 이름 : Switch2Lab.java) |
| int형 변수 a에 10을 대입하고 int형 변수 b에 7을 대입한 후 | |
| 두 변수의 값을 비트연산자 중 XOR(배타적 OR)를 사용하면 얻어지는 결과는 얼마인지 알아보는 프로그램을 | |
| 작성하여라. (파일 이름 : XORLab.java) |