Saturday, May 31, 2008

The Daily Tee

The Daily Tee

When Pikachu is Angry, it Says Fukachu!

Posted: 30 May 2008 06:53 PM CDT

FUKACHU T-SHIRT pokemon pikachu 
The new T-shirt by SplitReason is based on parody of popular Japanese’ anime character, Pikachu. I’m sure you don’t need introduction to this yellow little monster, one of fictional species from Pokémon. But I really get amused by Fukachu! version from SplitReason.

The T-shirt itself is intended to be most offensive-parody  to date by SplitReason. Seriously though, it’s cutely offensive. Grab this tee from SplitReason for $18.95

nixCraft Linux Sys Admin Blog

nixCraft Linux Sys Admin Blog

Link to nixCraft Linux Sys Admin Blog

Google Data Center Information

Posted: 31 May 2008 08:43 AM CDT

CNet has published an interesting information about Google data center and estimates that they have 2,00,000 servers spanned across 36 data centers across the globe. From the article:

On the other hand, Dean seemingly thinks clusters of 1,800 servers are pretty routine, if not exactly ho-hum. And the software company runs on top of that hardware, enabling a sub-half-second response to an ordinary Google search query that involves 700 to 1,000 servers, is another matter altogether.

Google doesn't reveal exactly how many servers it has, but I'd estimate it's easily in the hundreds of thousands. It puts 40 servers in each rack, Dean said, and by one reckoning, Google has 36 data centers across the globe. With 150 racks per data center, that would mean Google has more than 200,000 servers, and I'd guess it's far beyond that and growing every day.


(Fig.01: Google data center [credit:cnet news])

I'm well aware of HA and clustering technologies but this is massive setup with tons and tons of systems. Google uses distributed storage system and other in house developed tools.

Sounds like a great place to work :)

=> Google spotlights data center inner workings

Related Posts:



© Google Data Center Information - nixCraft - Support nixCraft when you shop at amazon. Thanks!

An Interview With Chet Ramey - Maintainer Of Bash Shell

Posted: 30 May 2008 11:30 AM CDT

BASH shell is default on many UNIX / Linux systems. There is an interview with Chat Ramney, maintainer of BASH, the Bourne Again Shell. He talke about his experience maintaining Bash and few other things. From the page:

Bash, or the Bourne-Again Shell is a Unix shell created in 1987 by Brian Fox. According to Wikipedia, the name is a pun on an earlier Unix shell by Stephen Bourne (called the Bourne shell), which was distributed with Version 7 Unix in 1978.

In 1990, Chet Ramey, Manager of the Network Engineering and Security Group in Technology Infrastructure Services at Case Western Reserve University, became the primary maintainer of the language.

Computerworld tracked down Ramey to find out more.

=> The A-Z of Programming Languages: BASH/Bourne-Again Shell

Related Posts:



© An Interview With Chet Ramey - Maintainer Of Bash Shell - nixCraft - Support nixCraft when you shop at amazon. Thanks!

Linux List The Open Ports And The Process That Owns Them

Posted: 30 May 2008 10:57 AM CDT

This is a user contributed quick tip.

How do you list the network open ports on your server and the process that owns them? The answer is simple use the following command (must run as root):
sudo lsof -i
sudo netstat -lptu

This article / faq / short tip is contributed by Vikrant Joshi. nixCraft welcomes readers' tips / howtos.

Related Posts:



© Linux List The Open Ports And The Process That Owns Them - nixCraft - Support nixCraft when you shop at amazon. Thanks!

Friday, May 30, 2008

The Daily Tee

The Daily Tee

Life at the North Pole

Posted: 30 May 2008 11:04 AM CDT

image

This isn’t exactly Miami, but those polar bears still don’t go without their in ground pools. At first I was thinking that this tee was going to be some global-warming, end of the world, polar bears drowning kind of design. Thankfully it isn’t because I’ve seen plenty of those lately.

This tee is from Axid and its $20.

image: Axid

Tags: , , , , , , ,

GOOD RECORDS DOUBLE INSTORE SATURDAY...Old 97's 1pm & Local H 3pm

**************************************
UPCOMING INSTORE PERFORMANCES
**************************************
Saturday May 31, 2008-Old 97's-1pm
http://www.myspace.com/theold97s
The Old 97's will be stopping off to play some old and new favorites from their new album "Blame It On Gravity" before heading to the House Of Blues later that night. While you are here also pick up a copy of Murry's excellent solo album "I Don't Know Where I'm Going But I'm On My Way."


