web analytics

Author Archive

Linux Mint and the meaning for Linux users.

Written by config on . Posted in Linux, Ubuntu

Advertisement

In the world of operating systems, each mass-marketed system of software has its unique nuances. It’s these nuances that are played the most to potential buyers. If you love messing with your computer, but don’t have a degree in computer science, then you’re probably a Windows guy. If you know absolutely nothing about computers and how to customize your software to your liking, you’re probably a Mac guy. And then there is the Linux crowd…

People who operate Linux operating systems are the kind of people that really know what they’re doing. They understand computers and have probably studied them in great detail, more than likely obtaining a degree in something computer related. The people that appreciate Linux are the people that want to get the most out of their machines.

Now lets talk about the latest Linux Mint release.

Google+ problems and why it is not ready for prime time

Written by config on . Posted in Social

It has been almost a month after the closed launch of Google+, and it seems to be a very popular subject, being discussed and mentioned daily on the tech news websites.
The main story everywhere is that this new and “fabulous” Google social network is growing like mushrooms on a wet ground.

Exponential growth is a very good start, considering the network itself is still in a closed phase of testing and most people who have access to it are from the IT sphere or close to it, but the real question is – what will happen later?
Will your family jump in? Your mother, father, cousins? All the people you know and love, the same people that actively use Facebook by default.

How to install LAMP on CentOS 6 server

Written by config on . Posted in CentOS, Linux

In this guide I will show you how to install standard LAMP stack on CentOS 6 server. I don’t think there is a huge difference between this setup or the one you probably did in the past on CentOS 5 or Fedora servers (to those of you who actually use Fedora servers).
I still think this tutorial can be helpful for some and that is the reason I’m still publishing this. This is a very easy tutorial with a step by step easy approach. So lets begin with the setup:

First of all you must have CentOS 6 installed and configured, by configured I mean it should be connected to the network and in working condition. No special packaged or configuration needed, you just have to be make sure yum is working and you can install packages from the repositories.

Finding large files on Linux distributions

Written by config on . Posted in Linux

Finding large files on all operating systems is a daily task for systems administrators around the world, it serves a lot of purposes.
I will show multiple ways to do it on various Linux distribution. Simple and makes your life easier.

Pay attention to the size in all examples – change it according to your needs.

RPM Based distributions: Red Hat, Centos, Fedora

Specify path:

find {/path/to/location/} -type f -size +{size-in-kb}k -exec ls -lh {} \; | awk '{ print $9 ": " $5 }'

Example for specific path:

find /home/http/logs -type f -size +100000k -exec ls -lh {} \; | awk '{ print $9 ": " $5 }'

Current Dir:

find . -type f -size +100000k -exec ls -lh {} \; | awk '{ print $9 ": " $5 }'

Debian or Debian based ( Ubuntu and various other deb based distros )

Specify path:

find {/path/to/location} -type f -size +{file-size-in-kb}k -exec ls -lh {} \; | awk '{ print $8 ": " $5 }'

Current Dir:

find . -type f -size +10000k -exec ls -lh {} \; | awk '{ print $8 ": " $5 }'

Largest files in directory:

ls -lSh | less

du -xakh .|sort -n|tail -10

du -k | sort -n | perl -ne 'if ( /^(\d+)\s+(.*$)/){$l=log($1+.1);$m=int($l/log(1024)); printf                 ("%6.1f\t%s\t%25s  %s\n",($1/(2**(10*$m))),(("K","M","G","T","P")[$m]),"*"x (1.5*$l),$2);}'

find . -type f -print0 | xargs -0 ls -lSh | head -10

Apple Mac OS X 10.7 Lion launched

Written by config on . Posted in Mac OSX

Apple’s long awaited update for its operating system is finally out, Mac OS X 10.7 Lion is on sale at Apple App store. The update will cost you $30 and you can download this update for Apple previous Mac OS X 10.6 Snow leopard from the Apple app store.
Mac OS X 10.7 shows significant improvements under the hood along with some visual enhancements.

Rosetta is not included with this update and ppc application won’t work any more. If you rely in you daily work on any ppc applications do not upgrade your Mac.

You can upgrade to Apple Mac OS X Lion only from the previous Mac OS X version 10.6 Snow leopard. Direct upgrade from 10.5 is not supported.

Permission denied errors when starting bind9 on Ubuntu 10.04 with Plesk 10

Written by config on . Posted in Linux, Ubuntu

If you are getting the following in your error log and you cannot start bind9 on Ubuntu 10.04 server with Plesk 10 installed:

named[5372]: loading configuration from '/etc/named.conf'
named[5372]: none:0: open: /etc/named.conf: permission denied
named[5372]: loading configuration: permission denied
named[5372]: exiting (due to fatal error)

Cpanel 11.30 on Centos 6.0

Written by config on . Posted in Linux

Cpanel updated its offering on the Centos even before Centos released a new version, but it seems like Cpanel itself can’t get its stuff straight. As of today (after a week of tries and failures) it is finally possible to install Cpanel on Minimal installation of Centos 6.0 without installing perl or anything else manually on the server before running Cpanel installation script (“latest”). Cpanel uses a very interesting approach here, they are downloading their own perl package with perl 5.8.8 (which is the perl used in Centos 5.0 if I’m not mistaken). I’m sure they got their own reasons but I would love to hear a decent explanation on that.

Google+ App for Apple iPhone iOS

Written by config on . Posted in iOS, Mobile, Social

Google released today Google+ app for the iPhone, the long awaited application for the iOS – unfortunately released with seemingly a lot of bugs and looks like a half baked attempt to quickly release the application on both platforms – Android and iOS.
As of now, Google+ for iPhone is available only for customers in USA, the app seems to be blocked for download for international users. Same applies to the Android version of the same app, which up until this day is only available to the USA users only.

Mirror websites with lftp

Written by config on . Posted in Linux, Ubuntu

There are lots of methods to mirror websites, you could use tons of Gui tools or just use Curl, wget or httrack. But as usual with linux there is a simpler and/or “better” method – lftp. It works great for mirroring Apache directory listings.

Try this next time you want to mirror a website:

lftp -e "mirror -c" http://greatdomain.com/somedir/

oh and if there is “command not found” after you try it then:

for Debian based systems ( like ubuntu or debian itself )

sudo apt-get install lftp 

for Rpm based ( like Centos or Fedora )

yum install lftp

for Mac OSX you could use MacPorts – http://www.macports.org