MenuCoranto Docs
Coranto LinksPmWiki Home |
Coranto tutorial part 1 - Installing Coranto01-19-2005 04:26 AM by SrNupsenWelcomeCongratulations on choosing Coranto as your Content Management System. Whether you'll be running a small site with news once every month, or a 100,000 hits a day site with a large news database, Coranto will meet all of your needs. The program itself is very flexible through its system of Styles and Profiles, and in addition to this you also have the possibility to download and install numerous addons that add extra options and functionality to the core program. The addons are all very simple to install. Coranto also has a very active community where bugs are reported and fixed, features discussed and help given. Oh, and did I mention it's free? 1. READY?Before installing Coranto, you need to make sure that you and your server are equipped for it. Here are the points you need to verify. If you don't understand one or several of them, ask your server administrator: 1.1 YOURSELF:- You must be familiar with FTP. If you're not, it's easy to learn. Point your browser at http://www.magicz.com/tutorials/FTP.php, which is a good tutorial explaining how to use a program called SmartFTP. 1.2 SERVER OPERATING SYSTEM:NOTE: This does NOT concern the operating system you are running on your own computer, but the one being used on your web server. 1.3 OTHER:Your server must support CGI (Common Gateway Interface) scripts. If your server requires that CGI scripts have a .pl extension, you can simply rename coranto.cgi and viewnews.cgi to coranto.pl and viewnews.pl. No script changes are necessary. DO NOT rename nsettings.cgi or nsbk.cgi, as they are not meant to be run. 2. SET...Installing Coranto is done in 4 steps, of which 2 are relatively easy: 2.1 DOWNLOADING THE CORANTO PACKAGE TO YOUR COMPUTERThe latest release of Coranto can be found at http://www.coranto.org. There you'll also find instructions for upgrading from an older version of Coranto or from Newspro. Just click the "Download" link and save the file to your computer. Then uncompress it in a suitable directory, using WinZip or your favourite decompression program. 2.2 MAKING SMALL BUT NECESSARY CHANGESYou should now open the two files coranto.cgi and viewnews.cgi in a simple text editor (such as Notepad). The first line in each file is #! followed by the path to perl on your server (replace the path that's there with the path you were given by your server administrator). Now save the two files. 2.3 UPLOADING THE CORANTO FILES TO YOUR WEB SITE2.3.1 DIRECTORY AND FILE PLACEMENTNOTE: If you need a quick explanation of the numbers used in the CHMOD commands, see Appendix A. If you will be running Coranto locally on your own PC or server, you may skip the upload part, but do note the directory information given below. First, get hold of a good FTP client. For Windows, I recommend SmartFTP, which is free for non-commercial use and can be found at http://www.smartftp.com. On a Unix server with shell access, you might want to use the ftp command line program (refer to unix documentation for further information). Gftp is also a very decent alternative; and should be easy to obtain from all major Linux distributions. 2.3.2 PERMISSIONSWINDOWS USERS: If you plan to run Coranto on a Windows 2000/NT installation, you normally won't have to set permissions on the files. However, you may need to ask your server administrator to make the files coranto.cgi and viewnews.cgi executable, and crcfg.dat, nsettings.cgi, nsbk.cgi, and newsdat.txt writable. coranto.cgi CHMOD 755 3. GO!!....?3.1 ACCESSING CORANTO.CGI FROM YOUR BROWSERHere comes the test to see whether you have followed instructions well so far. If you have set everything up correctly, you should now be able to run coranto.cgi from your browser. If your domain is http://www.yourdomain.com and you installed Coranto in the cgi-bin/coranto/ sub-directory, then try typing in http://www.yourdomain.com/cgi-bin/coranto/coranto.cgi in the address field of your browser and pressing Enter. 3.2 THE SETUP PROCEDURECongratulations! You are now past the most difficult part of the install, and Coranto will guide you from now on. Log in to Coranto with the user name "setup" (no quotes!) and the password field left blank. You don't need to check the box named "remember password". The setup is quite self-explanatory, but note that you'll not be able to customize anything before you accept the license. As you will see, Coranto tries to guess the path to your files. What a nice feature! Fill in all required information and click "Continue install" until you've finished. Now log in to your Coranto installation with the user name and password you selected during install. APPENDIXES
APPENDIX A: Explanation of permission settingsIn Unix, permissions are set for all files and directories. These permissions decide what actions different people are allowed to take (read, write and so on) on each file and directory. Permissions are set for three types of users: Owner, Group and Other. For more info on this, search the net for a CHMOD tutorial. The following is an explanation of the permission numbers mentioned above, in the case that your FTP client does not support only specifying the numbers when setting permissions: APPENDIX B: Where to go for help?If you're stuck in a situation that's not covered in this tutorial, and have tried EVERYTHING without any luck, then you are welcome to search the forums at APPENDIX C: Credits and licensingThis tutorial is based on the Coranto setup file included in the package, as well as the work of numerous problem solvers in the Coranto support forums. You are permitted to distribute it freely, provided that it's not altered in any way. Neither the author of this document nor the makers of Coranto shall be held responsible for any damage caused by following (or not following) the instructions in this tutorial. |