Visualizzazione post con etichetta linux. Mostra tutti i post
Visualizzazione post con etichetta linux. Mostra tutti i post

martedì 10 gennaio 2012

Running Sinatra (and other Rack apps) on Nginx + Unicorn

In protest against Google censorship of Blogger blogs in some countries, this post has been moved to Wordpress.

Questo post è stato spostato su Wordpress in protesta contro la censura applicata da Google su richiesta dei governi di alcuni paesi.

domenica 27 novembre 2011

Broadcom 4313 (14e4:4727) on Fedora 16 - Good news

In protest against Google censorship of Blogger blogs in some countries, this post has been moved to Wordpress.

Questo post è stato spostato su Wordpress in protesta contro la censura applicata da Google su richiesta dei governi di alcuni paesi.

sabato 22 ottobre 2011

Asus EEEPc 1215B black screen after suspend

In protest against Google censorship of Blogger blogs in some countries, this post has been moved to Wordpress.

Questo post è stato spostato su Wordpress in protesta contro la censura applicata da Google su richiesta dei governi di alcuni paesi.

I didn't find the cause, but don't panic if your EEE PC 1215B starts with a black/dead screen after being suspended (Fedora 16 here, but I think it applies to other distros also)

As I said: don't panic. Disconnect the power cord. Disconnect the battery. Wait a few seconds, then reconnect the battery and power cord and turn on your netbook: the screen will wake up :)

martedì 11 ottobre 2011

Broadcom 4313 on Fedora 16 (Linux kernel 3.1.0)

In protest against Google censorship of Blogger blogs in some countries, this post has been moved to Wordpress.

Questo post è stato spostato su Wordpress in protesta contro la censura applicata da Google su richiesta dei governi di alcuni paesi.

mercoledì 24 agosto 2011

Android Honeycomb 3.2 + mtpfs

In protest against Google censorship of Blogger blogs in some countries, this post has been moved to Wordpress.

Questo post è stato spostato su Wordpress in protesta contro la censura applicata da Google su richiesta dei governi di alcuni paesi.

domenica 21 agosto 2011

The many paths to disk UUIDs

In protest against Google censorship of Blogger blogs in some countries, this post has been moved to Wordpress.

Questo post è stato spostato su Wordpress in protesta contro la censura applicata da Google su richiesta dei governi di alcuni paesi.

giovedì 18 agosto 2011

Are Gnome and KDE giving up the desktop battle?

In protest against Google censorship of Blogger blogs in some countries, this post has been moved to Wordpress.

Questo post è stato spostato su Wordpress in protesta contro la censura applicata da Google su richiesta dei governi di alcuni paesi.

lunedì 8 agosto 2011

Logging for HAProxy on CentOS 5.x

In protest against Google censorship of Blogger blogs in some countries, this post has been moved to Wordpress.

Questo post è stato spostato su Wordpress in protesta contro la censura applicata da Google su richiesta dei governi di alcuni paesi.

sabato 6 agosto 2011

Installing Android SDK on Eclipse (Fedora 15)

In protest against Google censorship of Blogger blogs in some countries, this post has been moved to Wordpress.

Questo post è stato spostato su Wordpress in protesta contro la censura applicata da Google su richiesta dei governi di alcuni paesi.

giovedì 4 agosto 2011

Rewriting addresses in Postfix with regular expressions

Today my employer asked me to look into Postfix. We should take an address like root@some.obscure.host.local.lan and make it into root.some.obscure.host@domain.tld.

Looking at the (good) documentation from Postfix, I managed to get a solution. You should change in /etc/postfix/main.cf:

canonical_maps = regexp:/etc/postfix/rewrite

and the /etc/postfix/rewrite file will contain:

/^(.*)@(.*)\.local\.lan$/     ${1}.${2}@domain.tld

mercoledì 20 luglio 2011

Good tip on better font rendering in Fedora

I just finished reading this good tip on how to obtain better font rendering on Fedora.

Results are good, so I just wanted to share the link :)

martedì 19 luglio 2011

OTRS Apache + mod_perl configuration on Debian/Ubuntu

In protest against Google censorship of Blogger blogs in some countries, this post has been moved to Wordpress.

Questo post è stato spostato su Wordpress in protesta contro la censura applicata da Google su richiesta dei governi di alcuni paesi.

lunedì 18 luglio 2011

Find and download VirtualBox guest additions ISO for Fedora 15

RPMFusion release of VirtualBox doesn't bring VirtualBox guest additions ISO, so you're off to download it yourself.

The ISO is available from the official site download section, just go to the folder of your version and look for the VBoxGuestAdditions.iso file.

mercoledì 13 luglio 2011

Find packages starting with a string with apt or aptitude

