The Linux Blog UNIX, LINUX, BSD, OSX

2Jul/100

Release for CentOS-5.5 i386 and x86_64

Centos has announced new release, it's all about 5.5!

Links:
Distro Release Announcement |
Documentation: CentOS 5

Release Notes: CentOS | Upstream

Download: i386 | x86_64

Filed under: Headline No Comments
1Jul/100

New Firefox 4 in beta stage!

People are eager to see brand new features in Firefox 4!

They has just launched in the first beta version of Firefox 4.0.

In a first analysis, we notice the familiar minimalist look, sober, with modern cuts. The menus are now hidden and the original theme fits perfectly with the look and feel of Windows 7. Searching a little more, we found that are actually present some promises made by Mozilla.

The entire interior of the browser is redrawn. Is tabbed independent plotting a scheme more sympathetic and effective management of the various components that maximize this browser. Is actually the impetus that the Mozilla Foundation aims to give the browser that dared one day dethrone Internet Explorer.

It is noticeable improvements in speed in loading pages, bookmarks synchronization and interpretation of javascript. Although still very premature, because it is "naked" add-ons, this structure seems more robust and secure.

The management of plugins is done in a single tab with more information and easier for those who have no resourcefulness to deal with this magical side of a browser.

Modern lines and the promise of a browser faster, powerful, with openness to new web technologies (HTML 5 and following), version 4 are a "must have".

There are more options and upgrades: from the automatic update of Firefox add-ons and search engine, through control of almost everything now in the hands of the user.

As you will have the opportunity to notice, this version follows the trend of Chrome, each tab now works independently, thus minimizing the impact if the session open to collapse. Another advantage is the optimization of resources reserved for each tab, in view of the loaded content.

Mozilla has updated frequently where the roadmap set out plans for release of Firefox 3.7. Everything points to start the second half 2010. The next "major release" on Firefox 4.0 will then be there for the end of next year.

License: MPL, Trilicense MPL/GPL/LGPL
OS: Windows/Mac/Linux
Download [win]: Mozilla Firefox 4.0 Beta 1 en-US [8.51MB]
Download [mac]: Mozilla Firefox 4.0 Beta 1 en-US [20.24MB]
Download [linux]: Mozilla Firefox 4.0 Beta 1 en-US [11.37MB]
Download [other versions]: Mozilla Firefox 4.0 Beta 1 en-US
Homepage: Mozilla

9May/100

How to log the user IP, not the proxy, in varnish access log

varnish-logo-red-64After long search, I managed to bring up issues with varnish+apache logs (real ip instead of 127.0.0.1). Here's what it is:

First, install mod_rpaf from here.

cd /usr/local/src

wget http://stderr.net/apache/rpaf/download/mod_rpaf-0.6.tar.gz

tar xzf mod_rpaf-0.6.tar.gz

cd mod_rpaf-0.6

Compiling rpaf module:

nano /usr/local/src/mod_rpaf-0.6/makefile

Change APXS=$(shell which apxs) to APXS=/usr/sbin/apxs.

Compile ways:

I)

make rpaf-2.0 && make install-2.0

II)

apxs -i -c -n mod_rpaf-2.0.so mod_rpaf-2.0.c

Next you must do following:

mcedit /etc/httpd/conf/httpd.conf

Add following lines:

LoadModule rpaf_module modules/mod_rpaf-2.0.so

#Mod_rpaf settings
RPAFenable On
RPAFproxy_ips 127.0.0.1 REALIP1 REALIP2

RPAFsethostname On

That's it!

Don't forget to run service httpd restart! :)

Cheers

13Apr/100

Adobe CS5

adobe_photoshop_cs5-313x400Adobe Creative Suite 5 includes 15 applications: Photoshop CS5, Illustrator CS5, CS5 InDesign, Acrobat 9 Pro, Flash Catalyst CS5, CS5 Professional Flash, Flash Builder 4, Dreamweaver CS5, CS5 Fireworks, Contribute CS5, CS5 Adobe Premiere Pro, After Effects CS5 , Soundbooth CS5, CS5 Adobe OnLocation, Adobe Bridge, CS5, CS5 Adobe Device Central and Adobe Dynamic Link.

The 15 applications are grouped in five editions: Master Collection ($ 2,599), Design Premium ($ 1899), Design Standard ($ 1299), Web Premium ($ 1799) and Production Premium ($ 1699). Components and applications can be purchased separately.

Obviously, all 15 applications containing new features and various improvements. Photoshop, for example, the most important program in the suite includes a tool called "Content Aware fill. It removed without trace objects from a photo, automatically filling in the background. Also, Photoshop CS is better at detecting edges of objects in an image.

Photoshop, Adobe Premiere Pro and After Effects provides native support for OS 64-bit.

Tagged as: No Comments
12Apr/100

Ubuntu – New Lucid Linx Alpha 2 (10.04)

imagesNew Ubuntu Lucid Lynx Alpha 2, a pleasant surprise for the community. Speed has improved even more because of exclusion from the total package initialization HAL. At its base lies the kernel 2.6.32 and has improved support for Nvidia drivers.

Alpha 2 of Kubuntu features the new KDE SC 4.4 RC 1 also, the likewise-open package, which provides Active Directory authentication and server support for Linux, has been updated to version 5.4. The package supports upgrades from both the officially supported versions 4.0 (Ubuntu 8.04 LTS) and 4.1 (Ubuntu 9.10), as well as the likewise-open5 packages from universe.

You can download new Ubuntu release from here: http://cdimage.ubuntu.com/releases/lucid/alpha-2/

Tagged as: No Comments
13Mar/100

