Search Site

Feed Section

Tuesday, February 8, 2011



Using Apache Web Server's UserDir Directive To Provide Personalized Web Pages

Posted: 08 Feb 2011 01:56 AM PST

Using Apache Web Server's UserDir Directive To Provide Personalized Web Pages: As some of you may know, a good number of Linux distributions are ideal for web servers simply because they are bundled with the best and most excellent free and open-source server and web development software such as MySQL, PHP, Perl, Python and Apache.

I have here a quick and easy tutorial on how you can set up Apache web server to enable Linux users have their own personal website. Usually, you want this configuration for the following reasons:

1. Give users a default place to setup their own web pages.
2. Easily manage configuration for all users.

The instructions here assumes you already have installed Apache on your preferred Linux distro and know your way around its configuration files. Also, this tutorial assumes that you are familiar with navigating around the file system. I am doing this on a GNU/Linux Debian Unstable distribution.

Using UserDir Directive:

1. Open a terminal window and login as root.

2. Enable the module for UserDir Directive using the following commands:

# a2enmod userdir

# /etc/init.d/apache2 reload

3. Usually, those commands take care of the default configuration for UserDir Directive. If you want to look at the configuration files, then go here "/etc/apache2/mods-enabled/userdir.load" and here "/etc/apach2/mods-enabled/userdir.conf".

4. Place your web pages or HTML files here: "/home/user/public_html". Make sure to replace the "user" with your login name. All users on this computer can make their own web pages in their own "public_html" directory. If you don't see any directory with that name, create it by using this command (no need to become root):

$ mkdir /home/username/public_html

5. Finally, open your favorite web browser and access your web pages through this url: "http://localhost/~username/yourpage.html"

Example: http://localhost/~testuser/mywebpage.html

The reference below contains a lot of information about UserDir Directive that includes instructions on customizing it to your preferences.

Reference:

If you have already installed Apache2 and its manual, go here: http://localhost/manual/en/mod/mod_userdir.html

You may also view the reference online: http://httpd.apache.org/docs/2.0/mod/mod_userdir.html


This article was written by Benjamin Canlas for Tech Source.

Monday, February 7, 2011



Weekly Ten (2-07-2011)

Posted: 07 Feb 2011 05:40 AM PST

Latest News, Blogs, Tips, and Reviews that I find Interesting and Useful:


1. First Ever STEREO Images of the Entire Sun
On Feb. 6th, NASA's twin STEREO probes moved into position on opposite sides of the sun, and they are now beaming back uninterrupted images of the entire star—front and back.
More @ NASA.gov

2. Google Executive Emerges as Key Figure in Revolt
More than a week after his mysterious disappearance in Egypt, Google executive and political activist Wael Ghonim will be released from government detention on Monday, according to his family and a prominent businessman.
More @ WSJ.com

3. How to Write Without Writing
Over the last 6 years, I've come to believe deeply in the idea that that becoming a great programmer has very little to do with programming. Yes, it takes a modicum of technical skill and dogged persistence, absolutely.
More @ CodingHorror

4. Steampunk CD player

More @ HackaDay

5. Seasoned Devs May See a Sweet Deal in Honeycomb
A new version of Android means some application developers will need to rework their wares to fit the new OS. However, for many of them, the adjustment may be quite easy. "It's conceptually similar to developing for smartphones," said Marakana's Marko Gargenta.
More @ LinuxInsider