Saturday May 31, 2008-Local H-3pm
http://www.myspace.com/localh
Local H will be stopping off to promote their latest album "12 Angry Months" on the way to Fort Worth to play at Lola's.

Good Records
1808 Greenville Ave.
Dallas, TX 75206
214-752-GOOD
www.goodrecords.com

GOOD RECORDS DOUBLE INSTORE SATURDAY...Old 97's 1pm & Local H 3pm

**************************************
UPCOMING INSTORE PERFORMANCES
**************************************
Saturday May 31, 2008-Old 97's-1pm
http://www.myspace.com/theold97s
The Old 97's will be stopping off to play some old and new favorites from their new album "Blame It On Gravity" before heading to the House Of Blues later that night. While you are here also pick up a copy of Murry's excellent solo album "I Don't Know Where I'm Going But I'm On My Way."


Saturday May 31, 2008-Local H-3pm
http://www.myspace.com/localh
Local H will be stopping off to promote their latest album "12 Angry Months" on the way to Fort Worth to play at Lola's.

Good Records
1808 Greenville Ave.
Dallas, TX 75206
214-752-GOOD
www.goodrecords.com

nixCraft Linux Sys Admin Blog

nixCraft Linux Sys Admin Blog

Link to nixCraft Linux Sys Admin Blog

Free Oracle Unbreakable Linux CD / DVD Media Kit Giveaways

Posted: 29 May 2008 07:20 PM CDT

Oracle Linux now joined Fedora, Ubuntu, and Solaris for giving out free CDs. You can now request your FREE Oracle Unbreakable Linux 2-disc (DVD) Kit from official oracle site.

=> Visit oracle site to grab free CD kit [ direct link ].

Related Posts:



© Free Oracle Unbreakable Linux CD / DVD Media Kit Giveaways - nixCraft - Support nixCraft when you shop at amazon. Thanks!

Linux / UNIX View Only Configuration File Directives ( uncommented lines of a config file )

Posted: 29 May 2008 12:49 PM CDT

Most Linux / UNIX configuration files are documented using comments, but some time I just need to see line of configuration text in a file. How can I view just the uncommented configuration file directives from squid.conf or httpd.conf file?

Answer to "Linux / UNIX View Only Configuration File Directives ( uncommented lines of a config file )"


Copyright © nixCraft. All Rights Reserved. Support nixCraft when you shop at amazon. Thanks!

Thursday, May 29, 2008

The Daily Tee

The Daily Tee

So that’s how they do it!

Posted: 28 May 2008 12:38 PM CDT

image

Ahh ha! So that’s how it is done. Remind me to hire some invisible gremlins if I ever want to become a magician. I was doing a little Threadless shopping last night. A lot of their tees lately… are… honestly a bunch of crap. But I really enjoy this one. It’s everything I usually expect to see in a Threadless tee, witty and well designed. Also it is on black, which is always good. It seems like every time I like a design from Threadless they have stuck it on a light blue tee. Yuck.

I never used to have anything against light blue, but the good designs always seem to be put on them. So I have WAY too many light blue tees in my closet.

Come on Threadless, how about some more asphalt, army green, cranberry… or even plumb colored tees?!

image: Threadless

Tags: , , , , , , ,

nixCraft Linux Sys Admin Blog

nixCraft Linux Sys Admin Blog

Link to nixCraft Linux Sys Admin Blog

Mozilla Is Trying To Set A Guinness World Record For Software Download With FireFox 3

Posted: 29 May 2008 09:38 AM CDT

Go firefox go :)

Mozilla is aiming to create what may be the geekiest world record ever with its upcoming Firefox 3 browser release. With more than 14,000 improvements, Firefox 3 is faster, safer and smarter than before. Mozilla asking users to pledge to download the next full release of its browser on the day it is available so the release can set a Guinness World Record for the largest number of software downloads in 24 hours.

=> Set a Guinness World Record Enjoy a Better Web (via PCWorld)

Related Posts:



© Mozilla Is Trying To Set A Guinness World Record For Software Download With FireFox 3 - nixCraft - Support nixCraft when you shop at amazon. Thanks!

Find Out If Windows Server System Hacked / Cracked Or Not

Posted: 29 May 2008 09:25 AM CDT

Some time my work force me to do detective work on MS-Windows boxes. Just like Linux / UNIX / BSD system , Windows machines get *owned* a lot. Recently while searching for information I came across couple of nice built-in windows command line security tools to determine if a system has been hacked cracked.

