Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View roxma's full-sized avatar
💭
Busy - ping me again when I don't response

rox roxma

💭
Busy - ping me again when I don't response
  • DapuStor
  • china
View GitHub Profile
@roxma
roxma / how-to-install-latest-gcc-on-ubuntu-lts.txt
Created April 21, 2017 09:25 — forked from application2000/how-to-install-latest-gcc-on-ubuntu-lts.txt
How to install latest gcc on Ubuntu LTS (12.04, 14.04, 16.04)
These commands are based on a askubuntu answer http://askubuntu.com/a/581497
To install gcc-6 (gcc-6.1.1), I had to do more stuff as shown below.
USE THOSE COMMANDS AT YOUR OWN RISK. I SHALL NOT BE RESPONSIBLE FOR ANYTHING.
ABSOLUTELY NO WARRANTY.
If you are still reading let's carry on with the code.
sudo apt-get update && \
sudo apt-get install build-essential software-properties-common -y && \
sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y && \
@roxma
roxma / shared_folder_centos_virtualbox.txt
Created October 25, 2016 07:42 — forked from larsar/shared_folder_centos_virtualbox.txt
Mount shared folder on CentOS in VirtualBox
# The VirtualBox documentation[1] for how to install guest additions
# for Linux on a virtual host is somewhat messy. So here is what
# I did to make it work.
# Install the packages required
yum update
yum install gcc kernel-devel make
reboot
@roxma
roxma / install_tmux.sh
Last active July 10, 2018 07:23 — forked from rothgar/install-tmux
Install tmux 2.1 on rhel/centos 6
# Install tmux on Centos release 6.5
# Install with user defined prefix
# Usage: ./install_tmux.sh /your/prefix
# install deps
# yum install gcc kernel-devel make ncurses-devel
if [ -z $1 ]
then