User Tools

Site Tools


cms

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
cms [2025/01/17 16:46] 1211112228cms [2025/01/18 08:46] (current) 1211112299
Line 1: Line 1:
 ====== Part 4: Install and Configure Content Management System====== ====== Part 4: Install and Configure Content Management System======
-The [[whatiscms|content management system]] we have chosen is WordPress.+This page will show how to install the WordPress [[whatiscms|Content Management System]]
 + 
 +**Note: This is a guide on how to install and configure CMS on localhost.** 
 +-----
  
 To install WordPress on Debian, we would need to set up a LAMP stack (Linux, Apache, MySQL, PHP). To install WordPress on Debian, we would need to set up a LAMP stack (Linux, Apache, MySQL, PHP).
Line 87: Line 90:
     CustomLog ${APACHE_LOG_DIR}/access.log combined     CustomLog ${APACHE_LOG_DIR}/access.log combined
   </VirtualHost>   </VirtualHost>
 +Press ''Ctrl + X'', ''y'', and ''Enter'' to save.
 {{:wordpress_conf.png?nolink&600|}} {{:wordpress_conf.png?nolink&600|}}
 +  sudo a2ensite wordpress.conf
 +  sudo a2enmod rewrite
 +{{:a2ensite_a2enmod_wordpress.png?nolink&600|}}
 +  sudo systemctl restart apache2
 +{{:restart_apache2.png?nolink&600|}}
 +  sudo nano /var/www/html/wordpress/wp-config.php
 +Make sure your wp-config.php have the contents.
 +{{:wpconfig_php.png?nolink&600|}}
 +  sudo chmod 644 /var/www/html/wordpress/wp-config.php
 +  sudo chown www-data:www-data /var/www/html/wordpress/wp-config.php
 +Make sure the permission is accessible.
 +{{:chmod_chown_wpconfig_php.png?nolink&600|}}
 +
 +Restart Apache2
 +  sudo systemctl restart apache2
 +{{:restart_apache2.png?nolink&600|}}
 +
 +9. Go to ''localhost'' on the browser and now we have the option to Install WordPress.
 +{{:wp1.png?nolink&600|}}
 +
 +Fill up every information needed.
 +\\ {{:wp2.png?nolink&600|}}
 +{{:wp3.png?nolink&600|}}
 +\\ And bam! We now have WordPress working.
 +{{:wp4.png?nolink&600|}}
 +\\ Press the __Log In__ to log in to WordPress Dashboard.
 +
 +Enter the username and password and press Log In.
 +\\ {{:wp5.png?nolink&600|}}
 +{{:wp6.png?nolink&600|}}
 +
 +Let's say we want to publish something.
 +\\ Edit some texts and description. Once done, click publish.
 +{{:wp7.png?nolink&600|}}
 +\\ A sample of published post.
 +\\ {{:wp8.png?nolink&600|}}
 +\\ The post we had posted just now is now in the main WordPress home page.
 +{{:wp9.png?nolink&600|}}
 +-----
 +Congratulations! You have created your very own CMS using WordPress.
cms.1737132361.txt.gz · Last modified: 2025/01/17 16:46 by 1211112228

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki