Category Archives:Linux

Post navigation

While at the recent Microsoft Ignite 2016 conference, one the speakers mention a great paper to compare VM’s vs Containers and how they perform. This whitepaper was created by HPE and it has some great details about how containers perform better than VMs

Depending on your setup and where you are deploying your solution, you may have to jump via multiple servers before you can get access to your internal server. This quick guide will help you understand how you can leverage PUTTY to Proxy via multiple SSH hosts.

Here is the example: let say that you are on your house or outside your cloud provider and you need to access the private SSH server in the image. That server has an IP address that is private so it can’t be access from the internet. And there is only one server available from the internet. You can use that server as a SSH Proxy server so you can access the internal one via your SSH proxy server.

Here is what you need:

Install Putty suite completely not only the putty.exe

Have a Public Key configure on your Servers and have the Keys available.

5 Steps to configure SSH Proxy with Putty

Open Putty and create a new connection. Type the IP address or DNS Name of your Private SSH Server. On our Lab that will be any IP address or Private DNS. Type a name to save the session later. Do not save it yet.

Click the Connection  Data. Type the name in the Auto-login username field.

Click Connection Proxy. Type the IP Address or DNS server that is available externally or in the internet. Click Local for the Proxy Type and change the port to 22. Type your username that will be use to connect to the remote server. In the Telnet command or local proxy command type: plink %user@%proxyhost -nc %host:%port

When creating automated Kickstart files to install RedHat 7 or CentOS7 you need to use a different hashing algorithm for the password. If you have a Linux server with Python here is what you can do to generate that password.

In every environment you may have different devices and appliances that may need to send email or notifications. This guide will go thru the process on how to configure your Linux server with Postfix Mail Transfer Agent. Thru the guide I will use Ubuntu as the Linux distribution for the demo.

1. Make sure to configure Exchange to accept email for relay. Check this post for how to configure Exchange 2013 to relay your mail for appliances.

Installing Ubuntu in a Hyper-V Virtual Machine is very easy and it is beyond the scope of this post. But how do we get it to report its IP address back to Hyper-V manager? Based on Microsoft documentation all recent versions of Ubuntu 13.xx and newer includes the LIS (Linux Integration Services) packages build into it.

So why can we see the IP address?

Here is why?

There is a daemon and a couple of tools missing and we need to install them. You will need to install the following packages

I was working on a project and it required some firewall ports to be opened. The team asked; how can we test the firewall rules are working correctly? There are different ways to test the firewall rules but here is a quick way to test your firewall. A web server with a simple text page. This tutorial will help you install and configure an Ubuntu server with Apache 2.

6. Change directory to /etc/apache2/sites-enabled and create a new site for each port you want to test firewall connectivity. In my example I wanted to test 80, 443 and 8443 so I created one file for each different site. Use your favorite editor to edit the configuration. Example : vi 001.conf

<VirtualHost *:443>

ServerAdmin webmaster@localhost

DocumentRoot /var/www/html/443

ErrorLog ${APACHE_LOG_DIR}/error.log

CustomLog ${APACHE_LOG_DIR}/access.log combined

</VirtualHost>

7. After you finish with all the files, restart the apache web server: service apache2 restart

Post navigation

Search

Display Books

Living to Serve, Lead and be a Technical Geek.

For the last 20 years, Carlos Vargas has impacted people's lives through his speaking and teaching, inspiring individuals across Brazil, Mexico, Cuba, Puerto Rico, United States and Europe. Carlos loves being a Transformation agent for people who have current limiting beliefs in their business, personal or spiritual lives. This is the fuel which keeps him going.

Carlos works with individuals, family groups and businesses to help them reduce stress and enjoy life through great interaction via their personality and individual leadership competencies.

Carlos Vargas earned his education in the Defenders of the Faith Theological Institute in Santurce, Puerto Rico and later received more than 80 IT certifications during his successful career as an International Architect with different Fortune 100 and 500 companies.

Carlos was part of an elite team of world changers invited to travel to Paraguay and transform the lives of 17,000 people by helping them transform their lives.

As an International Leadership and Executive Coach, he finished a tour through the beautiful countries of Brazil and Cuba where he helped countless people transform their limiting beliefs into new opportunities.