6. Facebook May Struggle to Dominate in Japan, `FarmVille' Creator Zynga Says
Facebook Inc. may not overtake Mixi Inc. in Japan as the lure of connecting with friends overseas isn't enough for users to switch services, according to the U.S. social-networking site's biggest games developer.
More @ Bloomberg

7. Chrome OS vs. Android 3.0: Which will Survive?
Analysis: Android 3.0 is blossoming into something more closely resembling a general-purpose computing platform -- including many features the Chrome OS may never have.
More @ PCWorld

8. Solar Wind bridge concept could power 15,000 homes, grow vegetables

More @ Engadget

9. Hacking Linux with Armitage
Metasploit is a popular exploitation framework that has seen plenty of coverage on ethicalhacker.net. This article introduces Armitage, a new GUI for Metasploit built around the hacking process. Today, I will show you how to use Armitage to scan a Linux host, find the right exploit, exploit the host, and handle post-exploitation.
More @ EthicalHacker.net

10. 15 Common Astronomy Myths
Ever since I was a kid I have loved astronomy. I would lie in the back yard and stare at the stars in awe, trying to imagine what was out there. This led to a love of science fiction and science in general.
More @ Listverse

Sunday, February 6, 2011



Debian GNU/Linux 6.0 'Squeeze' Has Been Released

Posted: 06 Feb 2011 08:41 AM PST

Finally, Debian 6.0 (codenamed Squeeze) has been unleashed after a 24-month development period. This latest stable version comes in two varieties. Apart from the usual Debian GNU/Linux edition, a Debian GNU/kFreeBSD flavor is available for the first time ever and is offered as a technology preview. The release will also be the first to use a totally free Linux kernel, which means it absolutely has no non-free firmware files.

Utilizing the noted Debian/GNU userland, Squeeze launches technical previews of two new ports to the kernel of the FreeBSD project namely kfreebsd-i386 and kfreebsd-amd64. The combination of Debian and FreeBSD further enhances and fully supports common server software. Although, these new ports still have limited functionality and don't have support for other features.

The Debian 6.0 installer is better and easier to use than ever before and is now available in 70 languages. You can select language and keyboard settings, partition your logical volumes, RAID and encrypted systems without trouble. Btrfs and ext4 filesystems are finally supported in this release.

To speed up and improve stability during system start-up, Debian 6.0 introduces a dependency based boot system. The parallel execution of boot scripts and the precise dependency tracking between them made it possible.

Debian GNU/Linux 6.0 comes with GNOME, Xfce, LXDE, and KDE desktop environments and variety of server programs. It also offers compatibility with the FHS v2.3 and software developed for version 3.2 of the LSB.

Squeeze provides over 10,000 new packages that include Chromium, Icinga, Software Center, wicd, Corosync, and more. Here is a list of some of the updated software packages in this latest version:

* Linux 2.6.32
* KDE 4.4.5
* GNOME 2.30
* X.Org 7.5
* OpenOffice.org 3.2.1
* GIMP 2.6.11
* MySQL 5.1.49
* GNU Compiler Collection 4.4.5
* Apache 2.2.16
* Samba 3.5.6
* Python 2.6.6, 2.5.5 and 3.1.3
* Perl 5.10.1
* PHP 5.3.3
* Nagios 3.2.3
* Tomcat 6.0.18

If you are planning to install Debian GNU/Linux 6.0, you may visit its download page HERE. For those of you who are upgrading from Debian 5.0 Lenny, you could simply use the apt-get package management tool to quickly start the upgrade process.

Thursday, February 3, 2011



How to Create a Search Engine.. Like Bing

Posted: 03 Feb 2011 01:25 AM PST

If you have not been reading the latest technology news, here is a quick summary of the hottest stuff that just happened in the last few days (be sure to check out the included links for more details):

Google accused Microsoft's Bing of cheating by using, copying, borrowing, stealing (or whatever you may call it) Google's search results. Microsoft denied this by saying, "We do not copy Google's results". The Bing team also gave an official statement that briefly explains how their algorithm work and admitted that they do copy clickstream data from users, which of course include those from Google.

Here is my quick opinion with regards to this issue:

Google has all the right reasons to complain. Search is their main product and they would do everything they can to protect it. Heck Apple will sue everyone that would slightly copy the name or features of their products, so I think there is nothing wrong about Google's grumble since they have also provided some good and credible facts. Bing simply did a sneaky job of gathering Google's search data and ultimately uses them as basis of its search results.

As stated by the Bing team, they use over 1,000 different signals and features in their ranking algorithm. But the question is, how much influence does Google's search data have on Bing's ranking algorithm?

Because of all the madness that are taking place right now, someone just created a web application that will allow you to build a search engine that 'uses' or should I say 'does a parody' of Bing's search algorithm.

Here is an amazing 3-step process of creating your very-own Bing-like search engine :-)


1. Go to createasearchengine.appspot.com



2. Write the name of your search engine and click on the "Go" button.



3. Wait and voila!


I now have my very own search engine :-)


Now, you'll be the judge. Google vs. Bing - which side are you on?

[HowtoForge] Newsletter 02/03/2011

HowtoForge Newsletter 02/03/2011
================================

*** Version 1.1 of the ISPConfig 3 Manual ***
=============================================

The first update of the ISPConfig 3 Manual is available in PDF format (version 1.1 for ISPConfig >= 3.0.3.1; Date: 12/12/2010).

On more than 300 pages, it covers the concept behind ISPConfig (admin, resellers, clients), explains how to install and update ISPConfig 3, includes a reference for all forms and form fields in ISPConfig together with examples of valid inputs, and provides tutorials for the most common tasks in ISPConfig 3. It also lines out how to make your server more secure and comes with a troubleshooting section at the end.

Version 1.1 for ISPConfig >= 3.0.3.1 (Date: 12/12/2010)
Author: Falko Timme
305 pages

The manual can be downloaded from these two links:

http://www.ispconfig.org/ispconfig-3/ispconfig-3-manual/
http://www.howtoforge.com/download-the-ispconfig-3-manual
********************************************************************


New HOWTOs:
===========

* Setting Up An Android App Build Environment With Eclipse, Android SDK, PhoneGap (Fedora 14)
* Hosting Multiple SSL Web Sites On One IP Address With Apache 2.2 And GnuTLS (Debian Lenny)
* How To Install Tomcat6 With SUN-Java And Apache2 Integration On Ubuntu 10.04 [Lucid Lynx] With Virtual Hosts
* How To Set Up Apache2 With mod_fcgid And PHP5 On Fedora 14
* Enabling SquirrelMail For Your Web Sites On An ISPConfig 3 Server (Ubuntu 10.10)
* Install And Configure OpenLDAP On CentOS 5

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Setting Up An Android App Build Environment With Eclipse, Android SDK, PhoneGap (Fedora 14)
===========================================================================================

This tutorial describes how you can set up a development environment for building Android apps on a Fedora 14 desktop using Eclipse, the Android SDK, and PhoneGap. I will describe how to build Android apps from the command line with PhoneGap and from the GUI with Eclipse and PhoneGap and how to test them in an Android emulator and on a real Android device. PhoneGap allows you to develop your Android applications using web technologies such as HTML, CSS, and JavaScript (e.g. with JavaScript libraries such as jQuery/jQTouch), and it will turn these web apps into native Android apps (in fact, PhoneGap supports multiple platforms such as Android, iPhone, Palm, Windows Mobile, Symbian, so you can use the same sources to create apps for multiple platforms).

You can find the document here:
-------------------------------
http://www.howtoforge.com/setting-up-an-android-app-build-environment-with-eclipse-android-sdk-phonegap-fedora-14


Hosting Multiple SSL Web Sites On One IP Address With Apache 2.2 And GnuTLS (Debian Lenny)
==========================================================================================

This tutorial describes how you can host multiple SSL-encrypted web sites (HTTPS) on one IP address with Apache 2.2 and GnuTLS on a Debian Lenny server.

You can find the document here:
-------------------------------
http://www.howtoforge.com/hosting-multiple-ssl-web-sites-on-one-ip-address-with-apache-2.2-and-gnutls-debian-lenny


How To Install Tomcat6 With SUN-Java And Apache2 Integration On Ubuntu 10.04 [Lucid Lynx] With Virtual Hosts
============================================================================================================

Apache Tomcat (or Jakarta Tomcat or simply Tomcat) is an open source servlet container developed by the Apache Software Foundation (ASF). Tomcat implements the Java Servlet and the JavaServer Pages (JSP) specifications from Sun Microsystems, and provides a "pure Java" HTTP web server environment for Java code to run. Tomcat should not be confused with the Apache web server, which is a C implementation of an HTTP web server; these two web servers are not bundled together. Apache Tomcat includes tools for configuration and management, but can also be configured by editing XML configuration files.

You can find the document here:
-------------------------------
http://www.howtoforge.com/how-to-install-tomcat6-with-sun-java-and-apache2-integration-on-ubuntu-10.04-lucid-lynx-with-virtual-hosts


How To Set Up Apache2 With mod_fcgid And PHP5 On Fedora 14
==========================================================

This tutorial describes how you can install Apache2 with mod_fcgid and PHP5 on Fedora 14. mod_fcgid is a compatible alternative to the older mod_fastcgi. It lets you execute PHP scripts with the permissions of their owners instead of the Apache user.

You can find the document here:
-------------------------------
http://www.howtoforge.com/how-to-set-up-apache2-with-mod_fcgid-and-php5-on-fedora-14


Enabling SquirrelMail For Your Web Sites On An ISPConfig 3 Server (Ubuntu 10.10)
================================================================================

Lots of people have reported problems (such as getting 404 Not Found errors) using the SquirrelMail webmail package in their web sites created through ISPConfig 3. If you have followed the "Perfect Server" guides for ISPConfig 3, you have SquirrelMail already installed, but if you are still having the same problems, then this guide is for you. This guide explains how to configure SquirrelMail on an Ubuntu 10.10 server so that you can use it from within your web sites (created through ISPConfig).

You can find the document here:
-------------------------------
http://www.howtoforge.com/enabling-squirrelmail-for-your-web-sites-on-an-ispconfig-3-server-ubuntu-10.10


Install And Configure OpenLDAP On CentOS 5
==========================================

This tutorial describes OpenLDAP installation on a computer running Red Hat, Fedora, CentOS or any distribution based on the package installer "yum." If you use a distribution with another package installer we install the same packages but with the installer for (aptitude for Debian-based distros).

You can find the document here:
-------------------------------
http://www.howtoforge.com/install-and-configure-openldap-on-centos-5


++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

You can now support HowtoForge by becoming a subscriber:

HowtoForge Subscription
=======================

*** New! We now accept RBS WorldPay payments in addition to PayPal. ***

For a monthly fee of 5 EUR or 25 EUR for half a year, you can become a HowtoForge supporter and help us cover our costs (servers, bandwidth, etc.) and support ISPConfig development. In return, you receive the following benefits:

1. Download the ISPConfig 3 Manual (from http://www.howtoforge.com/download-the-ispconfig-3-manual).
2. Access the whole HowtoForge web site without any ads.
3. Download the results of our tutorials as VMware images (where available) (a list of downloadable VMware images is available here: http://www.howtoforge.com/list-of-downloadable-vmware-images).
4. Download our tutorials as PDF files.
5. View our tutorials as printer-friendly pages.
6. You will be marked as a "HowtoForge Supporter" in your forum posts.
7. Plus, you support the ISPConfig development.

If you have the free VMware Server or Player installed, you can import our VMware images and start playing around with the results of our tutorials immediately. It's a great way to track down problems with your own setup or simply to save time. ;-)

More details can be found on http://www.howtoforge.com/subscription.

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Best Regards,

Your HowtoForge Team
Email: info@howtoforge.com
URL: http://www.howtoforge.com

To unsubscribe or update your records, click here: http://newsletter.howtoforge.com/howtoforge/user/update.php?email=matrixunix.ubuntu@blogger.com&code=d8531959c7da2982ec3a7f8f82a13961

Tuesday, February 1, 2011



Google Dethrones Nokia as Leading Smartphone Platform Maker

Posted: 01 Feb 2011 12:36 AM PST

As expected, Google's Android mobile operating system has now eclipsed Nokia's Symbian OS to become the leading smartphone platform in the world. For 10 years, Symbian held the top position so this development is a clear indication that the Linux-based Android has now become the new dominant platform that may rule the industry for years to come.

According to a report by British research firm Canalys, a total of 33.3 million mobile phones (32.9% market share) is running a Google-made platform (includes Android, OMS and Tapas) in the fourth quarter of 2010, compared to 31 million handsets (30.6% share) that runs Symbian. The amazing 615% year over year growth of Android dwarfs Nokia's 30% percent increase and is enough to cause a tectonic shift in the smartphone business.

Global Smartphone Market According to Canalys

HTC Dream, the first Android-powered smartphone, was released only two years ago. Although I anticipated that Android will eventually be very successful (to the point of criticizing a well-known blogger), I never expected that it would happen this fast.

It is predicted that this year, more people will access the Internet via mobile devices than through personal computers such as desktop and laptop computers. With Android leading the field, it goes to show that open platform is better than walled gardens created by companies like Apple and Microsoft.