<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>linux on Ivan Villareal</title><link>https://ivanvillareal.com/tags/linux/</link><description>Recent content in linux on Ivan Villareal</description><generator>Hugo -- gohugo.io</generator><language>en-us</language><lastBuildDate>Mon, 29 Aug 2011 19:37:57 +0000</lastBuildDate><atom:link href="https://ivanvillareal.com/tags/linux/index.xml" rel="self" type="application/rss+xml"/><item><title>NFS Mac OSX Lion</title><link>https://ivanvillareal.com/osx/nfs-mac-osx-lion/</link><pubDate>Mon, 29 Aug 2011 19:37:57 +0000</pubDate><guid>https://ivanvillareal.com/osx/nfs-mac-osx-lion/</guid><description>I was in the need of sharing files from a mac osx 10.7 and some linux servers, so I thought this would be a simple process just like in linux, but I found some issues that prevented me to mount the exported dirs to the mac or to setup a nfsd on the mac OS, this is more a reminder to my self about how I was able to perform that.</description></item><item><title>Perl script to manage add/remove Apache virtual hosts</title><link>https://ivanvillareal.com/perl-script-to-manage-virtual-hosts/</link><pubDate>Wed, 08 Jun 2011 19:54:57 +0000</pubDate><guid>https://ivanvillareal.com/perl-script-to-manage-virtual-hosts/</guid><description>I wrote this script a while back, and I&amp;rsquo;ve been using it on gentoo, ubuntu and centos distros with a few changes between each distro, this can be extended to add new functionality, and it may contain bugs, but so far it has worked for me pretty well, I can add/remove virtual hosts very quickly.
To use this script you only need the packages File::Path and Getopt::Long; both of them are already on newer distros, just put the script somewhere in your bin path, I have it in /usr/local/bin and call it with sudo.</description></item><item><title>Ubuntu 9.10 on an hp mini 110-1125nr</title><link>https://ivanvillareal.com/ubuntu-9-10-on-an-hp-mini-110-1125nr/</link><pubDate>Wed, 27 Jan 2010 00:56:14 +0000</pubDate><guid>https://ivanvillareal.com/ubuntu-9-10-on-an-hp-mini-110-1125nr/</guid><description>I got this new mini 110, it came with Windows 7 Starter, and after a day of using it I was very frustrated because it was very limited, for example, I was unable to change my Desktop background, the network management is confusing and frustrating, and it had a lot of crapware, except for the hp games which some of them are fun.
Anyway, right now I don’t have time to spend getting a new OS on this machine, I just want something that works, I don’t plan using this to work, but I would like to have some of the tools I use into this.</description></item><item><title>Mount a remote filesystem using sshfs</title><link>https://ivanvillareal.com/mount-a-remote-filesystem-using-sshfs/</link><pubDate>Wed, 09 Dec 2009 19:25:39 +0000</pubDate><guid>https://ivanvillareal.com/mount-a-remote-filesystem-using-sshfs/</guid><description>I often have to upload files to several servers, and some of them doesn’t have an rsync or ftp server, so if I’m going to make a deployment, I have to use scp, or sftp to upload the files.
This works well when I need to make a quick change or test 1 file, but If I have to synchronize several files it is a very time consuming task.
So what I use in this cases is sshfs it is a pretty cool tool, to allow me to mount any filesystem so I can use any rsync on a remote server&amp;nbsp;without&amp;nbsp;dealing with opening ports configure, the server or do other stuff,</description></item><item><title>Mysql5 and PHP5 on centos4</title><link>https://ivanvillareal.com/mysql5-and-php5-on-centos4/</link><pubDate>Mon, 12 Oct 2009 19:00:06 +0000</pubDate><guid>https://ivanvillareal.com/mysql5-and-php5-on-centos4/</guid><description>I have the need to install php5 and mysql 5 on a centos 4 server, so I found that the Centos Plus repository had this, and this is what I did to get these two working.
First check what is the version of the distro:
cat /etc/*release* Then make an update:
yum update After 496 package updates I&amp;rsquo;ve installed php5
yum --enablerepo=centosplus install php This were the installed packages:</description></item><item><title>Removing Hybrid feature of an Acomdata drive.</title><link>https://ivanvillareal.com/removing-hybrid-feature-of-an-acomdata-drive/</link><pubDate>Thu, 01 Oct 2009 17:58:28 +0000</pubDate><guid>https://ivanvillareal.com/removing-hybrid-feature-of-an-acomdata-drive/</guid><description>About 2 years ago I purchased this 500Gb Acomdata drive that was on sale at Fry&amp;rsquo;s, it was a good deal back then, cost me about 100 bucks, it had an aluminium case and a power off switch, and I was in the need to expand the storage capacity of my multimedia server, which is linux based.
I didn&amp;rsquo;t researched this product, I didn&amp;rsquo;t even knew that acomdata was a brand, anyway I remember seeing the &amp;#8220;Hybrid Drive&amp;#8221; statement, but didn&amp;rsquo;t care, I was going to wipe this drive an reformat it as ext3, so I was aware that all the &amp;#8220;software features&amp;#8221; it had were useless to me, like the PushButton™ Backup and the Nomad Mobile Desktop.</description></item><item><title>Setting up ssh keys for passwordless login</title><link>https://ivanvillareal.com/setting-up-ssh-keys-for-passwordless-login/</link><pubDate>Fri, 25 Sep 2009 23:57:29 +0000</pubDate><guid>https://ivanvillareal.com/setting-up-ssh-keys-for-passwordless-login/</guid><description>Most part of the time I spent on my development machine I have several terminals opened, but thanks to screen I only have one per server.
However I&amp;rsquo;m constantly in the need to login to some servers just to make a quick check of something, so I have to type in my credentials every time I log in, this really annoys me, because when I&amp;rsquo;m focused on something I don&amp;rsquo;t want to loose that focus waiting for the login prompt.</description></item><item><title>Automated Capture of Webpages (Main Process)</title><link>https://ivanvillareal.com/automated-capture-of-webpages-main-process/</link><pubDate>Fri, 25 Sep 2009 00:21:45 +0000</pubDate><guid>https://ivanvillareal.com/automated-capture-of-webpages-main-process/</guid><description>This post is the continuation of Xvfb and Firefox headless screenshot generator where I explained how Xvfb and Firefox can be used to get a screenshot of any web resource supported by firefox.
The next challenge I had, involved the creation of an automated process that could be called from the web or from a cron job, this process job would take a list of sites that need to be captured, and it will save its shots with their respective thumbnail somewhere, also this same process had to communicate somehow with the front end, to inform the user about the status.</description></item><item><title>Xvfb and Firefox headless screenshot generator</title><link>https://ivanvillareal.com/xvfb-and-firefox-headles-screenshot-generator/</link><pubDate>Fri, 18 Sep 2009 00:25:41 +0000</pubDate><guid>https://ivanvillareal.com/xvfb-and-firefox-headles-screenshot-generator/</guid><description>I&amp;rsquo;ve been working on a project that its main purpose is to get a screenshot of a bunch of different sites. The requirements for this project were simple.
It has to be fast It needs to run on linux I did some research, trying to found the best approach, I already knew Xvfb but haven&amp;rsquo;t worked with it in a real project, there wasn&amp;rsquo;t much info about what I was trying to do, however I&amp;rsquo;ve found some other automated solutions made in .</description></item></channel></rss>