Skip to main content

Posts

Showing posts with the label vm

Remote Remote Work: Make coding on EC2 Instances Easier

In an effort to post a bit more here's the first entry in my No Frills series. This posts will be short, and mostly reference outside sources. So you need to access resources in a remote network like AWS or Azure, but don't want to use ssh + vim/emacs/etc or don't want to constantly be pushing commits? This solution is for you! You'll need a Unix-like environment such as Ubuntu on your server side, a terminal locally with SSH, and ideally VS Code.   First install tmux, if you're not familiar check out a tutorial like this one . This cheat sheet is very handy too! In your ~/.bashrc (or appropriate shell config file) add the following so you'll always have access to tmux easily: # Open Tmux Session immediately on SSH and exit SSH Session when exiting tmux if [[ -n "$PS1" ]] && [[ -z "$TMUX" ]] && [[ -n "$SSH_CONNECTION" ]]; then tmux attach-session -t ssh_tmux || tmux new-session -s ssh_tmux; exit; fi     Now ...

How to install RHQ on CentOS

This guide was originally written for a work project, but I was given permission to blog about it. My Virtual Machine Setup You can of course use whatever you would like but this is my setup. OS: CentOS 6.3 64-bit Desktop Virtual Machine Software : VMWare Player Virtual Machine Specs : about 2-3GB of memory and 2 Processors Install the OS with VMWare Player, its handy Easy Install will do most of that work for you, so you can walk away until it's finished. Linux/CentOS Usage Notes For those unfamiliar with Linux here are some quick notes If you are not comfortable with using vi, simply replace any instance of ‘vi’ with ‘nano’. Nano is a much more user-friendly command line text editor. Nano overview of nano     Keys work as you would expect, you can type instantly and arrows move the cursor around. Move the cursor down past the bottom to scroll.       Press Ctrl-O (shown as ^O) to save (shown as WriteOut)  ...