Your Ad Here

How to build LAMP Server

Filed under: by: Network World

Goal:

This document will walk you through the installation of what is known as a "LAMP" Linux, Apache, MySQL and PHP system.

Softwares:

OS: CentOS 5.2
Apache: httpd-2.2.9. tar.gz
MySQL:mysql- 5.0.51b.tar. gz
PHP:php-5.2. 6.tar.gz

Method:

Method: tar-ball

MySQL:

Build and Install MySQL

groupadd mysql

useradd -g mysql -c "MySQL Server" mysql

cd /usr/local/src/ mysql-4.1. 22

chown -R root.root *

./configure --prefix=/usr/ local/mysql --

localstatedir= /usr/local/ mysql/data --disable-maintaine r-mode --with-
mysqld-user= mysql --with-unix- socket-path= /tmp/mysql. sock --without-
comment --without-debug --without-bench

make && make install

Configuring MySQL:

./scripts/mysql_ install_db

chown -R root:mysql /usr/local/mysql

chown -R mysql:mysql /usr/local/mysql/ data

cp support-files/ my-medium. cnf /etc/my.cnf

chown root:sys /etc/my.cnf

chmod 644 /etc/my.cnf

echo "/usr/local/ mysql/lib/ mysql" >> /etc/ld.so.conf

ldconfig

cp ./support-files/ mysql.server /etc/rc.d/init. d/mysql

chmod +x /etc/rc.d/init. d/mysql

/sbin/chkconfig --level 3 mysql on

cd /usr/local/mysql/ bin

