Tuesday, February 19, 2013

How to make an Apache Server using Linux?

Q. Hi I am using linux debian on an old imac g3. I have gotten the web server up to a point where I can see the 'It Works' page but now what? I want to add Joomla to it but I don't know how to make it load like cpanel does. Help!

A. a) Download Joomla
[code]
cd /var/www
sudo wget -c http://joomlacode.org/gf/download/frsrelease/14659/64120/Joomla_1.6.3-Stable-Full_Package.zip
sudo unzip Joomla_1.6.3-Stable-Full_Package.zip
sudo rm index.html
sudo chown -R www-data:www-data *
[/code]

b) Setup MySQL & phpmyadmin
[code]
sudo apt-get install mysql-server
sudo wget -c http://iweb.dl.sourceforge.net/project/phpmyadmin/phpMyAdmin/3.3.10/phpMyAdmin-3.3.10-all-languages.tar.gz
sudo tar xvfz phpMy*
sudo mv phpMy* phpmyadmin
sudo chown -R www-data:www-data phpmyadmin
sudo mv phpmyadmin/config.sample.inc.php phpmyadmin/config.inc.php
sudo nano phpmyadmin/config.inc.php
[/code]
During the installation, it will ask you for the mysql password. set it, and remember it.

Now,
At this point, add something to the part where it says you need to add something for blowfish authentication. Just type a whole load of random characters.

Press Control + X to save.

visit http://< web server address >/phpmyadmin

login with username 'root' and the password you set before.

Create a new database named "joomla"

Now, visit http://< web server address >
Your database name is the one you just created.
User is "root"
password is the password that you set.

Its not exactly secure to use the root account, but as your only using it for personal purposes, it doesn't matter much.

How do you develop a website with a zip code / City, State lookup?
Q. How do you develop a website with a zip code look up for various stores, and locations? A website similar to Yelp.com?

Also, how much does a website like that cost to make approximately?

Thanks.

A. Use the LAMP stack

Linux as an OS - Cost - free
Apache for a web server - cost - free
MySQL for a database - cost - Free
Use a scripting language like Python, Perl, or PHP to handle the interface between the web page and the HTML pages on the web site - cost - free

Create the web site
Link the clicks and dialog windows to the scripts
set up the database
load your data
Test
Debug
Test
Debug
Test
Debug
......
Some time much later
......
Go Live

Have fun

How do you install a program on linux?
Q. I am new to linux and do not understand the file extensions, i have a tar.gz file that is the Wicd Network Manager because it doesn't work so i am trying to install it because it is not found on the system. How do i go about installing this file.

A. The file tar.gz is a compressed file, much like a .zip file so first you must uncompress it. Usually double clicking in many distros will work.
Then you will have to install it. The methods to do this depend on the linux distro (ubuntu, SUSE, mint, knoppix, red hat, DSL) you are using and the file type (.deb, .sh) that is compressed in the tar.gz file (also called a tarball).
Also, you have to understand what dependencies you need to fulfill to install the program (what libraries you need).
Search the forums for the program you wish to install for the specific linux distribution you are using.
I highly reccomend that you buy a book for your new linux distro. That is how I learned. Linux is not windows, you can't just doubleclick everything you want to install. It makes it harder to install programs but in the end provides a more stable and secure system.



Nec Projector Review

Plastic Shed Reviews

Ati Graphic Reviews

Nurse Uniforms Reviews

Cabochons Reviews

Inflatable Water Slides Reviews

Barcode Scanner Reviews

No comments:

Post a Comment