MySQL can support multiple databases in a single installation, so the my_archive database must be created explicitly. For this example, we’ll assume the database is to be named my_archive. If you decide to use the root account, set _CA_DB_USER_ to “root”, leave _CA_DB_PASSWORD_ blank and set _CA_DB_DATABASE_ to the name you’ll use for your database. It’s generally insecure to leave this account password-less, but in a testing environment this may not matter. Redis is faster and more reliable than the default file-based caching system, but requires Redis to be running on the server.īy default dnf installs the MySQL database server with an all-access, password-less administrative account named root. You may also set _CA_CACHE_BACKEND_ to “Redis” to use the Redis memory-based cache system. This will allow you to receive full error messages on screen if something goes wrong. You should also edit the _CA_STACKTRACE_ON_EXCEPTION_ to be true. You may want to edit other settings, which are described by notes within setup.php. At a minimum you will need to edit the database login settings _CA_DB_USER_, _CA_DB_PASSWORD_, _CA_DB_DATABASE_. To install Apache enter in the terminal:Įdit setup.php, changing settings to suit. You can also install nginx, a popular alternative to Apache if desired, although the web-server specific configuration will differ from that described here. We assume use of sudo and include it whenever it is required.įirst we install a web server. You can either log in as the root user, or (preferably) run the commands using sudo, which executes commands as the root user for authorized users. Many of the commands required for installation must be run as the root (administrative) user. To start bring up a command line terminal on your CentOS system. These required packages, all of which are standard parts of the CentOS distribution, can be installed using the dnf package manager. The instructions provided here should work for either CentOS or Red Hat Enterprise Linux.ĬollectiveAccess relies on a number of open-source software packages to run such as MySQL (database server), PHP (programming lanaguage) and Apache or nginx (web server), to name just a few. For purposes of CollectiveAccess installation they are identical. CentOS is a free, community-supported Linux distribution that is functionally compatible with its upstream source, Red Hat Enterprise Linux.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |