keytool.exe -genkey -alias juheon -keyalg RSA -keypass 1234qwer -storepass 1234qwer -keystore juheon.jks keytool.exe -export -alias juheon -storepass 1234qwer -file juheon.cer -keystore juheon.jks keytool.exe -importkeystore -srckeystore juheon.jks -destkeystore juheon.key.p12 -deststoretype PKCS12 D:\Java\32bit\jdk1.5.0_22\jre\lib\security\cacert D:\Java\32bit\jdk1.5.0_22\bin\keytool.exe -import -alias tsasample -keystore D:\Java\32bit\jdk1.5.0_22\jre\lib\security\cacert -file D:\workspace\Servers\tsa-server-web-config\tomcat.cer keytool -import -alias somansa -keystore C:\Program Files\Java\jdk1.8.0_102\jre\lib\security\cacert -file c:\somansa.cer #인증서 생성 keytool -genkey -alias keyAlias -keyalg RSA -keypass changeit -storepass changeit –validity 9999 -keystore keystore.jks keytool -export -alias keyAlias -storepass changeit -file server.cer -keystore keystore.jks keytool -import -v -trustcacerts -alias keyAlias -file server.cer ...
- 리눅스 profile 호출 순서
/etc/profile → /etc/profile.d/*.sh (/etc/profile.d 안의 스크립트.)(user dir)~/.bash_profile → ~/.bashrc → /etc/bashrc
/.profile ??
- 검색
1. 전체 검색find / -name '.bash*' -ls
2. 현재 디랙토리 검색
find -name '*.java' -ls
- 계정 삭제
[root@localhost tomato]# userdel -r testuser- alias
/etc/profile 파일
...
alias hstart="service httpd start"
alias wstart="/home/tomcat/bin/startup.sh"
alias wstart="/home/tomcat/bin/startup.sh"
댓글
댓글 쓰기