Skip to content

Instantly share code, notes, and snippets.

View darksystem23's full-sized avatar

Aaron Stark darksystem23

  • Spain
View GitHub Profile
@darksystem23
darksystem23 / arch_locale_steam.txt
Last active August 5, 2016 14:17
ArchLinux Steam - Solucionar problema de Locales de Steam
Cuando aparezca el problema de Locales de los Juegos en steam.
Agregar idioma *en_US.UTF-8*, desmarcando #, en el archivo /etc/locale.gen
`#en_US.UTF-8 UTF-8`
`en_US.UTF-8 UTF-8`
Guardamos y recargamos el idioma:
@darksystem23
darksystem23 / Dockerfile.txt
Last active April 21, 2016 13:35
Docker_Example_Supervisord
FROM ubuntu:latest
MAINTAINER darksystem23
RUN apt-get update && apt-get install -y \
supervisor \
vim \
openssh-server
RUN apt-get clean
@darksystem23
darksystem23 / ubuntu-update-system.sh
Created March 15, 2016 17:24
Ubuntu-Update-System
#!/bin/bash
# Script - Update Repositories, Upgrade System, Update Distribution
# Update Repositories Ubuntu
sudo apt-get -y update
sudo apt-get -y update
# Upgrade Dependencies
sudo apt-get -y upgrade
@darksystem23
darksystem23 / Dist-Update Ubuntu Version
Created February 29, 2016 19:14
Update Ubuntu 14.04 to 15.04 to 15.10...
Before you upgrade, you need to install these upgrade helpers:
sudo apt-get install update-manager update-manager-core
After that, go to /etc/update-manager/release-upgrades file and change Prompt=lts to Prompt=normal. Make sure that meta-release file in same folder looks like this. If it isn't there, add it at the bottom of the file:
[METARELEASE]
URI = http://changelogs.ubuntu.com/meta-release
URI_LTS = http://changelogs.ubuntu.com/meta-release-lts
URI_UNSTABLE_POSTFIX = -development
URI_PROPOSED_POSTFIX = -proposed
@darksystem23
darksystem23 / convert-ova-to-VagrantBox.txt
Last active February 29, 2016 09:57
Convert a VirtualBox .ova VM into a Vagrant box
Sometimes distribution providers (such as UCS) only give you VirtualBox .ova files to test their software. Here is how you can easily and non-interactively import a .ova file into a .box for use with Vagrant.
$ VBoxManage import ./UCS-Virtualbox-Demo-Image.ova --vsys 0 --eula accept
0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
Interpreting /home/crohr/dev/ucs/./UCS-Virtualbox-Demo-Image.ova...
OK.
Disks: vmdisk1 53687091200 -1 http://www.vmware.com/interfaces/specifications/vmdk.html#streamOptimized UCS-Demo-Image-virtualbox-disk1.v
How to remove old kernels in OpenSUSE or others distros:
-- List Kernels:
#rpm -qa | grep -i kernel
-- Delete kernel:
#rpm -e kernel-{VERSION}