This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ java -version | |
java version "1.8.0_45" | |
Java(TM) SE Runtime Environment (build 1.8.0_45-b14) | |
Java HotSpot(TM) 64-Bit Server VM (build 25.45-b02, mixed mode) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cannot Deploy appName | |
deploy is failing=Error occurred during deployment: Exception while loading the app : Error in linking security policy for appName -- Inconsistent Module State. Please see server.log for more details. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
asadmin> version |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ java -version | |
java version "1.8.0_45" | |
Java(TM) SE Runtime Environment (build 1.8.0_45-b14) | |
Java HotSpot(TM) 64-Bit Server VM (build 25.45-b02, mixed mode) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ディレクトリ名を指定してクローン | |
$ git clone {url} {ディレクトリ名} | |
# ブランチを指定してクローン | |
$ git clone -b {ブランチ名} {url} | |
# フェッチ | |
$ git fetch origin | |
# フェッチ : 削除されたリモートブランチをoriginから削除 | |
$ git fetch --prune | |
# フェッチ : 全ブランチを更新して削除されたブランチもoriginから削除 | |
$ git fetch --all --prune |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ brew upgrade | |
Updating Homebrew... | |
==> Auto-updated Homebrew! | |
<省略> | |
$ brew doctor | |
Your system is ready to brew. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ sudo vi /etc/sysconfig/network-scripts/ifcfg-eth0s3 | |
----ifcfg-eth0s3ファイルの中身------- | |
<省略> | |
ONBOOT=yes <---------- noをyesに変更する | |
--------------------------------- | |
$ service network restart |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* Two character prefixes based on the type of interface: | |
* en -- ethernet | |
* sl -- serial line IP (slip) | |
* wl -- wlan | |
* ww -- wwan | |
* | |
* Type of names: | |
* b<number> -- BCMA bus core number | |
* ccw<name> -- CCW bus group name | |
* o<index>[d<dev_port>] -- on-board device index number |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ cat /etc/issue | |
# CentOS, RedHat系 | |
$ cat /etc/redhat-release | |
# AmazonLinux | |
$ cat /etc/system-release | |
# Ubuntuとかいろいろ | |
$ cat /etc/os-release |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ユーザを作成する | |
$ useradd {ユーザ名} | |
# パスワードを設定する(rootの場合はユーザ名が不要) | |
$ passws {ユーザ名} | |
# ユーザ一覧を表示する | |
$ cat /etc/passwd |