Where do I start??

Help with getting the CMS CORE package up and running. This does not include 3rd party modules, PHP scripts, anything downloaded via module manager or from any external source.
Locked
Deron

Where do I start??

Post by Deron »

I'm anxious to get started using this CMS, but I honestly do not know where to begin.  I'm completely new to using a CMS and do not have a whole lot of PHP experience.  What does "Untar" to my root dir of my webserver mean?  Where do I create an emply config.php?  How do I CHMOD 666 something?  Can anyone help or point me to some instructions that has some images or a better walk through.  These directions are great if you are already familar with this stuff.  I am not, therefore I'm totally lost here.
Requirements:
    PHP 4+
    MySQL
    Apache webserver (or another php enabled webserver)
    BBCodeParser (optional)


1.  Untar the source package to document root dir or your webserver
        - cd DOCUMENT_ROOT
        - tar xvfz cms-VERSION.tar.gz

----- If your webserver has write access to your new CMS directory you can skip step 2 ------
2.  create an empty config.php file and make it writable by your webserver's user:
        - touch config.php
        - chmod 666 config.php

3.  Create the cms database and grant a user rights to use it:
        - login to mysql: mysql -u root -p
            create database cms;
            grant all privileges on cms.* to cms_user@localhost identified by 'cms_pass';
            quit

4.  Fix the permissions on the cache and template compilation directories so the web server has access to them.
        - chmod 777 tmp/templates_c
- chmod 777 tmp/cache
- chmod 777 uploads
- chmod 777 uploads/images

5.  Open up your new CMS site in your webbrowser and you will be guided through a short install.

6.  After install, for security sake, you should set your config.php back to a read-only state.
        - chmod 444 config.php

7.  To reach the admin of your site, point your browser to: http://yoursiteurl/admin/

Admin features including user management, template management, section management, and of course content management can all be accessed at your CMSROOT/admin.

Optional:

8.  Some setup parameters are set to a default value and are not editable through the webinterface.
    Although CMS works out-of-the-box, you might still want to edit these parameters
   
  - open config.php with you favorite editor (this file has been created by the installer)

    Some of the parameters you can find here are:
   
The image manipulation library used by the Image manager, either 'GD' or 'NetPBM' or 'IM' for ImageMagick.
        - $config["image_manipulation_prog"] = "GD";       
        If the library is NetPBM or IM, you need to specify where the binary for the selected library are.
        -  $config["image_transform_lib_path"] = "/usr/bin/ImageMagick/";
The location (filepath and URL) to which files are uploaded using the filemanager
- $config["uploads_path"] = "/site/web/cms/uploads";
- $config["uploads_url"] = "http://www.cmsmadesimple.org/cms/uploads";
The location (filepath and URL) to which files are uploaded using the imagemanager. This can be the same path as the image manager URL
- $config["image_uploads_path"] = "/site/web/cms/uploads/images";
- $config["image_uploads_url"] = "http://www.cmsmadesimple.org/cms/uploads/images";
    CMS features a realtime HTML validation plugin for the WYSIWYG editor, which will insure valid HTML content
        This is turned off by default, since it will also disable the use of tables and markup tags.
        - $config["use_Indite"] = false;



TNTH

Re: Where do I start??

Post by TNTH »

Untar is for Linux, some windowsusers can handle it too, but try to get a zip-file and unpack it. Now copy the folders and files to your server, make sure you'll have a database ready to use and run: http://yourserver.com/mapinwhichyouinst ... nstall.php The rest is easy :-)
Deron

Re: Where do I start??

Post by Deron »

TNTH wrote: Untar is for Linux, some windowsusers can handle it too, but try to get a zip-file and unpack it. Now copy the folders and files to your server, make sure you'll have a database ready to use and run: http://yourserver.com/mapinwhichyouinst ... nstall.php The rest is easy :-)
Thanks!  I'll give it a try!  So all of that CHMODing stuff is only for Linux users?  Cause I was REAL lost there for a second...what you told me to do was very easy...now I feel like a moron! 
TNTH

Re: Where do I start??

Post by TNTH »

Well, CHMOD can be done by windowsusers too, but in general, it's not needed. For more info you could look at: http://www.zachjorgensen.net/za/chmodtutor.html

Have fun using CMSMS!
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: Where do I start??

Post by calguy1000 »

FYI: ZipGenius is your friend.

I found that ZipGenius (free) is great for windows.  it understands .tar.gz files so the windows users are able to use all the available modules, tools, etc that the unix guys are.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Deron

Still a problem....

Post by Deron »

Okay I've followed the posts of everyone here.  I've uploaded the CMSMS files to my webserver.  And then I've went here: http://yourserver.com/mapinwhichyouinst ... nstall.php (using my server info and file info of course) and all I get is this message:
Cannot create /home/deronsi/public_html/cmsmadesimple/config.php, please change permissions to allow this
Now can someone assist me from this point?
kishman155
Translator
Translator
Posts: 169
Joined: Sat Mar 12, 2005 12:30 pm

Re: Where do I start??

Post by kishman155 »

first you go to the place where you could see these folders:

admin
doc
lib
module
plugin
install

if you see these folders there you have a file called config.php

if you don't have one please creat one with: right click with mouse create new text doc.

Adfter the textfile was Created it is called textdocument.txt or some else.
Rename it  to config.php and change all permission to on with: right click rename and right click  options you change name and permission

now it must work like charm.

!!!!!!!!!!!!!!!!Please change permission to read after you finisched with setup and the Installer says:
Here is your cmssite

Change permissions to read at config.php with: right click with mouse->options->permissions
finish with okay

Kishman155
Deron

I think I'm almost there!

Post by Deron »

Now I get this: 
Make sure you have created your database and granted full privileges to a user to use that database.

For MySQL, use the following:

Log in to mysql from a console and run the following commands:

  1. create database cms; (use whatever name you want here but make sure to remember it, you'll need to enter it on this page)
  2. grant all privileges on cms.* to cms_user@localhost identified by 'cms_pass';

Please complete the following fields:
Database Type: MYSQL (3 and 4.0)
Database host address:  Localhost
Database host port:  3306
Database name:  cms
Username:  cms_user
Password: ********
Table prefix:  cms_
Create Tables (Warning: Deletes existing data)
I tried to go into my webserver (cpanal) and create a database called "cms" as it says to do for number 1 up there at the top but it still didn't work so I assume I'm doing it wrong.

Any help for a noobie again is very much appreciated!
kishman155
Translator
Translator
Posts: 169
Joined: Sat Mar 12, 2005 12:30 pm

Re: Where do I start??

Post by kishman155 »

Have you checked the username and pass for that database?
a nice flashtutorial you find here for creating user

http://www.crucialp.com/resources/tutor ... cpanel.php



if you create databaseuser and password in cpanel check database name and write it into Database name
check database user and write it into Username
check database Password and write it into Password

kishman155
Locked

Return to “[locked] Installation, Setup and Upgrade”