ln -s /usr/local/mysql/ bin/* /usr/bin/

Security Issue

Edit /etc/my.cnf and uncomment the line (delete the leading #).

skip-networking

Start MySQL

/etc/rc.d/init. d/mysql start

mysqladmin version

mysqladmin -u root password new-password #replace new-password with

your actual password of your database

Test Mysql

mysql -u root -p #provide password which you set with above command

and you will see mysql prompt

mysql>

drop database test;

use mysql;

delete from db;

delete from user where not (host="localhost" and user="root") ;

flush privileges;

update user set user="sqladmin" where user="root";

flush privileges;

create database foo;

drop database foo;
\q

Build and Installing APACHE:

./configure --prefix=/usr/ local/apache

make && make install

Build and Install PHP:

./configure --with-apxs2= /usr/local/ apache/bin/ apxs --disable-debug --
enable-ftp --enable-inline- optimization --enable-magic- quotes --
enable-mbstring --enable-wddx= shared --enable-xml --with-gd --with-
gettext --with-mysql= /usr/local/ mysql --with-regex= system --with-zlib-
dir=/usr/lib

make && make test && make install

cp php.ini-dist /usr/local/lib/ php.ini

ln -s /usr/local/lib/ php.ini /etc/php.ini

ln -s /usr/local/apache/ conf/httpd. conf /etc/httpd.conf

vi /etc/httpd.conf #and add these content type in apache conf file

AddType application/ x-httpd-php .php

AddType application/ x-httpd-php- source .phps

DirectoryIndex index.php index.htm index.html

Start Apache

ln -s /usr/local/apache/ bin/apachectl /etc/rc.d/init. d/httpd

ln -s /etc/rc.d/init. d/httpd /etc/rc.d/rc3. d/S90httpd

/etc/rc.d/init. d/httpd start

Linux on the rise

Filed under: by: Network World

The Origin Of Linux Distribution

Filed under: by: Network World

Author: David Shaffer

The Origin Of Linux Distribution, Information About What Is Linux Distribution Or Linux Distro You Should To Know How Linux Group Can Distribute There Linux Distro To Other Before Start To Learning Linux Operating System.

In now the linux operating system that is popular for apply extensively work in the realm of computer, neither will using for desktop or using for server application, in order that, it had to proved that is the like good safety system, very high effective in heavy work, if there has appropriate designing usability already the linux operating system be regarded as best system.

Which work or usability of the linux operating system everything that like the windows operating system, both of installation, system managing, service manager will use the desktop system manage immediately which differ formerly a person who will use linux they need omniscient moderately come to about linux command line but, in now developer on each linux distro can develop for simple usable with the desktop system like windows. So we come to see how developer in each linux distro have distribute linux operating system to other linux user.

"Linux Distribution" or call briefly that is "Linux Distro" which born from
the requirement Distribute Linux Operating System go to the favor extensively. The "Distribution" word is the extensively meaning there is appear in every the society, there is person group want to announce the idea of oneself goes out to others.

For linux distro that is person group they want to announce linux operating
system to others turn to take an interest and lead the linux operating system to be usable more and more extensively there. The power adds that make up the linux distro that have as follows.

First, because of in the age at linux start the internet system still have a few speed extremely then not convenient to download linux kernel and all
linux components come to set up because more will fully completed download it get time long ago. So, CD-ROM saller group for sets up a linux program then important duty first of linux distribution.

The second points, is in the age at this first also at all program at the
components of linux operating system still during of development goes to
according to one's ability of program developer from the worldwide, thus
leading linux to usable have rather a little moderately, So mostly software
that distribute then is in "source code" which the lead will go to usable
must use the technical step that calls "Program Compilation" then make not
convenient or almost impossible to build the favor happen in group of
newcomer users quickly follows the aim of linux distribution. So the linux
distro group must prepare operating system software of oneself are in fully
use actually then get achieve.

The third points, that is the hard step for linux operating system
installation must touch redesign for easyly most don't differ from order
calling setup command in windows installation, including setting all the
usability and refining the system for just boot with Linux CD-ROM and click
next go to continually already you will have linux operating system that want, simple that is linux distro must making usability linux get into simple for general person.

So, linux distribution then group of person are the organization there is the objective to announce the operating system that uses linux for kernel to general person to extensively usability by operate beneath the regulation of the OpenSource community and FREE Software which in now have linux distribution increase greatly.

This is the some basic informations about the origin of linux operating system and how to linux distro can distributed to the other linux users. Linux learning it is easiest, in now vendor of each linux distro they has created it for easy to use and easy fast installation with step by step, So you can learn and working with linux operating system same the windows os.

About Author

David Shaffer is an Network & System Engineer And Have Over 10 years Experience Of Networking Systems & Operating Systems. He Has More Linux Information And Resources For Your Learning at http://www.redhatcert.com/

Article Source: http://www.1888articles.com

Windows Vs. Linux

Filed under: by: Network World

Author: Pro.jaguarpc

Windows Vs. Linux Jaguarpc.com Web Hosting offers you the choice of Linux and Windows. Both Platform will work on any pc and are capable of powering of your website. Linux or Windows… Which one is best for you?

Please Note:

One of the biggest misconceptions is that you have to select the same operating system for your hosting account that you use on your own computer. That is simply not true.

The operating system that you use on your computer does not need to govern your choice of hosting platform. All Jaguarpc.com PHP hosting packages come with FTP access and a wide range of web page publishing options. If, for example, your computer runs on Microsoft Windows, you are not obligated to choose Windows web hosting.

Both technologies are suitable for beginners, professional web developers, and everyone in between, but it is essential to choose the technology that is more suited to your style of web building. Each technology has its own distinct advantages for users.

Windows Hosting Microsoft should be your choice of platform if you plan on utilizing Active Server Pages or other Microsoft applications to design your web pages. This platform delivers reduced development time and better functionality for databases.

One of the main advantages for choosing the Microsoft platform is the ability to use ASP, ASP .NET, and Access databases to use in building your web site. ASP and ASP .NET provide a rapid, scalable, and efficient development environment to build your web site. These tools, along with MS Access will allow you to make your web site dynamic and interactive.

This platform is also a suitable alternative if you are developing static HTML based web sites, or sites that incorporate Macromedia Flash or other client-side scripting technologies.

We recommend you choose Windows 2003 as your hosting platform if you are using specific applications that require Microsoft Windows to run such as Access, ASP, ASP .NET, or Microsoft SQL Server.

Note: Microsoft FrontPage can be used on both the Linux and Windows platforms.

Linux Hosting Linux is widely considered to be the best operating system for web hosting servers. Characteristically reliable, stable and efficient, Linux has been proven in the most demanding web and mail server environments.

If you plan to incorporate work that uses PHP, Perl or MySQL, Linux is the solution you should choose. Linux is also ideal for the kind of websites that display information as a brochure, in newsletter format or as data sheets. Linux works well for 'brochure-ware' sites that offer interaction via inquiry forms, online purchasing and other e-commerce functions.

Essential programs such as Microsoft FrontPage can also be successfully used with Linux technology. In fact, FrontPage Extensions are offered with Jaguarpc.com Linux hosting packages. Linux is an excellent operating system that is well suited to meet your web hosting needs. Additionally, there are a huge amount of free applications available on the Internet for Linux and it uses less hardware resources than Windows 2003.

About Author

JaguarPC, the world's most trusted and experienced hosting company,
delivers superior service to clients through its cost-effective, high-value services model. JaguarPC’s core portfolio comprises information technology and business hosting services, as well as programming services.

Article Source: http://www.1888articles.com