Skip to main content

Home/ Activated Carbon: Interesting Questions Discussed/ Using XSAS to build up multiple XOOPS web sites locally
Carlsen Gylling

Using XSAS to build up multiple XOOPS web sites locally - 0 views

travel

started by Carlsen Gylling on 01 Dec 13
  • Carlsen Gylling
     
    This guide provides detail by detail instructions for how to develop numerous XOOPS sites locally applying XSAS (XOOPS Standalone Server). I use this information pretty much o-n a daily basis, and I hope you find it helpful, too. As often, I welcome any feedback or suggestions you may have.

    (It's believed that the reader has a basic familiarity with directory buildings, choice controls, how to perform basic operations in phpMyAdmin, and of-course, how to put in XOOPS.)

    1. Create a folder on your own drive called Localhost

    2. Work the XSAS Setup program in that file

    3. Produce your folders in the web root of XSAS to represent different internet sites you'll be devel-oping (i.e.: Clients, Personal, etc.)

    4. Remove a brand new distro of Xoops in a temperature folder

    5. Backup the file from your Xoops offer into the various files you created in step 3.

    6. Re-name the html folder to represent this site to be developed (i.e.: Client1, Site2, etc.)

    7. Start the XSAS server on your local machine

    8. Available PHPMyAdmin in the higher level case of the XSAS GUI

    9. Develop a database that's the same title as the database used for your printed site (the site on the Internet)

    10. Open a browser and navigate to http://localhost and select the folder of the website you need to install (ex: http://localhost/clients/somecoweb/). This can start installing Xoops as usual.

    1-1. Setup Xoops while you normally would

    12. Put the database name of-the site you need to produce inside the appropriate area, but set root since the database username without password

    1-3. Be sure you change the prefix for the tables to complement the database you will import later (if applicable)

    14. C-omplete your installation as usual

    1-5. Export the database from your site that's on the Internet in to a text file. (Make sure to move it with total inserts and add 'drop table.' This can insure a suitable significance later.)

    1-6. Start the text file in a text editor and execute a find and replace for your url

    (i.e.: Get the Internet url the site would use on the web and replace it with the neighborhood url.

    ex: Find: http://yourdomain.com/

    Replace with: http://localhost/the_directory_where_you_installed_xoops/) Save your document. Get further on our related portfolio by visiting nickvassilev.com info.

    **The copy and paste technique is most effective for that aformentioned step.**

    1-7. Open PHPMyAdmin in XSAS and import the database you simply modified.

    18. Now check your website out.

    **If you'll be developing multiple sites, I have found it very easy to keep a bookmark of http://localhost and I put in a bookmark for when I start improvement (i.e.: http://localhost/clients/client1, http://localhost/clients/client2, etc. )** each additional site

    Now, after you have made most of the changes you wish to your site locally, you just have a few steps to follow to publish work online.

    19. You essentially repeat steps 15-18, but instead, you move from localhost's database, revise the sql file to improve the url to the Internet url, and you transfer the database into the online SQL server.

    **It can also be important to note that, when you have added any additional files to your website while developing it locally (i.e.: designs, adventures, hacks, etc.), you'll want to distribute these files to your web server prior to updating your database.**

    O-n another note. You can just copy the complete Localhost folder onto an USB Pen Drive and take it with you, if you wish to work on your site abroad, when I have outlined if you have setup your neighborhood host. Then all you've got to complete is just implement XSAS directly from the pen drive on any Windows 98 and above process. Because XSAS often creates a personal w: drive, this method works very well for lightweight development and demonstration.

    This short article primarily centers on XSAS and XOOPS, however, similar measures can be used for content management system and virtaully any standalone server application. As it is just a combination I know to be somewhat bug-free and easy to use both of these were used.

To Top

Start a New Topic » « Back to the Activated Carbon: Interesting Questions Discussed group