ASUS EeeBox EB1501U – Nettop chipset nVidia ION (3 photos)

1268210889_eb1501-hands-2010-03-0309-09-33-rm-eng

This mini-computer is the embodiment of technical idea of the future on the basis of the first generation of ION. Nettop has the Atom processor 330 with a frequency of 1.6GHz, 2GB RAM, 250/320Gb hard drive, built-in graphic system GeForce 9400 and slotny DVD drive. EeeBox EB1501U also has a gigabit network, 802.11 b / g / n WiFi, eSATA, D-Sub and HDMI outputs plus two outputs USB 3.0. Price unfortunately is not known, but the manufacturer claims - in the sale of the device falls in April this year.
1268210712_2_80

1268210740_eb1501-hed-img-cebit-rm-eng

13Mar/100

LG X300 – ultra-thin netbook (3 photos)

lg1

LG has announced that by the end of March will start selling its ultra-thin (17.5 mm) 11.6-inch Netbook LG X300, which was first presented at this year's CES. On board the buyer will find the processor model Atom Menlow Z550 (2 GHz), 2 GB RAM, 128-gigabyte SSD and Windows 7. Price new items has not been disclosed - according to company representatives, it will vary widely from country to country, however, know that in Korea, LG X300 it will cost $ 1420.


lg2

lg3

13Mar/100

Ubuntu successfully ported to the HTC Touch Pro2

1268298353_htc-ubuntu-20100309-600

Just a couple of weeks ago we wrote about the successful experiment of porting Ubuntu operating system on Sony Ericsson XPERIA X1. At this time managed to achieve modders with nickname sebbo90, in experimental device - HTC Touch Pro2, presented at last year's Mobile World Congress. He also managed to port to the specified mobile device operating system Ubuntu, along with relevant applications. To do this, you want to download a ZIP archive volume of 200 MB, extract its contents to your device and run the executable file. Moreover, installed on HTC Touch Pro2 open-source platform looks quite workable.
Recall, HTC Touch Pro2 is a communicator with a QWERTY keyboard processor-based Qualcomm MSM7200A with a frequency of 528 MHz, equipped with a 3.6-inch WVGA touchscreen display.


1268298319_250096

1268298298_250097

11Dec/090

How to install XCache for Centos / Redhat / Fedora – Php5

How do I install Xcache opcode cacher for PHP 5 under RHEL / CentOS version 5.0 server?

XCache is a open-source opcode cacher, which means that it accelerates the performance of PHP on servers. It optimizes performance by removing the compilation time of PHP scripts by caching the compiled state of PHP scripts into the shm (RAM) and uses the compiled version straight from the RAM. This will increase the rate of page generation time by up to 5 times as it also optimizes many other aspects of php scripts and reduce serverload.

Step # 1: Download xcache source code

Use wget command to download latest stable release:
# cd /opt
# wget http://xcache.lighttpd.net/pub/Releases/1.2.1/xcache-1.2.1.tar.gz

Step # 2: Untar tar ball

Use tar command:
# tar -zxvf xcache-1.2.1.tar.gz
# cd xcache-1.2.1

Step # 2: Compile and install xcahce

Use phpize command to prepare xcache as a PHP extension for compiling:
# phpize
Configure, compile and install xcache:
# ./configure --enable-xcache
# make
# make install

Default xcache.so installation location

  • 64 bit PHP module installed at /usr/lib64/php/modules/xcache.so
  • 32 bit PHP module installed at /usr/lib/php/modules/xcache.so

Step # 3: Create xcache.ini file

Under RHEL / CentOS, you place php modules configuration at /etc/php.d/ directory:
# cd /etc/php.d/
Create xcache.ini file:
# vi xcache.ini
Append configuration directives:

[xcache-common]
; change me - 64 bit php => /usr/lib64/php/modules/xcache.so
; 32 bit php => /usr/lib/php/modules/xcache.so
zend_extension = /usr/lib64/php/modules/xcache.so

[xcache.admin]
xcache.admin.auth = On
xcache.admin.user = "mOo"
; xcache.admin.pass = md5($your_password)
xcache.admin.pass = ""

[xcache]
xcache.shm_scheme =        "mmap"
xcache.size  =               32M
xcache.count =                 1
xcache.slots =                8K
xcache.ttl   =              3600
xcache.gc_interval =         300

; Same as aboves but for variable cache
; If you don't know for sure that you need this, you probably don't
xcache.var_size  =            0M
xcache.var_count =             1
xcache.var_slots =            8K
xcache.var_ttl   =             0
xcache.var_maxttl   =          0
xcache.var_gc_interval =     300

; N/A for /dev/zero
xcache.readonly_protection = Off

xcache.mmap_path =    "/dev/zero"

xcache.cacher =               On
xcache.stat   =               On

Save and close the file.

Alternatively, you can also copy default xcache.ini to /etc/php.d/
# cp xcache.ini /etc/php.d/
# vi /etc/php.d/xcache.ini

Restart your Apache web server:
# service httpd restart

If you are using Lighttpd web server, enter:
# service lighttpd restart

Step # 4: Make sure xcache is working

Type the following command for verification:
$ php -v
Output:

PHP 5.1.6 (cli) (built: Nov 20 2007 11:11:52)
Copyright (c) 1997-2006 The PHP Group
Zend Engine v2.1.0, Copyright (c) 1998-2006 Zend Technologies
    with XCache v1.2.1, Copyright (c) 2005-2007, by mOo
15Nov/090

Putty and Winscp

You can download Putty from here and WinSCP from here. No more comments! :)

Filed under: Tools No Comments