Nov 182013
 

Original article first published in Spanish on http://vidagnu.blogspot.it/

Yesterday I ran into a problem in a SWAP partition on an Astaro Command Center, so I decided to restart with an Ubuntu CD, and my first attempt to repair the system was with the fsck command, but when trying to use it I got the message fsck.swap: command not found

So I check with the badblocks command that the partition had no bad blocks.

sudo badblocks -v /dev/sda2

The above command did not return any error, then searching the Internet I found this simple way to rebuild a damaged swap partition.

Continue reading »

Flattr this!

Nov 102013
 

linux-cpu

Linux is much better at multitasking processor-intensive tasks than Windows. I remember how virus scanning used to make by old Windows PC almost unusable. Linux is much better, but sometimes bad things happens ! Perhaps a plugin of your browser is using all the CPU, or some bad software is freezing your system, or Apache it’s eating up all your resources on your server.

If you have seen some situation like these, don’t worry anymore, you don’t need to kill all the offending processes, restart your graphical session, or even worse restart the computer, you can simply put the specific process in “PAUSE” and analyse the situation, in some cases you could find the cause of a poor performing process, or just restart it in a second moment, maybe after you have saved all your works, when you can give to that process all the CPU.
Continue reading »

Flattr this!

Nov 062013
 

android-plus-linux-equals-lindroid-edirts

Original article (in spanish) posted on http://vidagnu.blogspot.it/

In this post I want to show the steps you must follow to have a Development Environment for Android in your Linux distro.
What do you need?
Let’s go !

Continue reading »

Flattr this!

Oct 202013
 

As system administrator, or simple user that uses Linux on its desktop sometime you notice that something it’s eating all the memory of your system.
As first thing be sure to understand how Linux manage memory, I’ve be called too many time by scared users that did a free and were unable to read its output properly, in short, don’t worry if the Linux Kernel it’s using your memory to cache file.

< rant on >

To my “beloved” users:

Be assured that the Kernel developers can do a better job than you (and me) in find a good algorithm to cache file and free that memory area when a process need it, so please don’t ask me to put in cron some job that run something like that :

echo 3 > /proc/sys/vm/drop_caches

After that you’ll have more free memory available on the system, true, but the system will have to re-read all the files from the disk, so in terms of performance this is usually a bad move.

< /rant >

But now let’s take a look at a nice small program that can help us in find which process/users are using, for real, the memory of our systems.

Continue reading »

Flattr this!

Oct 162013
 

Based on the article of 

Starting an online business can be a daunting task. Once you determine the products or services to sell online you must then select the method to reach the customer and collect payment. As an online merchant your can choose to sell on one of the community based web portals like eBay or yahoo store. However, if you decide to operate your own domain, so you can build brand and company loyalty, you will require a website and shopping cart with an integrated payment gateway.

The open source community provides small business owners with a wealth of products to choose from. Today, open source shopping carts provide the same functionality and capability as commercial products. Although there are many open source products available I will list 6 quality shopping carts based upon their functionality, features, development community support and platform theme availability. this is my short list of the top 6 OS e-commerce solutions:

6 osCommerce
5 Zen Cart
4. Drupal Commerce
3. VirtueMart
2. PrestaShop
1. Magento Commerce

Continue reading »

Flattr this!