redhat test

1) command shows you critical packages that are ready to be installed?
Correct

Correct answer

yum updateinfo list --sec-severity=Critical

2) following is the common vulnerability and exposures website?
Correct

Correct answer

http://cve.mitre.org

3) command installs the yum security plugin?
Correct

Correct answer

yum install yum-plugin-security

4) command shows you critical packages that are ready to be installed?
Correct

Correct answer

yum updateinfo list --sec-severity=Critical

Explanation

The command to use for getting critical updates is the following: yum updateinfo list --sec-severity=Critical


s3-parallel-put for faster uploads

/var/www# /usr/local/bin/s3-parallel-put --bucket=mediatest.visualsociety.com --host=s3.amazonaws.com --processes=10 --put=stupid --secure --content-type=guess --log-filename=/var/log/s3upload.log  .

Tested for 600GB of data
start time: 9:00AM March14
End time:-xx
11 GB uploaded in 10 minutes so far...
digital ocean droplet (2vcpu,2GB memory) NYC region to aws-s3

github: s3-parallel-put

devstack and packstack

yum -y update
#to install packstack
yum install centos-release-qemu-ev
yum remove mariadb-libs
visudo
enable wheel by uncommenting

#disable selinux
vim /etc/selinux/config
selinux=disabled

#disable Networkmanager and firewalld
systemctl disable NetworkManager firewalld

yum search openstack  #look for latest at bottom here its ocata
yum install -y install centos-release-openstack-ocata
yum install -y openstack-packstack
packstack --gen-answer-file=/home/user1/answers.txt
edit the answers.txt
change password=config_default_password=openstack
config_magnum_install=y #for container orchestration
config_keystone_admin_pw=xxxxxx
config_keystone_demo_pw=xxxx
save file
#start packstack installation
packstack --answwer-file=/home/user1/answers.txt


# Devstack on ubuntu
adduser stack
add it to sudo user without password
echo "stack ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers
su stack
apt-get install git
git clone https://git.openstack.org/openstack-dev/devstack
cd devstack
vim local.conf
[[local|localrc]]
ADMMIN_PASSWORD=openstack
DATABASE_PASSWORD=openstack
RABBIT_PASSWORD=openstack
SERVICE_PASSWORD=openstack