Leg Lamp
Leg Lamp

Installing Joomla on a Lamp Server
So you want a web site. You want it to be easy to use. You want to be able to update, edit, and manage content on the fly. You’d prefer not to pay an arm and a leg, but you also want to have a number of features in the system like commenting, maybe even a forum.
Your list could go on indefinitely, but let me stop you right here. There is an Open Source Content Management System [CMS] known as Joomla! which can help you. Actually there are any number of systems, free or otherwise, you could use.
I may cover some of those other options later. For now let’s simply assume you’d like a system which could be running in a matter of minutes, has a massive base of add-ons, and a thriving community behind its development and security, the Joomla! Is one of the most thought-free systems around.
We will assume for the sake of this article that you have SSH access to your server, and that you have both a mySQL database and a phpMyAdmin interface. (if you don’t, I’ll be writing walkthroughs shortly.)
Our first step is to create a folder on our web server to hold the install, and eventfully serve our pages. We do this like so:
- Log in to the server via SSH.
- Switch to the the top level where you’d like the install to go.
- cd /var/www/
- Now we need to make the folders for the site. First the main, then the three sub-folders required for our web server to funtion properly.
- mkdir demo.testlive.us
- mkdir demo.testlive.us/cgi-bin
- mkdir demo.testlive.us/html
- mkdir demo.testlive.us/logs
- Now that the folders are created lets add the site to our Domain Name Server.
- Open the file containing the configuration for the testlive.us site.
- nano /var/cache/bind/testlive.us.zone
- Add the proper line to the file; in our case it will be:
- demo IN CNAME mail
- Restart the name server.
- Finally, ping the new sub-domain to ensure everything works as it should; if you use an external name server such as GoDaddy, you’ll need to put the name there as well if the outside world is to view the server.
- With our folders created, and the internal Name Server resolving we need to create the configuration for Apache to serve the site. Because there are many ways to do this I’ll let you find the best means. For myself it woud like so:
- nano /etc/apache2/sites-available/demo.testlive.us
- nano /etc/apache2/sites-available/demo.testlive.us
- Switch to the the top level where you’d like the install to go.
# virtual host for demo.testlive.us
<VirtualHost 192.168.1.5:80>
DocumentRoot /var/www/demo.testlive.us/html/
ScriptAlias /cgi-bin/ “/var/www/demo.testlive.us/cgi-bin/”
ServerAdmin webmaster@wwc-llc.com
ServerName demo.testlive.us
CustomLog /var/www/demo.testlive.us/logs/access.log combined
ErrorLog /var/www/demo.testlive.us/logs/error.log
</VirtualHost>
- Now we need to link it in the enabled sites folder:
ln -s /etc/apache2/sites-available/demo.testlive.us.conf demo.testlive.us - Let’s restart the server and see if things are good…
- Assuming everything went well, let’s get the latestst stable version of Joomla! And download it to the html folder we just tested;
http://www.joomla.org/download.html - Now we extract the files. As with apache there are many ways to do this and I’ll let you choose the one best for you.
- Once extracted we need to set the permissions on the folders.
- First we give the web server ownership of the HTML folder and everything in it:
cd /var/www/demo.testlive.us/ - chown www-data:www-data -R html
- Change to the html folder:
cd html - Now set the permission on the files and folders:
find . -type f -exec chmod 644 {} ;
- First we give the web server ownership of the HTML folder and everything in it:
find . -type d -exec chmod 755 {} ;
- Almost done! Lets make the database the site will use.
- Log in to your phpMyAdmin
- Create a blank database
- Create a user and a secure password
Give your new user all privileges on the database you just created; only that user, and only that database. This will help to isolate access controlling security. Especially if you run multiple e databases on the server.
- Now, our name server, web server, and database server are good to go. Let’s install the thing. In your browser open the URL for the site you configured in “d”.
- Choose your site’s primary language and click Next.
- Assuming the Pre-installation Check passes click Next.
- If it does not you’ll need to address the pieces marked with a red no.
- Review the license.
- On the database configuration tab fill in the data you created “h”.
- There is no need to deal with the advanced configurations here, or the ftp data you see on the next screen because we are using SSH.
- Fill in the site name, your email address, and the password you want to use for the site.
- You can have the system put in sample data if you want, but I prefer to keep the DB clean and not do this. Your call.
- In your SSH shell use this command:
- rm -R installation/
- Final step is to chmod 444 configuration.php
You now have a functioning Joomla! Site you can use for all sorts of things. Next time I’ll tell you how to put data in it.
About the Author
Greetings fellow denizens of the Web, I am the Web Warrior; a Writer, 3d Artist, Photographer, Web Developer, & Man of many Opinions. You have stumbled down a dark hole into the underbelly of the Internet. This site is a collection of snippets from my life covering a number of topics. Should you be interested, this is the place that you can read my opinions throughout The Blog, explore my Photography & Computer Generated Art (CGI), read my Poetry, share in my 20 years of experience using computers, & follow along with my experiences as a dystonic with a Deep Brain Stimulation implant. I hope you find this site interesting at worst, & useful at best.
|
|
Christmas Story 20 Lamp – Desk Leg $37.16 Sure to become an instant conversation piece AND “the gift” of the year, our Christmas Story 20-Inch Leg Lamp is an actual working 1/2-scale replica inspired by the hit movie A Christmas Story! Every detail is the same–right down to the fishnet-clad leg and 10″ fringed lampshade! This lamp features a 4-way switch: top bulb on, leg bulb on, both bulbs on, or off. The top portion of the lamp uses a… |
|
|
Christmas Story Night Light Leg Lamp $6.99 From the classic movie “A Christmas Story” this is a small reproduction of the leg lamp!… |
|
|
A Christmas Story – Leg Lamp Sinatra is portrayed in front of a poster for the Hollywood Bowl in this Carlton Heirloom Christmas ornament. Plays part of All of Me, battery operated, included but not guaranteed…. |
|
|
Leviton 4155-3 Incandescent Lampholder, Bottom Turn Knob Switch, Candle, Medium Base, 660W-250V; 2 Leg Steel Bracket Assembly Pinned To Socket $8.98 Incandescent lampholder, bottom turn knob switch, candle, medium base, 660W-250V; 2 leg steel bracket assembly pinned to socket, 3 3/16 inches overall height, 3/8-27 by 7/16 inch long thread assembled… |
|
|
Leviton 4155-51 Incandescent Lampholder, Bottom Turn Knob Switch, Candle, Medium Base, 660W-250V, 2 Leg Steel Bracket Assembly Pinned to Socket $2.09 1 piece. Hi heat bakelite body for temperatures up to 150 C. Will stand temperatures up to 250 C. on intermediate use. Switch built in open screw terminals. Turn knob is nonremovable. Overall length: 1 5 16″. Bushing length: 3 8″ x .27″ x 11 32″. Wire rec… |
|
|
Clinton Gooseneck Lamp, Chrome Finish … |
|
|
CLINTON LAMP Gooseneck lamp w/5 leg nylon base Item# T-15 $120.00 T-15 19″ BASE 53″-77″ HEIGHT Stable, nylon base Dual wheel casters UL & CSA approved lamp & cord Grounded three-prong, cord Chrome finish pole Inner/outer “cool shade” system Flexible gooseneck arm Uses up to a 60 Watt incandescent bulb (not included) Shipping weight: 17 lbs., in 2 boxes Shipping Charges are dock to dock… |
|
|
Economy Height Adjustable Stool (18-24), 4-Leg, Footring $128.95 Economy Height Adjustable Stool (18-24″), 4-Leg, Footring… |
|
|
Ionic Salt Lamp Feng Shui Halite Egg, Fertility, Life $59.99 Whether you are seeking a decorative devotional collectible for your personal enjoyment, or a very unique gift for those you love, place your orders and you will amazed with our professional service and romantic and unique product! LAMPS come with a deluxe SOLID WOOD BASE. Each lamp will be a unique piece – no two are ever the same – varying in size, shape and colour. Totally natural, hand-crafte… |
|
|
White Rose Tri-Leg Lamp This Romantic Renaissance art was designed by Marie Clament. A delightfully feminime style that evokes dreamy summer nights and English tea parties. Tri-Leg Desk Lamp is approximatly 12 inchs high…. |
|
|
Christmas Story Leg Lamp Stocking $99999.99 Christmas Story Leg Lamp Stocking |
|
|
A Christmas Story Leg Lamp Wall Clock With Swinging Leg $99999.99 A Christmas Story Leg Lamp Wall Clock With Swinging Leg |
|
|
Christmas Story Leg Lamp Lawn Ornament $72.88 Christmas Story Leg Lamp Lawn Ornament |
|
|
Christmas Story Leg Lamp Night Light $99999.99 Christmas Story Leg Lamp Night Light |
|
|
Christmas Story Leg Lamp Head Knocker $14.99 Christmas Story Leg Lamp Head Knocker |
|
|
Christmas Story Leg Lamp 3D Keychain $7.29 Christmas Story Leg Lamp 3D Keychain |
|
|
A Christmas Story Leg Lamp Neck Tie Green With String Lights $99999.99 A Christmas Story Leg Lamp Neck Tie Green With String Lights |
|
|
A Christmas Story Leg Lamp Neck Tie Red With String Lights $99999.99 A Christmas Story Leg Lamp Neck Tie Red With String Lights |
|
|
LAMP $42.99 LAMP |
|
|
Lamp $37 Lamp |
|
|
Lazy Susan 398009 White Wash Wavy Leg Lamp $328.9 we pride ourselves on designing beautiful products and collections, which are a mix of modern and classic home accessories that are both innovative and inviting. lazy susan's collections include products that are elegant handcrafted and uniquely designed to ignite your spirit rejuvenate your senses and inspire your imagination. dimensions: 6″d x 22″h. materials: mango wood. made in thailand |
|
|
Leg Cramps $6.13 Leg Cramps NatraBio Leg Cramps |
|
|
Leg Cramp $7.4 Leg Cramps Hylands Leg Cramp |
|
|
Leg Warmer $26.7 Leg Warmer |
|
|
Sweep The Leg $10.99 Sweep The Leg |
|
|
Shake a Leg! $5.99 Shake a Leg! |
|
|
A Leg to Stand on $17.04 A Leg to Stand on |
|
|
Beetle Leg $6.49 Beetle Leg |
|
|
Leg Ulcers $17.39 Leg Ulcers |
|
|
Leg Pullers $27.38 Leg Pullers |
Filed under lamps by on Sep 22nd, 2008.
Leave a Comment