1 / 3
Caption Text
2 / 3
Caption Two
3 / 3
Caption Three margin testing

Saturday, June 6, 2009

Set up a Linux Media Server Using Ubuntu 8.10

geek.com: This project attempts to show you how to make your own home media server from readily available PC components & open source software. The software components we’ll be using in this feature are:
  • Ubuntu Linux 8.10
  • Firefly DAAP Server (for streaming to iTunes clients, Roku Soundbridge, and other DAAP aware devices)
  • MediaTomb – this allows streaming of audio & video over the ubiquitous UPnP protocol

Most newer TVs and game consoles (the PS3) are UPnP capable and allow you to stream content from UPnP enabled sources. iTunes (Windows) and Rhythmbox (Linux) can play media that is centrally hosted on this type of server - an excellent way to setup a centralized, on demand audio/video library in your home.

Friday, June 5, 2009

Get a Linux-powered Dell laptop for $299

CNET: Zowie! For less than the price of some Netbooks, you can get yourself a full-blown Dell notebook. Here's the deal: Dell is offering the Inspiron 15n for just $299. That's undeniably amazing,

Google debuts Chrome for Mac, Linux

CNET: Google released Chrome for Mac OS X and Linux Thursday--but only in rough developer preview versions that the company warns are works in progress.

Thursday, June 4, 2009

New Search Tool Google Squared

PCWorld: Google Squared, a new search tool that Google described last month, is now live. Squared pulls information about members of a category from all over the Web and presents it in a table with rows and columns, instead of the series of page links typically returned by search engines.

Wednesday, June 3, 2009

XBOX 360 - Controller-Free Gaming and Entertainment

Introducing Project Natal, a revolutionary new way to play: no controller required. See a ball? Kick it, hit it, trap it or catch it. If you know how to move your hands, shake your hips or speak you and your friends can jump into the fun -- the only experience needed is life experience.

Tuesday, June 2, 2009

How to Find the Total Number of Files in a Linux Folder

To count recursively:

for t in files links directories; do echo `find . -type ${t:0:1} | wc -l` $t; done 2> /dev/null

If you don't want to recurse directories (only count files in the current dir):

for t in files links directories; do echo `find . -maxdepth 1 -type ${t:0:1} | wc -l` $t; done 2> /dev/null

Result:

655 files
6 links
213 directories

Note: Directory count begins at 1 because . is counted as a directory.

Monday, June 1, 2009

Using Nginx as a Reverse Proxy to Get the Most Out of Your VPS

According to Ubuntu Geek:

Using Nginx as a reverse proxy is great for a few reasons. Firstly it handles static content very well. It is able to handle the requests and serve static content much faster in our tests and this has cut our page load time in about half (using YSlow with a clear cache). The memory footprint of Nginx is very small so this extra speed increase is worth every megabyte, in this case .6 megabytes of our total ram on a 540 megabyte server. Secondly, it allows for quick and easy migration of your Apache services to another server. Through the config files you are able to specify an IP of your server and a port. If your apache server is taking a pounding it wouldn’t be difficult to move it to another server and just change the proxy IP to your now remote server.

According to Wikipedia:

A reverse proxy or surrogate is a proxy server that is installed in a server network. Typically, reverse proxies are used in front of Web servers. All connections coming from the Internet addressed to one of the Web servers are routed through the proxy server, which may either deal with the request itself or pass the request wholly or partially to the main web servers.

A reverse proxy dispatches in-bound network traffic to a set of servers, presenting a single interface to the caller. For example, a reverse proxy could be used for load balancing a cluster of web servers. In contrast, a forward proxy acts as a proxy for out-bound traffic. For example, an ISP may use a proxy to forward HTTP traffic from its clients to external web servers on the internet; it may also cache the results to improve performance.

There are several reasons for installing reverse proxy servers:

  • Security: the proxy server may provide an additional layer of defense by separating or masquerading the type of server that is behind the reverse proxy. This configuration may protect the servers further up the chain - mainly through obfuscation.
  • Encryption / SSL acceleration: when secure websites are created, the SSL encryption is sometimes not done by the Web server itself, but by a reverse proxy that is equipped with SSL acceleration hardware.
  • Load distribution: the reverse proxy can distribute the load to several servers, each server serving its own application area. In the case of reverse proxying in the neighborhood of Web servers, the reverse proxy may have to rewrite the URLs in each webpage (translation from externally known URLs to the internal locations).
  • Caching: A reverse proxy can offload the Web servers by caching static content, such as images, as well as dynamic content, such as a HTML-page rendered by a content management system. Proxy caches of this sort can often satisfy a considerable amount of website requests, greatly reducing the load on the central web server; another term is Web accelerator. This technique is also used for the Wikipedia servers.
  • Compression: the proxy server can optimize and compress the content to speed up the load time.
  • Spoon feeding: a dynamically generated page can be produced all at once and served to the reverse-proxy, which can then return it to the client a little bit at a time. The program that generates the page is not forced to remain open and tying up server resources during the possibly extended time the client requires to complete the transfer.

Featured Post

Windows和Ubuntu双系统完全独立的安装方法

http://www.ubuntuhome.com/windows-and-ubuntu-install.html  | Ubuntu Home Posted by Snow on 2012/06/25 安装Windows和Ubuntu双系统时,很多人喜欢先安装windows,然...