Author Archives: Ishtiaque

About Ishtiaque

I am IBM Certified Infrastructure Systems Architect, Linux Foundation Certified System Administrator, Oracle Certified Programmer in Java and Web Component Developer, and TOGAF 9 certified with over 10 years of support and development experience in IBM middleware software and Java. Additionally, have a sound grip in databases and OpenStack administration. I hold the following certifications: IBM Certified Infrastructure Systems Architect Linux Foundation Certified System Administrator (LFCS) TOGAF 9 Certified Oracle Certified Expert, Java EE6 Web Component Developer Oracle Certified Professional – Java 6 Programmer ITIL v3 Foundation Certified IBM Certified Solution Architect – Cloud Computing Infrastructure V1 IBM Certified System Administrator – WebSphere Portal V8, V7, V6.1, V6 IBM Certified System Administrator – WebSphere Application Server V7, V6.1 IBM Certified System Administrator – AIX V7 IBM Certified System Administrator – WebSphere MQ V7 IBM Certified Deployment Professional – Business Process Manager Advanced V7.5 IBM Certified Solution Advisor – Cloud Computing Architecture V3 IBM Certified Solution Developer – WebSphere Portal V5.1

Install Openstack (Pike) using Devstack in Ubuntu 16

Update and Install required packages: sudo apt-get update sudo apt-get install git vim Setup a user: sudo useradd -s /bin/bash -d /opt/stack -m stack echo “stack ALL=(ALL) NOPASSWD: ALL” | sudo tee /etc/sudoers sudo passwd stack su – stack git … Continue reading

Posted in coa, openstack, Other

Install OpenStack (Neutron) using Packstack in CentOS7

i) Install neutron using Packstack: sudo -i yum install -y centos-release-openstack-newton yum install -y openstack-packstack vim yum update -y packstack –gen-answer-file rdo.txt Update the following values in ./rdo.txt CONFIG_HEAT_INSTALL=y CONFIG_NTP_SERVERS=0.pool.ntp.org CONFIG_DEBUG_MODE=y CONFIG_KEYSTONE_ADMIN_PW=openstack packstack –answer-file rdo.txt (Optional) Verify following default values … Continue reading

Posted in coa, openstack, Other

Python scripting in CentOS

Install and configure git: yum install git && vim-enhanced git config –global user.name “User” git config –global user.email “user@python.local” cur https://raw.githubusercontent.com/linuxacademy/content-python-for-sys-admins/master/helpers/bashrc -o ~/.bashrc cur https://raw.githubusercontent.com/linuxacademy/content-python-for-sys-admins/master/helpers/vimrc -o ~/.vimrc mkdir sample; touch sample.txt; cd sample git init git add –all . git commit -m … Continue reading

Posted in Other, python

Openstack commands

The connection is refused because git is blocked by firewall, run the following cmd:  git config –global url.”https://”.insteadOf git:// Miscellaneous: source ~/devstack/openrc admin openstack hypervisor list nova service-list –binary nova-compute systemd devstack: status: sudo systemctl status devstack@n-* sudo systemctl -a  … Continue reading

Posted in coa, openstack

Firewalld and iptables commands

i) firewall-cmd (iptables): yum install  firewalld  firewall-config systemctl status|start|stop|enable|disable firewalld firewall-cmd –state firewall-cmd –reload firewall-cmd –list-all | –list-ports firewall-cmd –panic-on |–panic-off    (Block all incoming or outgoing traffic) zones: firewall-cmd  –get-zones|–get-default-zone|–get-active-zone firewall-cmd  –set-default-zone=trusted  [–permanent]  services: firewall-cmd –list-services firewall-cmd –add-service=ftp         [–permanent]  [–zone=public] … Continue reading

Posted in LFCE, LFCS, Linux

Setup NFS and Samba servers in Linux

i) NFS server setup: yum install nfs-utils Create a shared directory and assign appropriate permission: mkdir   -m 777 /nfs   (All users have read,write and execute access) chown  nfsnobody:nfsnobody  /nfs Enter the following into /etc/exports: /nfs   192.168.254.132/24(rw)   192.168.254.0/24(ro) Restart and enable nfs and … Continue reading

Posted in LFCE, LFCS

Setup Squid proxy server in Linux

Squid: Allow access for a local network: yum install squid Add the following in /etc/squid/squid.conf after: # INSERT YOUR OWN RULE(S) HERE acl mynetwork src 192.168.254.0/24 http_access allow mynetwork #http_access allow localnet       (Comment it because it contains 192.168.0.0) squid -k … Continue reading

Posted in LFCE, LFCS, Linux