Category: Documentation

How to Create Bootable USB Flash Drive of CentOS 7 Minimal ISO

This article will provide the step to step instructions to create a bootable USB flash drive of CentOS 7 Minimal ISO on Windows, Mac, or Linux. The CentOS instance that we will install onto the bootable USB flash drive is CentOS-7-x86_64-Minimal-1503-01.iso.   Requirements Windows: You will need to use a program like Cygwin. I have another blog post, teaching how to install Cygwin on Windows machines. Macs and Linux: Your terminal will have the command already as a part of the...

More

How to Setup MPI on CentOS 7 – 2 Connected Virtual Machines Part 2

For this blog post, I will be building on top of the Virtual Machine Clustering and NFS Server Setup in part 1. As a result, before you follow the steps of this post, you will want to have a similar setup like I have instructed in part 1: http://www.slothparadise.com/how-to-connect-virtual-machines-and-setup-nfs-server-part-1/ MPI stands for Message Passing Interface. MPI isn’t your average networking library. It’s optimized for performance, takes the fastest transport for running parallel programs across machines, and is a usable protocol library...

More

How to Connect 2 Virtual Machines and Setup NFS Server Part 1

Here are a series of tutorials for beginners to get started in clustering virtual machines and learn how to parallel program. We will be using VirtualBox and CentOS in this article to simulate a clustered supercomputer. VirtualBox CentOS I have an article on how to install VirtualBox, which is a program that allows you to create and use virtual machines. CentOS is a popular Linux operating. I’m writing these articles to teach the basics on what makes a supercomputer and...

More

Installing any GCC version

This guide shows you how to install GCC, specifically downgrading GCC versions. However, the methods shown here can also be used to update GCC versions. You just have to solve whatever library dependencies that arise with upgrading. Typically, each successive GCC version solves its predecessor’s dependencies. For all of these methods, you will need to unlink your current GCC version and link the version you want. Towards the end of this guide, I will show you how to link gcc...

More

How to Run App on Phone on Android Studio on Windows – Nexus 5

While running Android Studio, you can instantly connect an Android device via USB on Mac or Linux, and run a developing app on that device. What about Windows? For Windows, you’ll need to install the Google USB Driver before running your developing app on your Android device, phone, or tablet. Official docs: http://developer.android.com/tools/extras/oem-usb.html   List of steps for Windows 7, 8, and 10 Connect your Android device to the PC. Open Android Studio, open the SDK Manager, and install the Google...

More

How to Connect to MySQL with Java JDBC driver

This article will go over how to connect to MySQL with the Java JDBC driver. The tutorial will go over step-by-step on how to make your first connection with the Java JDBC driver to MySQL and get started. Installation of MySQL For starters, you must have MySQL on your machine. To install MySQL, you can easily use the following command on Ubuntu or Debian machines: sudo apt-get install mysql-server sudo apt-get install mysql-client sudo mysql -u root -ppassword   Create...

More

How to Use Vim and Tmux Together – Workflow for Beginners

If you’re a programmer like myself who has taken college courses or picked up the trade through books and online resources, you may have come across a terminal-based text editor called vim. And you may have heard of tmux, which is a terminal program that produces virtualized consoles in useful formats. This article is for the beginner. For the beginner who’s been using Sublime or Notepad++ and wants to make the first step to change.   Why you should try the...

More

Redirect Pages from http no www to www

After you have set-up your website, you may notice that even if you type in www.example.com, the web address appears as example.com. Where did the www go? The configuration does not exist on your DNS provider! The setting actually is in a file called .htaccess on the root or top level of your web pages. For example, our website, slothparadise, runs on an Amazon Web Services EC2 instance where the web files are kept inside apache’s /var/www/html directory. Usually when...

More

How to Root Nvidia Android TV Shield

To start, you will need a few tools and files. adb and fastboot (Android SDK tools) SuperSU files. twrp images – credit to Steel01 Make sure to back up your device in the event something goes wrong and preserve any of your data.   1. Once your TV shield is up and running, head over to the settings.   2. Go to About (First Row) and scroll down to “Build Number.”   3. Here, click “Build Number” 7 times. This...

More

How to Install and Use Cassandra on Django

Django is a Python web server while Cassandra is a high availability database. This article will be a complete guide for installation and use of Django with Cassandra.   Django Installation Installing Python Since Django is a Python web server, you’ll need Python. You can check if you have Python already. python –version However, if you’re using a Mac, I have had a lot of problems with the default system Python with the combination of Cassandra and Django. I would...

More