Task Command April11
Task Command April11
Task Command April11
https://sloopstash.com/blog/how-to-effectively-implement-blue-green-deployment-
model-devops.html
You5:31 PM
sathyaraj pls allow me in linux so i can run the command
Rajkumar R T5:35 PM
yes
karthik s5:35 PM
yes
Sathishkumar M5:35 PM
yes
Jaicy Vignesh5:35 PM
yes
vaithiy anathan5:35 PM
yes
debi5:35 PM
i did manual part
Bharath Sathyan5:35 PM
yes
Shivakanth Chandrasekaran5:35 PM
s
Arunkumar Nagaraj5:35 PM
yes
Tajdeen Abdulla5:35 PM
Yes
Kavi Arasu5:35 PM
yes
debi5:35 PM
yaml is pending
Bandita Garnaik5:35 PM
i have build only docker images
Kalaiarasan Kirubanandam5:35 PM
docker file completed..
yaml is pending..
John Sundarraj5:37 PM
cd /opt
mv kickstart-docker kickstart-docker-bak
You5:38 PM
permission denied
Kalaiarasan Kirubanandam5:38 PM
add sudo
You5:38 PM
ok
Kalaiarasan Kirubanandam5:39 PM
Wait debi
You5:39 PM
all my file moved
i can not see kickstart docker
linux
Aanchal Mathew5:43 PM
should we remove docker images if its already created
John Sundarraj5:44 PM
No need
Aanchal Mathew5:44 PM
ok
Kalaiarasan Kirubanandam5:46 PM
s
Mani kandan5:46 PM
s
Jaicy Vignesh5:46 PM
s
Bandita Garnaik5:46 PM
yes
Bharath Sathyan5:46 PM
yes
Mathivanan5:46 PM
yes
santhosh G5:46 PM
yes
Kolli Santhosh5:46 PM
yes
Arunkumar Ponnurangam5:46 PM
yes
sathyaraj k5:46 PM
yes
Aiswarriya Kannan5:46 PM
yes
Dhivyashree M5:46 PM
yes
lokesh kannan5:46 PM
s
Swati Anpat5:46 PM
yes
harvind kumar5:46 PM
yes
sudha TM5:47 PM
yes
vamsi nalla5:47 PM
yes
Sathiyaraj Sridhar5:51 PM
sudo docker container run -t -i --rm sloopstash/amazonlinux:v1 /bin/bash
Sathiyaraj Sridhar5:53 PM
yum update -y
Mani kandan5:53 PM
can u pls resend i am not in that time
John Sundarraj5:53 PM
sudo docker container run -t -i --rm sloopstash/amazonlinux:v1 /bin/bash
Azharudeen AshrafAli5:53 PM
sudo docker container run -t -i --rm sloopstash/amazonlinux:v1 /bin/bash
Sathiyaraj Sridhar5:54 PM
yum install -y wget tar gzip vim procps
yum install -y libcurl openssl xz-libs
Sathiyaraj Sridhar5:57 PM
wget https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-amazon2-4.4.4.tgz
Aiswarriya Kannan5:58 PM
i have some issues in machine john
vamsi nalla5:59 PM
please change to classic editor before copying commands from evernote
Sathiyaraj Sridhar6:00 PM
tar -zxvf mongodb-linux-x86_64-amazon2-4.4.4.tgz
Jaicy Vignesh6:00 PM
bash: docker: command not found
Sathiyaraj Sridhar6:00 PM
cp mongodb-linux-x86_64-amazon2-4.4.4/bin/* /usr/local/bin/
Mani kandan6:00 PM
for me i stopped here itself ...
Sathiyaraj Sridhar6:02 PM
rm -r mongodb-linux-x86_64-amazon2-4.4.4*
Mathivanan6:03 PM
why removing the extracted directory bro...
Sathiyaraj Sridhar6:03 PM
sudo docker container run -t -i --rm sloopstash/amazonlinux:v1 /bin/bash
Sathiyaraj Sridhar6:05 PM
mkdir -p /opt/mongodb/conf
$ mkdir -p /opt/mongodb/data
$ mkdir -p /opt/mongodb/log
vim /opt/mongodb/conf/mongod.conf
Sathiyaraj Sridhar6:12 PM
https://docs.mongodb.com/manual/tutorial/install-mongodb-on-amazon/
vamsi nalla6:12 PM
so both installation instructions and configuration both we need to search
separately right
Sathiyaraj Sridhar6:12 PM
processManagement:
fork: true
net:
bindIp: 0.0.0.0
port: 27017
storage:
dbPath: /opt/mongodb/datadbPath: /opt/mongodb/data
systemLog:
destination: file
path: "/opt/mongodb/log/mongod.log"
logAppend: true
storage:
journal:
enabled: true
Arunkumar Ponnurangam6:13 PM
typo in file name mongodb.conf
John Sundarraj6:13 PM
@vamsi yes
vamsi nalla6:13 PM
okay John
Sathiyaraj Sridhar6:14 PM
processManagement:
fork: true
net:
bindIp: 0.0.0.0
port: 27017
storage:
dbPath: /opt/mongodb/data
systemLog:
destination: file
path: "/opt/mongodb/log/mongod.log"
logAppend: true
storage:
journal:
enabled: true
vim /opt/mongodb/conf/mongod.conf
Sathiyaraj Sridhar6:16 PM
mongod -f /opt/mongodb/conf/mongod.conf
Dhivyashree M6:16 PM
how to save ..
Kavi Arasu6:16 PM
yes done
debi6:17 PM
bash-4.2# mongod -f /opt/mongodb/conf/mongod.conf
Error opening config file: Is a directory
try 'mongod --help' for more information
gettin this error
Saju Krishnan6:17 PM
yes done
Prakash K6:17 PM
mongod -f /opt/mongodb/conf/mongod.conf
Prakash K6:19 PM
mongod -f /opt/mongodb/conf/mongod.conf
John Sundarraj6:20 PM
ps -ef
netstat -ntlp
Shivakanth Chandrasekaran6:22 PM
"/opt/mongodb/conf/mongod.conf" E212: Can't open file for writing
sathyaraj k6:24 PM
Yes
Mathivanan6:24 PM
yws
Prakash K6:24 PM
yes
vamsi nalla6:24 PM
yes
Rajkumar R T6:24 PM
yes
sudha TM6:24 PM
yes
Bandita Garnaik6:24 PM
yes
Aiswarriya Kannan6:24 PM
yes
You6:24 PM
yes
vaithiy anathan6:24 PM
yes
Singaravel M6:24 PM
yes
Arunkumar Ponnurangam6:24 PM
yes
harvind kumar6:24 PM
yes
Saju Krishnan6:24 PM
yes
Sunil Munusamy6:24 PM
yes
archana sekar6:24 PM
yes
Devi Narayanan6:24 PM
Yes
Manimegalai Devaraj6:24 PM
yes
Swati Anpat6:24 PM
yes
Ganesan Dhandapani6:24 PM
yes
Jaicy Vignesh6:24 PM
yes
Gattupalli Balakrishna ePA Team6:24 PM
yes
Shivakanth Chandrasekaran6:24 PM
"/opt/mongodb/conf/mongod.conf" E212: Can't open file for writing
debi6:28 PM
getting error as permission denied
John Sundarraj6:29 PM
Please watch his creen for now...we'll fix it after that.
sudha TM6:40 PM
yes
Singaravel M6:40 PM
yes
Badrinarayanan Rajagopalan6:40 PM
yes
Rajkumar R T6:40 PM
yes
Shivakanth Chandrasekaran6:40 PM
yes
Arunkumar Ponnurangam6:40 PM
yes
Kalaiarasan Kirubanandam6:40 PM
s
santhosh G6:40 PM
yes..
Mathivanan6:40 PM
clear for me
Saju Krishnan6:40 PM
yes
Bandita Garnaik6:40 PM
yes
vamsi nalla6:40 PM
yes
Jaicy Vignesh6:40 PM
yes
archana sekar6:40 PM
yes
Kolli Santhosh6:40 PM
yes
sathyaraj k6:40 PM
yes
harvind kumar6:40 PM
yes
Prakash K6:40 PM
yes
Devi Narayanan6:40 PM
Yes
vaithiy anathan6:40 PM
yes
Sathishkumar M6:40 PM
clear
Kavi Arasu6:40 PM
yes
Ganesan Dhandapani6:40 PM
yes
Sathiyaraj Sridhar6:40 PM
# Docker image to use.
FROM sloopstash/amazonlinux:v1
# Install system packages.
RUN set -x \
&& yum update -y \
&& yum install -y wget tar gzip vim procps \
&& yum install -y libcurl openssl xz-libs
# Download and extract MongoDB.
WORKDIR /tmp
RUN set -x \
&& wget https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-amazon2-4.4.4.tgz
--quiet \
&& tar -zxvf mongodb-linux-x86_64-amazon2-4.4.4.tgz > /dev/null \
&& cp mongodb-linux-x86_64-amazon2-4.4.4/bin/* /usr/local/bin/ \
&& rm -r mongodb-linux-x86_64-amazon2-4.4.4*
# Create necessary directories.
RUN set -x \
&& mkdir -p /opt/mongodb/data \
&& mkdir -p /opt/mongodb/log \
&& mkdir -p /opt/mongodb/conf \
&& history -c