Last active
May 12, 2021 00:57
-
-
Save moorthi07/c9e8ab5a8ca5d85bebb427b375fd1c27 to your computer and use it in GitHub Desktop.
Package installs on mac
This file contains hidden or 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
#Homebrew | |
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" | |
1 node | |
2 npm | |
3 git clone https://github.com/moorthi07/Chevakan.git | |
4 git clone https://github.com/moorthi07/Chevakan.git | |
5 git clone https://github.com/moorthi07/aibot-react-starter-package.git | |
6 ssh-keygen -f ~/.ssh/jenkins_agent_key | |
7 /Users/indo-mars/.ssh/jenkins_agent_key | |
8 sudo /Users/indo-mars/.ssh/jenkins_agent_key | |
9 docker run -d --rm --name=agent1 -p 22:22 \\n-e "JENKINS_AGENT_SSH_PUBKEY=ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDIlqH28Q7H+HWeqW2Ms3eHr64PwHN/xq0XTEFaVSLZJ86tag0x/5ZPEADiSqqJTy0MrGFW89a1G9pel4/c1o/IVumF73eRM2cp9sy8L+UMs09LnhodnsfjvUL+VfhbRPd0YWK4CCs1pmnrR9cLI8Sy+Kt0yS0L5TKbf66od6ROuD0JsdphDtQMy6jZFsz+EaZuKpBSHkkGfLOSwSqiiV2MJTYipPkigrs1PuJ4c59uHHPLfAkDNx5Vqw+HjOi1JEJ2udDSFcJPxRRgN76K5ukC79/FIktqwsty0QnTXOGK7YplEYAOeqmndf9WLrX+Pp0mH5BHiWBJUskQrLQuj+2whXuEWx0/XLyPgDq8THRcZ/UsOcl0Yp3AGQaIXRMF26yOPf0N5JSFLRL8OmV98X6KCVpm4ThvMUQH1utedtmrW5n2aJA4CljvX7YmOV2P4Z0LXE7e+FVfaKisyrwhfs/isw5ly5gDsp3V9jWisO/69av4FDax91BJTLT51JXplPk= [email protected]\n" \\njenkins/ssh-agent:alpine | |
10 VARS1="HOME=|USER=|MAIL=|LC_ALL=|LS_COLORS=|LANG=" | |
11 VARS2="HOSTNAME=|PWD=|TERM=|SHLVL=|LANGUAGE=|_=" | |
12 VARS="${VARS1}|${VARS2}" | |
13 docker exec agent1 sh -c "env | egrep -v '^(${VARS})' >> /etc/environment" | |
14 sudo docker run -d -p 8080:8080 -p 50000:50000 -v jenkins_home:/var/jenkins_home jenkins/jenkins:lts | |
15 java | |
16 docker search openjdk | |
17 ansible | |
18 brew | |
19 aptget | |
20 apget | |
21 apt-get | |
22 /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" | |
23 wget https://github.com/pravega/pravega/releases/download/v0.9.0/pravega-0.9.0.tgz\n# or\n#curl -OL https://github.com/pravega/pravega/releases/download/v0.9.0/pravega-0.9.0.tgz\ntar zxvf pravega-0.9.0.tgz\ncd pravega-0.9.0\n | |
24 wget | |
25 brew tap hashicorp/tap | |
26 brew install hashicorp/tap/terraform | |
27 brew upgrade hashicorp/tap/terraform | |
28 brew install wget | |
29 wget https://github.com/pravega/pravega/releases/download/v0.9.0/pravega-0.9.0.tgz\n# or\n#curl -OL https://github.com/pravega/pravega/releases/download/v0.9.0/pravega-0.9.0.tgz\ntar zxvf pravega-0.9.0.tgz\ncd pravega-0.9.0\n | |
30 terraform -help | |
31 open -a docker | |
32 curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py | |
33 python | |
34 python get-pip.py --user | |
35 ./bin/pravega-standalone\n | |
36 brew install python --verbose | |
37 python3 | |
38 brew install openjdk | |
39 ./bin/pravega-standalone\n | |
40 echo 'export PATH="/usr/local/opt/openjdk/bin:$PATH"' >> ~/.zshrc | |
41 ./bin/pravega-standalone\n | |
42 java | |
43 echo 'export PATH="/usr/local/opt/openjdk/bin:$PATH"' | |
44 java | |
45 ruby | |
46 brew search openjdk | |
47 brew info java | |
48 which java | |
49 export JAVA_HOME=/Library/Java/Home | |
50 echo JAVA_HOME | |
51 echo $JAVA_HOME | |
52 JAVA | |
53 ./bin/pravega-standalone\n | |
54 sudo ln -sfn /usr/local/opt/openjdk/libexec/openjdk.jdk /Library/Java/JavaVirtualMachines/openjdk.jdk | |
55 ./bin/pravega-standalone\n | |
56 nano ~/.bash_profile | |
57 source .bash_profile | |
58 source ~/ .bash_profile | |
59 echo $JAVA_HOME | |
60 nano ~/.bash_profile | |
61 nano ~/.bash_profile | |
62 echo $JAVA_HOME | |
63 ls | |
64 echo @SHELL | |
65 echo $SHELL | |
66 source ~/.zshenv | |
67 echo $JAVA_HOME | |
68 ./bin/pravega-standalone\n | |
69 history | |
70 history >terminal_history.txt | |
71 ls | |
72 open .zsh_history | |
73 open ~/ .zsh_history | |
74 ~/.zsh_history | |
75 sudo ~/.zsh_history | |
76 touch ~/.zshrc | |
77 touch ~/.zshrc_history | |
78 touch .bash_history | |
79 history 100 | |
80 history 10 | |
81 history | |
82 history > terminal_history.txt | |
83 touch terminal_history.text | |
84 touch terminal_history.txt | |
85 ls | |
86 cat terminal_history.txt | |
87 history | |
88 history 0 | |
89 history 0 > terminal_history.txt | |
90 history -a > terminal_history.txt | |
91 cat terminal_history.txt | |
92 docker ps | |
93 docker ps | |
94 python get-pip.py --user | |
95 python3 get-pip.py --user | |
96 python3 -m pip install --user ansible | |
97 history 0> terminal_history.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment