Installing Openstack RDO Packstack in CentOS

Want to deploy Openstack and experience your own cloud platform the easier way? One way is to install Openstack via RDO Packstack*. *Packstack is a utility that uses Puppet modules to deploy various parts of OpenStack . It is suitable for deploying both single node proof of concept  or more complex multi node installations. Components used and tested in: CentOS 7 Linux 3.10.0-693.el7.x86_64 Openstack Packstack (latest stable release, Pike) Advisable to stop firewalld, NetworkManager and enable…

"Installing Openstack RDO Packstack in CentOS"

Installing WordPress in Raspberry Pi with Nginx, MySQL and PHP

It is meant to function as a staging or testing server where you can  do compatibility test  latest wordpress version on your existing sites, or try themes, plugins,widgets or practice your coding skills in css & php before deploying into your production, then using rpi is a good option. Components used and tested working: Raspberry Pi Model B , installed with Raspbian GNU/Linux 8 Jessie (Kernel armv6l Linux 4.9.35+) nginx(1.6.2-5+deb8u5) (Web Server) php5 (php5 5.6.33) mysql 5.5…

"Installing WordPress in Raspberry Pi with Nginx, MySQL and PHP"

Quick Tip: Get or Find your Public IP Address using curl

Some sample websites that you can use with curl to display your external public IP. As you know, especially if you are connected to a router, it will provide you private IP via the DHCP and it is NAT’ed. So using ‘ifconfig’, ‘ip addr show’, ‘hostname -I’ or via the GUI won’t show the public IP. curl icanhazip.com curl ifconfig.me curl ipecho.net/plain ; echo curl ident.me ; echo curl checkip.amazonaws.com curl bot.whatismyipaddress.com ;echo curl myexternalip.com/raw…

"Quick Tip: Get or Find your Public IP Address using curl"

Configuring Multiple Interfaces and Multiple Default Routes in Linux

Scenario: Multiple network interfaces in your server and each connected to different network and getting the IP via DHCP Objective: Make all IP pingable and accessible remotely e.g. SSH Solution: Configure Gateway Routing or setting up multiple default routes for each interfaces Initially when you connect different links/network (regardless it’s in the same subnet or not) for each of the interfaces, it will end up only one interface is reachable. Why? Because by default, it…

"Configuring Multiple Interfaces and Multiple Default Routes in Linux"

Quick Tip: Create GNS3 Launcher in Ubuntu Linux

After installing GNS3 or Graphical Network Simulator 3 in Ubuntu Linux, you can run it via the command “gns3” but it does not come with a default launcher or shortcut. To have a nice shortcut to place under your launcher bar or dock, here are the steps: 1. Go to /usr/share/applications folder tux@freelinux:~$ cd /usr/share/applications 2. Create a filename with extension “desktop” , e.g. gns3.desktop . Configure the following desktop entries as per below. The…

"Quick Tip: Create GNS3 Launcher in Ubuntu Linux"

Quick Tip: Install Spotify in Ubuntu or Debian Linux

Spotify is considered the king of digital music streaming service that offers millions of songs.  There are 4 steps to install Spotify client in Debian-based Linux. Tested in Ubuntu 16.04 LTS. Enjoy! 1.Add Spotify’s repository signing key to verify downloaded packages sudo apt-key adv –keyserver hkp://keyserver.ubuntu.com:80 –recv-keys BBEBDCB318AD50EC6865090613B00F1FD2C19886 2. Add Spotify repository echo deb http://repository.spotify.com stable non-free | sudo tee /etc/apt/sources.list.d/spotify.list 3. Check and update latest version sudo apt-get update 4. Install the Spotify client…

"Quick Tip: Install Spotify in Ubuntu or Debian Linux"

Quick Tip: Installation of Sublime Text in Ubuntu Linux

Sublime Text is one of the best text or code editor that you can have in Linux as it supports different programming languages and markup languages. There’s a list of features that you can check from the Sublime Text official website, one of my favorites is the python-based plugin API and “Goto Anything” feature. The only downfall I find is Sublime Text may be downloaded and evaluated for free, however a license must be purchased…

"Quick Tip: Installation of Sublime Text in Ubuntu Linux"

Quick Tip: Installing GNS3 in Ubuntu (64-bit)

Installing a graphical network simulator GNS3 is quite easy for Ubuntu based distribution for 64-bit systems. Tested using Ubuntu 16.04. sudo add-apt-repository ppa:gns3/ppa sudo apt-get update sudo apt-get install gns3-gui few packages will be installed aside from the gns3-gui , gns3-server qemu wireshark dynamips cpu-checker Type “gns3” in command line to launch the application. Enjoy! tux@freelinux:~$ sudo add-apt-repository ppa:gns3/ppa Swipe your finger across the fingerprint reader PPA for GNS3 and Supporting Packages. Please see http://www.gns3.com…

"Quick Tip: Installing GNS3 in Ubuntu (64-bit)"

Quick Tip: Install Fingerprint Scanner (FPrint) in Ubuntu 16.04 Linux

For Ubuntu 16.04 LTS or greater, it would be simple as only required two steps to install Fingerprint Scanner. Tested using Lenovo Thinkpad X240 sudo apt install libpam-fprintd fprintd-enroll That’s it. You can now login or even use for sudo access using finger print Alternative: Fingerprint GUI tux@freelinux:~$ sudo apt install libpam-fprintd Reading package lists… Done. Building dependency tree Reading state information… Done The following NEW packages will be installed: libpam-fprintd 0 upgraded, 1 newly…

"Quick Tip: Install Fingerprint Scanner (FPrint) in Ubuntu 16.04 Linux"

copy and send (tee) packets from a mirrored interface using iptables and ebtables

Objective: to copy/send or tee packets coming from enp3s4f1 and send to a destination IP via the enp3s4f0 management/data port ServerA = enp3s4f1 (connected to a switch1 span port) (no IP address) enp3s4f0  (connected to switch2 as management/data port) (IP is 192.168.100.99) ServerB destination IP = 192.168.100.100  (same IP range) This is based on commer’s post in LQ below: http://www.linuxquestions.org/questions/linux-networking-3/how-to-route-forward-packets-in-promiscuous-mode-832698/ Configure  the bridge interface and bind enp3s4f1  into it. Disable Spanning Tree Protocol (STP) if necessary. Bring…

"copy and send (tee) packets from a mirrored interface using iptables and ebtables"