Fortunately, Microsoft has built numerous tools into Windows so administrators and power users can analyze a machine to determine whether it's been compromised. In this tip, which is the first of a two-part series, Author has covered five useful command-line tools built into Windows for such analysis.

=> Built-in Windows commands to determine if a system has been hacked : Part I and Part II

Related Posts:



© Find Out If Windows Server System Hacked / Cracked Or Not - nixCraft - Support nixCraft when you shop at amazon. Thanks!

How to Install and Configure ProFTPD in RHEL / CentOS / Fedora Linux

Posted: 28 May 2008 12:38 PM CDT

This is a user contributed tutorial.

ProFTPD is an enhanced, secure and highly configurable FTP server. Its configuration syntax is very similar to apache web server. It offers several functionalities such as:
+ multiple virtual server
+ anonymous
+ authenticated access
+ chroot jail support
+ SSL/TLS encryption
+ RADIUS, LDAP and SQL support etc

Install ProFTPD server

Type the following command as root user:
# yum install proftpd
Start ProFTPD when the system reboot:
# chkconfig --level 3 proftpd on
To start proftpd ftp service, enter:
# service proftpd start
To Stop proftpd ftp server, enter:
# service proftpd stop
To restart proftpd ftp service, enter:
# service proftpd restart
To reload the configuration file, enter:
# service proftpd reload

/etc/proftpd.conf - Proftpd configuration file

The default configuration file is located at /etc/proftpd.conf. To edit the configuration file, enter:
# vim /etc/proftpd.conf
Checking the syntax of the configuration file
# proftpd -t6

Virtual users authentication configuration

When you install ProFTPD, it is almost ready to use by anonymous users, you only have to uncomment anonymous section in /etc/proftpd.conf but if you want authenticated access then you must configure extra directives, keep in mind these to virtual users authentication.

  • AuthUserFile : Specify the users file, has the same format as /etc/passwd
  • AuthGroupFile : Specify the groups file, has the same format as /etc/group

Open /etc/proftpd.conf file:
# vi /etc/proftpd.conf
These files can be created with ftpasswd tool, here is an example:
# ftpasswd --passwd --name {username} --file /etc/ftpd.passwd --uid {5000} --gid {5000} --home /var/ftp/username-home/ --shell /bin/false
# ftpasswd --group --name group1 â€"file /etc/ftpd.group --gid 5000 --member username

For example, add a ftp user called tom for cyberciti.biz domain (ftpcbz group):
# ftpasswd --passwd --name tom --file /etc/ftpd.passwd --uid 5001 --gid 5001 --home /var/ftp/tom/ --shell /bin/false
# ftpasswd --group --name ftpcbz â€"file /etc/ftpd.group --gid 5000 --member tom

Then the above directives must be set in this way :

AuthUserFile	/etc/ftpd.passwd AuthGroupFile	/etc/ftpd.group

Warnings! The created user must have UNIX permission under his home directory.

The value of --shell option must be set to /bin/false if you want to improve the security of the FTP server.

Sometimes ProFTPD throws many errors when you try to authenticated trough virtual users then you must look these directives and theris recommend values.

Don't check against /etc/shells
RequireValidShell off
Don't check against /etc/passwd, use only AuthUserFile
AuthOrder mod_auth_file.c.
Disable PAM authentication
PersistentPasswd off
AuthPAM off

To jail users to theirs respective home directories, add following to config file:
DefaulRoot ~

Playing with files access permission

The general syntax is as follows:
Umask FILEMODE DIRMODE.

Sets the mask of the newly created files and directories. FILEMODE and DIRMODE must be an octal mode, in the format 0xxx. If DIRMODE is omitted then DIRMODE = FILEMODE.

Some examples:

Umask 022

  • The owner has rw permissions over the files and full access over directories.
  • The group has r permission over the files and rx over directories.
  • The world has r permission over the files and rx over directories.

More restrictive:
Umask 026 027

  • The owner has rw permissions over the files and full access over directories.
  • The group has r permission over the files and rx over directories.
  • The world doesn't have any permission over the files neither over directories.

To Deny every one except admin changes files permission via ftp put this in your context:

AllowUser admin
DenyAll

Firewall Configuration - Open FTP port

See FAQ section for further details on iptables configuration.

Further readings:

  1. Proftpd project
  2. ProFTPD unofficial documentation

This article / faq is contributed by Yoander Valdés Rodríguez (yoander). nixCraft welcomes readers' tips / howtos.

Related Posts:



© How to Install and Configure ProFTPD in RHEL / CentOS / Fedora Linux - nixCraft - Support nixCraft when you shop at amazon. Thanks!