Searching for packages with apt-cache or aptitude is quite easy, but what if we want to find a package name starting with a specific string?

With apt-cache:

$ apt-cache search mysql | grep '^mysql'
mysql-cluster-client - MySQL database client (metapackage)
mysql-mmm-agent - Multi-Master Replication Manager for MySQL - agent daemon
mysql-mmm-common - Multi-Master Replication Manager for MySQL - common files
mysql-mmm-monitor - Multi-Master Replication Manager for MySQL - monitoring daemon
mysql-mmm-tools - Multi-Master Replication Manager for MySQL - tools


With aptitude:

$ aptitude search ^mysql
p   mysql-admin  - GUI tool for intuitive MySQL administration
p   mysql-client  - MySQL database client (metapackage)                              
v   mysql-client-4.1  - 
p   mysql-client-5.1  - MySQL database client binaries
i A mysql-client-core-5.1  - MySQL database core client binaries
[...]

domenica 3 luglio 2011

Mount an Android Honeycomb device under Linux

So, Android Honeycomb only uses the MTP protocol for the USB connection. Linux has decent support with mtpfs, and the instructions are quite easy to follow (this article is based on that one).

First of all, after installing mtpfs, create a new directory (I'm using transformer since I own an Asus Transformer, feel free to use whatever you want):

$ sudo mkdir /media/transformer
$ sudo chmod 755 /media/transformer
$ sudo chown your_username:root /media/transformer

Then edit /etc/fstab

$ sudo vim /etc/fstab

And add:

mtpfs  /media/transformer  fuse  noauto,users,umask=033,allow_other  0 0

Save, exit, then mount

$ sudo mount /media/transformer 

Important: umount the device before unplugging, or you risk corrupting the filesystem.

venerdì 24 giugno 2011

Android, day one (and an half)

So, I finally got my Android smartphone AND tablet. I've been toying with them for about a day now and I wanted to share some toughts and some thing I learned.

  • Don't plug Asus Transformer USB charger on your UPS, it didn't play well for me (bad smell, I tought it burned but it works fine on a wall plug)
  • Android doesn't connect to wifi network if the SSID contains spaces
  • Most Android devices doesn't work out-of-the-box on wifi channel 13 (this sucks)
  • Android is marketed as "open", but most "apps" on the market are closed source and the App Market model isnt open at all. Also, the "app" model isn't open.
  • Many web sites recognize mobile browsers. Sadly, most fail to check the screen resolution: what's the point in providing a mobile version on a 1280x800 pixel screen (tablet)?
  • Flash runs smooth. Better than on my desktop. Adobe, you fail badly.
  • Skype sucks also on mobile.
  • Problem is: GTalk sucks too. Maybe in ten years we all will be using GNU Free Call. But I want it now.

Updates will follow.

venerdì 10 giugno 2011

Compiling Pound 2.6e with openssl-1.0.0d on CentOS 5.6

In protest against Google censorship of Blogger blogs in some countries, this post has been moved to Wordpress.

Questo post è stato spostato su Wordpress in protesta contro la censura applicata da Google su richiesta dei governi di alcuni paesi.

lunedì 6 giugno 2011

Compiling Pound 2.6e on CentOS 5.x

In protest against Google censorship of Blogger blogs in some countries, this post has been moved to Wordpress.

Questo post è stato spostato su Wordpress in protesta contro la censura applicata da Google su richiesta dei governi di alcuni paesi.

sabato 28 maggio 2011

Install Skype on Fedora 15 x86_64

In protest against Google censorship of Blogger blogs in some countries, this post has been moved to Wordpress.

Questo post è stato spostato su Wordpress in protesta contro la censura applicata da Google su richiesta dei governi di alcuni paesi.

Can't bear with Gnome 3

I finally installed Fedora 15, as anticipated.

And with Fedora 15 comes Gnome 3. I tried using it. But my patience was quite short: they changed a lot of interaction in subtle ways, so the gap with the previous version is not only based on the new graphical aspect, but also on different behavior.

Gnome 3 managed to get me on KDE 4. Problem is: while Gnome 3 is blazing fast, KDE 4 is slow. In the past I tried it on my netbook and I tought it was slow due to hardware shortcomings, but now I'm using it on my 3-core Phenom 2.3GHz with 8Gb RAM and Radeon HD4890 video card (open source drivers).

It's... slow. Painfully slow. Switching desktop it's so slow I checked if it was doing that in software, but desktop effects are active.

But despite Gnome 3 technical superiority, all the glitches at the moment are more important to me than the speed. Maybe I'll try something more exotic, like Openbox + AWN (like AriOS), but for the moment I'll stick with KDE.

I'll give Gnome another chance in a few months...