Difference between revisions of "New Installation"
From GeeklogWiki
(→Folder/File Setup) |
|||
(4 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | + | == Folder/File Setup == | |
− | move the file to your webroot | + | * First [https://www.geeklog.net/downloads/index.php?cid=8 download] the latest Geeklog version |
− | tar -zxvf geeklog*.tar.gz | + | * Download the tarball into any directory. |
− | Change into the | + | * move the file to your webroot |
− | Copy all files to your primary directory with | + | <pre>tar -zxvf geeklog*.tar.gz</pre> |
− | + | * Change into the Geeklog directory | |
+ | <pre>cd geeklog-1.*</pre> | ||
+ | * Copy all files to your primary directory with | ||
+ | <pre>cp -Rf * /home/username/public_html</pre> | ||
+ | * Change the access rights in the directories: | ||
+ | <pre> | ||
chown -R webuser:webuser * | chown -R webuser:webuser * | ||
chmod -R 755 logs | chmod -R 755 logs | ||
Line 12: | Line 17: | ||
chmod -R 755 public_html/images/articles | chmod -R 755 public_html/images/articles | ||
chmod -R 755 pulic_html/images/topics | chmod -R 755 pulic_html/images/topics | ||
− | chmod -R 755 public_html/images/userphotos/ | + | chmod -R 755 public_html/images/userphotos/</pre> |
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | == Database == | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
+ | * Create your MySQL database, MySQL account, grant privileges to MySQL account. | ||
+ | * As root create the MySQL database and access rights: | ||
+ | <pre>$ mysql -u root | ||
mysql> create database geeklog_db; | mysql> create database geeklog_db; | ||
− | |||
mysql>grant all on geeklog.* to geeklog@localhost identified by 'yourgeeklogpassword'; | mysql>grant all on geeklog.* to geeklog@localhost identified by 'yourgeeklogpassword'; | ||
+ | mysql>quit</pre> | ||
− | + | == Install == | |
− | |||
− | |||
− | |||
− | |||
− | login to your page using default Admin/password | + | * run www.yourdomain.foo/admin/install/index.php |
− | change password | + | * follow the instructions |
− | remove directory | + | * login to your page using default Admin/password |
− | public_html/admin/install | + | * change password |
− | + | * remove directory public_html/admin/install |
Latest revision as of 11:55, 12 November 2019
Folder/File Setup
- First download the latest Geeklog version
- Download the tarball into any directory.
- move the file to your webroot
tar -zxvf geeklog*.tar.gz
- Change into the Geeklog directory
cd geeklog-1.*
- Copy all files to your primary directory with
cp -Rf * /home/username/public_html
- Change the access rights in the directories:
chown -R webuser:webuser * chmod -R 755 logs chmod -R 755 backups chmod -R 755 data chmod -R 755 public_html/backend chmod -R 755 public_html/images/articles chmod -R 755 pulic_html/images/topics chmod -R 755 public_html/images/userphotos/
Database
- Create your MySQL database, MySQL account, grant privileges to MySQL account.
- As root create the MySQL database and access rights:
$ mysql -u root mysql> create database geeklog_db; mysql>grant all on geeklog.* to geeklog@localhost identified by 'yourgeeklogpassword'; mysql>quit
Install
- run www.yourdomain.foo/admin/install/index.php
- follow the instructions
- login to your page using default Admin/password
- change password
- remove directory public_html/admin/install