[ Reload ]   [ Source ]  [ Top | Page List | Search | Recent | Backup | Help ]

Counter: 21718, today: 3, yesterday: 2

Getting Started

What's XOOPS Cube Legacy 2.1

Since you're reading this article, you probably know what XOOPS Cube Legacy is. Let's just make sure you're absolutely clear about it.

The term "XOOPS Cube Legacy" has two components: "XOOPS Cube" and "Legacy". The former refers to the broader framework, to the web application framework that builds your site with ease and security. "Legacy" is the name assigned to a particular module that ties the capabilities of XOOPS with the bright future that XOOPS Cube points to."Legacy" emulates the workings of good part of XOOPS' System module. Because under the XOOPS Cube philosophy, even these things should be handled by modules. That's why you have, in XOOPS Cube, separate modules to manage the system, users, etc.

XOOPS lets you build web sites using the capabilities of the CMS, the system. XOOPS Cube goes far beyond that, letting you build web sites but also letting you build and customize your own CMS. Of course, you can easily build everything from a simple blog to a full fledged community site.

As a web application platform, XOOPS Cube could be thought of as a program or as a set of interwoven PHP scripts. It does its job in an environment usually known as LAMP or WAMP, that is, a set of tools that include an operating system (either Linux or Windows), a web server (usually Apache), a database manager (usually MySQL) and support for a scripting program, in this case the powerful PHP.

Since XOOPS Cube will be constantly evolving, you need to work in a stable environment but also in one that's being updates as frequently as needed. This means that if you want to build your web site using XOOPS Cube, and if you're not an expert, you might prefer to put your site in a hosted environment. You can find thousands of hosting providers by just looking around, and choose among many features that go all the way from free environments to highly-prized sites that give you everything.

When you get to that point, you'll need an FTP client in order to upload whatever files you need to your environment. You'll also need a control panel and access to the database utilities (for instance, phpMyAdmin?).

In a word, to use XOOPS Cube in a robust setting, you will need the hosted environment (LAMP or WAMP), XOOPS Cube's files, an FTP client, your web browser, an Internet link and, above all, a free and open mind to take advantage of this great product's strenghts.

But for the time being, and if you're just beginning, you don't need the intrincacies of an industrial environment, and that is because this tutorial will take advantage of a peculiar product called XAMPP instead of everything mentioned before. XAMPP is an integrated solution to create an operational environment in the realms of your own PC. XAMPP will set a server in your own machine and will give you control over everything you need in order to start. Since this environment will usually be restricted to your own machine, you'll be able to test and test your files and your site before going live. So, good luck!

Xampp Install

Go to the xampp official homepage, where you'll find a downladable file suited to your OS. If you're running under Windows, it's very easy to install and run. After the installation, you'll see a new menu added in your start menu. You may click on SAMPP Control Panel and click the appropriate buttons to start Apache and MySQL.

xampp_control_panel.jpg SIZE:266x133(8.6KB)

There's a couple of things you should have in mind:

  • If you run Skype, the phone application, Apache never starts up, because Skype doesn't allow port 80 to be used, and that's the default port that Apache needs. So the easy way out is to deactivate Skype while you're playing with XAMPP.
    • You can review this using Port check, in the XAMPP menu.
  • Under XP, Vista and some other OS, the security blocking systems may try to block the operation of both Apache and MySQL. If that happens in your case, read carefully the dialogs windows and make sure that you allow the free operation of both the webserver and the database manager.

Once XAMPP is installed and running, you can access several applications locally by writing in your browser this URL: http://localhost/xampp/. Now, your mini-server in your PC can be accessed by anonymous users. A personal firewall or a firewall in the hosting provider can protect your site against anonymous access. Confirm whether your personal firewall is active.

Adjust XAMPP's environment

PHP is available in a wide array of versions. Currently, most hosting providers offer either PHP4 or PHP5. Not every module runs fine under PHP5. If you find problems, you need to tell XAMPP to operate using PHP4. This is very easily accomplished: stop Apache and MySQL, then run (from your start menu options for XAMPP) "PHP Switch". Now start again Apache and MySQL. If you're not runnning Windows, please check the procedure reading XAMPP's documentation.

phpswitch.jpg SIZE:265x135(8.4KB)

Note: To access your database directly, you can access the phpMyAdmin? manager at http://localhost/phpmyadmin/. This will give you a very powerful (and dangerous) tool to handle your database. You might find it necessary under some conditions. For instance, some themes are not well built and might corrupt your installation; you can use phpMyAdmin? to restore the default theme and gain access to your system.

Summary

  • XOOPS Cube, now under the Legacy phase, is a set of PHP scripts that runs on servers that include PHP & MySQL support. Hosting providers can be helpful, if you don't know about them.
  • An intelligent option before paying a hosting provider is to learn the basics of XOOPS Cube using XAMPP, an application that lets you run a hosting environment in the privacy of your own PC.
  • For the time being, PHP4 is still a better choice than PHP5, because some modules are not written well enough to take advantage of PHP5's features. This cen be easily done using XAMPP.

Note

You need to activate a personal fire-wall and etc to block anonymous access to your mini-server of XAMPP. But, ou can do it editing httpd.conf, too.

  1. Open htdocs.
  2. Open its parent directory clicking the up button.
  3. Open apache/conf directory.
  4. Edit httpd.conf file:

Find the following line:

Listen 80

Replase it with the folloing line:

Listen 127.0.0.1:80

Attach file: filexampp_control_panel.jpg 1464 download [Information] filephpswitch.jpg 1456 download [Information]
Reload   Diff Source Attach Attach List   Wiki Top Page List Search Resent Chenges Backup   Help   RSS feed
Page name:XOOPSCubeLegacy/BasicTutorial/GettingStarted
Author:minahito [dUpADjUJaWLY] - 2007/03/02 18:40:44 JST(2826d)
Last edit:Anonymous - 2007/03/02 18:40:44 JST(2826d)
Editers:Registered Users
Back Link:XOOPSCubeLegacy(1236d) BasicTutorial(2842d)

Comment
The comments are owned by the poster. We aren't responsible for their content.

Activity | Contributions



Who's Online
20 user(s) are online (6 user(s) are browsing Wiki)

Members: 0
Guests: 20

more...

Welcome | News | Overview | Documentation | Forum | Tutorialstop
Brasilian | French | German | Greek | Japanese | Korean | Russian | T-Chinese
Powered by XOOPS Cube 2001-2011 The XOOPS Cube Project