Skip to main content

Home/ Affiliate Programs: What They're And How They Can Make You Money/ Using XSAS to produce multiple XOOPS internet sites locally
Ashley Andreasen

Using XSAS to produce multiple XOOPS internet sites locally - 0 views

business

started by Ashley Andreasen on 30 Nov 13
  • Ashley Andreasen
     
    This article gives detailed instructions for how to produce numerous XOOPS sites locally applying XSAS (XOOPS Stand Alone Server). I use this information virtually on a daily basis, and I hope you will find it useful, also. As often, I welcome any feedback or suggestions you may have.

    (It's thought that the reader has a basic understanding of folder structures, choice settings, how to perform basic operations in phpMyAdmin, and of course, how to set up XOOPS.)

    1. Create a file on your hard disk called Localhost

    2. To get supplementary information, we understand people glance at: nickvassilev.com. Work the XSAS Setup pro-gram because folder

    3. Create your files in-the www root of XSAS to represent the different sites you will be devel-oping (i.e.: Clients, Personal, etc.)

    4. Get a fresh distro of Xoops in a temperature folder

    5. Backup the file from your Xoops package to the different folders you created in step 3.

    6. Rename the html file to represent the specific site to-be produced (i.e.: Client1, Site2, etc.)

    7. Start the XSAS server on your local machine

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

    9. Create a database that has the same title as the database used for your published website (the site on the Internet)

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

    11. Setup Xoops when you normally would

    12. Put the database name of the site you need to produce inside the proper subject, but set origin as the database login without any password

    13. Ensure you change the pre-fix for the tables to match the database you'll import later (if appropriate)

    14. C-omplete your installation as regular

    15. Export the database from your own site that is on the web into a text file. (Make sure to export it with complete inserts and add 'drop table.' This will guarantee a proper significance later.)

    16. Start the text file in a text editor and execute a find and replace for your url

    (i.e.: Get the Internet url that the site would use o-nline and replace it with the neighborhood url.

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

    Change with: http://localhost/the_directory_where_you_installed_xoops/) Keep your file.

    **The copy and paste method works best for that aformentioned step.**

    17. Open PHPMyAdmin in XSAS and import the database you just modified.

    18. Now test your website out.

    **If you will be devel-oping numerous websites, I've found it quite easy to keep a bookmark of http://localhost and I put in a bookmark for each additional site when I begin development (i.e.: http://localhost/clients/client1, http://localhost/clients/client2, etc. )**

    Now, after you have made all the changes you want to your website locally, you only have a few steps to follow to write your projects online.

    19. You essentially repeat ways 15-18, but rather, you move from localhost's database, alter the sql file to improve the url for the Internet url, and you import the database into the online SQL server.

    **It can also be important to observe that, in case you have added any extra files to your website while creating it locally (i.e.: styles, segments, hackers, etc.), you'll want to add these files to your web server before changing your database.**

    O-n another note. You can only copy the complete Localhost directory onto an USB Pen Drive and take it with you, if you desire to work on your website abroad, if you have setup your neighborhood server when I have discussed. Then all you have to accomplish is merely perform XSAS right from the pen travel on any Win-dows 98 and above system. This method works quite nicely for lightweight develop-ment and demonstration, since XSAS always produces a personal w: drive.

    This short article mainly centers around XSAS and XOOPS, however, similar measures may be used for content management system and virtaully any standalone server application. These two were used as it is really a combination I understand to become fairly bug-free and simple to use.

To Top

Start a New Topic » « Back to the Affiliate Programs: What They're And How They Can Make You Money group