Difference between revisions of "New Installation"
From GeeklogWiki
Tokyoahead (talk | contribs) (reformat) |
|||
Line 1: | Line 1: | ||
− | + | == Folder/File Setup == | |
− | move the file to your webroot | + | * First Download the latest Geeklog 1.4x |
− | tar -zxvf geeklog*.tar.gz | + | * Download the tarball into any directory. |
− | Change into the GeekLog directory | + | * 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.4.x</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> |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
+ | == Configure == | ||
+ | * Edit /home/username/public_html/lib-common.php and update your path to the GeekLog files (only one line). | ||
+ | <pre>require_once( '/home/username/config.php' );</pre> | ||
+ | * Edit /home/username/config.php and enter your parameters for: | ||
+ | <pre> | ||
$_DB_host = 'localhost'; | $_DB_host = 'localhost'; | ||
$_DB_name = 'geeklog'; | $_DB_name = 'geeklog'; | ||
Line 31: | Line 30: | ||
$_DB_table_prefix = 'gl_'; | $_DB_table_prefix = 'gl_'; | ||
$_CONF['path'] = '/home/username/public_html/'; | $_CONF['path'] = '/home/username/public_html/'; | ||
+ | </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 | |
− | As root create the mySQL database and access rights: | ||
− | |||
− | $ 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 == | |
− | + | * run www.yourdomain.foo/admin/install/install.php | |
− | www.yourdomain.foo/admin/install/install.php | + | * click on desired options |
− | + | * login to your page using default Admin/password | |
− | click on desired options | + | * change password |
− | + | * remove directory public_html/admin/install | |
− | login to your page using default Admin/password | ||
− | change password | ||
− | remove directory | ||
− | public_html/admin/install | ||
− |
Revision as of 08:41, 1 March 2007
Folder/File Setup
- First Download the latest Geeklog 1.4x
- 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.4.x
- 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/
Configure
- Edit /home/username/public_html/lib-common.php and update your path to the GeekLog files (only one line).
require_once( '/home/username/config.php' );
- Edit /home/username/config.php and enter your parameters for:
$_DB_host = 'localhost'; $_DB_name = 'geeklog'; $_DB_user = 'geeklog'; $_DB_pass = 'your_password'; $_DB_table_prefix = 'gl_'; $_CONF['path'] = '/home/username/public_html/';
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/install.php
- click on desired options
- login to your page using default Admin/password
- change password
- remove directory public_html/admin/install