Archive > Tag: GNU & Linux

HowTo: Install Google Cloud SDK from the CLI on Fedora 20

Basically, this is a HowTo that prevents the usage of a browser in https://developers.google.com/cloud/sdk/ installation.

Why?

Easy. I wanted to build my own image; from scratch. I wanted https://fedoraproject.org/ 20 on that cloud. The problem is that I have the poorest Internet connection …


HowTo: Fedora 20 and the FOSS xorg-x11-drv-ati driver

I've been having this problem lately:

My Fedora 20 would freeze; after a while, while using the <em>xorg-x11-drv-ati</em> driver.

Another thing I noticed, was the fan of the card going up and up like crazy.

First thing I did, was install <em>lm_sensors</em>:

yum -y install lm_sensors …

HowTo: cgminer as systemd service

Ok, I have been setting up my http://cubieboard.org/ up with https://fedoraproject.org/ to be able to control my http://www.butterflylabs.com/ hardware.

Obviously, I had to compile cgminer, which is straightforward.

So, I want the CubieTruck to start https://github.com/ckolivas/cgminer, automatically, as a …


HowTo: Viewing documentation on GNU & Linux

Ok, so, before I go to bed, I wanted to share a quick tip with you.

Sometimes, you wanna check a man page on the CLI. AFAIK, you have two alternatives:

# man
man rsync

# info
info rsync

These are, both, pretty convenient and useful. But, sometimes, you wanna check it …


MariaDB + Galera: Regazón a la hora de sincronizar (SSI)

Hoy tuvimos una caida del cluster por un tiempo bastante considerable (fueron al rededor de 30-45 minutos creo).

El problema fue que hice un cambio en la configuración del cluster para que usase America/Mexico_City como timezone.

El cluster no lo aceptó y, al intentar reiniciar 2 de los nodos …


HowTo: Quick and dirty MyISAM to InnoDB convert while importing

Recently, I've been playing around with the all-mighty MariaDB + Galera Multi-Master cluster!

Yeah, one thing that got me chasing my own tail was the fact that Galera does not support MyISAM... damn... the pain!

Anyway, I figured a quick and dirty trick to import DBs to galera:

mysql -u root …

Cómo promover al FOSS en el Gobierno Mexicano

Acabo de publicar un artículo muy interesante en la http://wiki.cabal.mx/. Te recomiendo que lo léas y lo extiendas si puedes.

Referencias


Último commit de las LeyesMexicanas

Bueno, al parecer nuestros diputados se ponen a chambearle duro para agregar sus patches a las leyes mexicanas: https://github.com/renich/LeyesMexicanas/commit/82ddc134d591bc0fc9094c1438d0375ec32d6e32


HowTo: Cómo clonar un repo sin historia con Git

Muchas veces, quieres el código de acá para adelante. Un caso es el Kernel.

Para clonar algo sin jalar todo su historial, utiliza:

git clone --depth 1 https://git.fedorahosted.org/git/anaconda.git

Así de fácil. Obviamente, substituye el repo por uno que te interese:

Ejemplos

git clone --depth …

HowTo: Butterfly Labs BitForce 25/30 GH/s Miner in Fedora 19

So, I got my, apparently dissipated, bitcoin mining rig.

I found out it's really easy to setup in Fedora; even with SELinux and all. Here's a straightforward howto:

# Get BFGMiner
git clone git@github.com:luke-jr/bfgminer.git
cd bfgminer

# install deps
su -c 'yum install -y uthash jansson jansson-devel …