{"id":17639,"date":"2015-09-22T04:10:51","date_gmt":"2015-09-22T09:10:51","guid":{"rendered":"https:\/\/secure.rosehosting.com\/blog\/?p=17639"},"modified":"2022-12-08T09:41:37","modified_gmt":"2022-12-08T15:41:37","slug":"how-to-install-dotclear-on-a-debian-8-vps","status":"publish","type":"post","link":"https:\/\/www.rosehosting.com\/blog\/how-to-install-dotclear-on-a-debian-8-vps\/","title":{"rendered":"How to Install Dotclear on a Debian 8 VPS"},"content":{"rendered":"
In this tutorial we are going to provide you with step-by-step instructions on how to install Dotclear on a Debian 8 VPS<\/strong>. So, let’s start with the installation procedure. Download the latest version of Dotclear available at \u2018http:\/\/download.dotclear.org\/\u2019 to a directory of your virtual server and extract it using the following commands:<\/p>\n Move the Dotclear installation files to the document root directory defined in the virtual host directive above:<\/p>\n Set the proper ownership of Dotclear files and directories:<\/p>\n Dotclear requires a database to store it’s data, so create a new MySQL database for Dotclear to use and assign a user to it with full permissions:<\/p>\n Create a new virtual host directive in Apache. For example, create a new Apache configuration file named ‘dotclear.conf’ on your virtual server:<\/p>\n Then, run the following command:<\/p>\n Alternatively, use the a2ensite to enable the dotclear.conf configuration in Apache:<\/p>\n Edit the ‘dotclear.conf’ configuration file:<\/p>\n and add the following lines to it:<\/p>\n Restart the Apache web server for the changes to take effect:<\/p>\n Open your favorite web browser and navigate to http:\/\/yourdomain.com . Once you do that, you will be taken to the first page of the Dotclear web installer. Enter the MySQL database information:<\/p>\n Click continue, create an administrator user account, then log in to the Dotclear administration back-end using the newly created account and start managing your Dotclear based blog.<\/p>\n PS<\/span>.<\/strong> If you liked this post please share it with your friends on the social networks using the buttons on the left or simply leave a reply below. Thanks.<\/p>\n","protected":false},"excerpt":{"rendered":" In this tutorial we are going to provide you with step-by-step instructions on how to install Dotclear on a Debian … <\/p>\n
\nDotclear is an open source web publishing software written in PHP, created to allow anyone publish websites, regardless of their technical skills.
\nThis tutorial was tested and written for a Debian VPS<\/a>, but it should work on any Linux distribution.
\n
\nThis install guide assumes that Apache, MySQL and PHP are already installed and configured on your Dotclear virtual server. At the time of writing this tutorial, the latest stable version of Dotclear is 2.8 and it requires:<\/p>\n\n
cd \/opt\/\r\nwget http:\/\/download.dotclear.org\/latest.tar.gz\r\ntar -xvzf latest.tar.gz\r\nmv \/opt\/dotclear\/ \/var\/www\/html\/dotclear\/\r\nchown www-data:www-data -R \/var\/www\/html\/dotclear\/\r\n<\/pre>\n
mv \/opt\/ \/var\/www\/html\/dotclear\/<\/pre>\n
chown -R www-data \/var\/www\/html\/dotclear\/<\/pre>\n
mysql -u root -p\r\nmysql> CREATE DATABASE dotcleardb;\r\nmysql> GRANT ALL PRIVILEGES ON dotcleardb.* TO 'dotclearuser'@'localhost' IDENTIFIED BY 'Y0ur-Passw0rd' WITH GRANT OPTION;\r\nmysql> FLUSH PRIVILEGES;\r\nmysql> quit<\/pre>\n
touch \/etc\/apache2\/sites-available\/dotclear.conf<\/pre>\n
ln -s \/etc\/apache2\/sites-available\/dotclear.conf \/etc\/apache2\/sites-enabled\/dotclear.conf<\/pre>\n
sudo a2ensite dotclear.conf<\/pre>\n
vi \/etc\/apache2\/sites-available\/dotclear.conf<\/pre>\n
<VirtualHost *:80>\r\nServerAdmin admin@yourdomain.com\r\nDocumentRoot \/var\/www\/html\/dotclear\/\r\nServerName yourdomain.com\r\nServerAlias www.yourdomain.com\r\n<Directory \/var\/www\/html\/dotclear\/>\r\nOptions FollowSymLinks\r\nAllowOverride All\r\n<\/Directory>\r\nErrorLog \/var\/log\/apache2\/yourdomain.com-error_log\r\nCustomLog \/var\/log\/apache2\/yourdomain.com-access_log common\r\n<\/VirtualHost><\/pre>\n
systemctl restart apache2.service<\/pre>\n
Database type: MySQLi\r\nDatabase Host Name: localhost\r\nDatabase Name: dotcleardb\r\nDatabase User Name: dotclearuser\r\nDatabase Password: Y0ur-Passw0rd<\/pre>\n
\nThat is it. The installation of Dotclear is complete.
\nOf course you don’t have to do any of this if you use one of our Linux VPS Hosting<\/a> services, in which case you can simply ask our expert Linux admins to install Dotclear<\/strong> for you. They are available 24\u00d77 and will take care of your request immediately.<\/p>\n