{"id":18101,"date":"2015-11-27T15:53:02","date_gmt":"2015-11-27T21:53:02","guid":{"rendered":"https:\/\/www.rosehosting.com\/blog\/?p=18101"},"modified":"2022-06-03T03:44:02","modified_gmt":"2022-06-03T08:44:02","slug":"install-invoiceplane-on-a-centos-vps","status":"publish","type":"post","link":"https:\/\/www.rosehosting.com\/blog\/install-invoiceplane-on-a-centos-vps\/","title":{"rendered":"Install InvoicePlane on CentOS"},"content":{"rendered":"
First of all, connect to your server via SSH and upgrade all your system software to the latest version available.<\/p>\n The update will take few moments. After it completes, you are ready to proceed with the other steps of this tutorial. Navigate to the ‘\/var\/www\/html’ directory on your server.<\/p>\n Create a directory for InvoicePlane.<\/p>\n Navigate to the newly created direcory.<\/p>\n Now, download the latest version of InvoicePlane from the official website. The current version of InvoicePlane is v1.4.7, so we will download and install the current version.<\/p>\n Next, unzip the InvoicePlane zip archive.<\/p>\n Navigate to the ‘\/var\/www\/html’ directory.<\/p>\n Change the ownership of the InvoicePlane files and directories. The new owner should be your web server. If you are using Apache on your CentOS VPS<\/a> you can use the following command to do that.<\/p>\n Since InvoicePlane uses MySQL database in order to store its data, you need to create a new database. Go ahead and login to your MySQL database.<\/p>\n To create a database, a database user and set up a password, enter the following commands one by one:<\/p>\n Of course, you can use different database name, username and password for your installation.<\/p>\n The last thing you need to do before you move on to the online installation is to create a virtual host for InvoicePlane. Edit your ‘\/etc\/httpd\/conf\/httpd.conf’ file using a text editor of your choice. We are using nano.<\/p>\n Add the following lines:<\/p>\n Do not forget to replace yourdomain.com with your actual domain name. After you finish with the changes, save the file and close it. Restart your Apache web server so the changes can take effect.<\/p>\n If everything is done correctly, you are ready to continue with the online installation. Open your favorite web browser and navigate to<\/p>\n The InvoicePlane setup screen will appear and you will need to choose a language so you can continue with the installation.<\/p>\n If you like to learn how to use InvoicePlane, you have to check the official InvoicePlane documentation.<\/p>\n Of course you don\u2019t 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 InvoicePlane for you. They are available 24\u00d77 and will take care of your request immediately.<\/p>\n PS<\/strong><\/span>. 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":" InvoicePlane is a self-hosted open source application for invoices, clients, quotes and payments management. It is used by many companies … <\/p>\nInvoicePlane is a self-hosted open source application for invoices, clients, quotes and payments management. It is used by many companies and freelancers worldwide to manage their complete billing circle. We will show you how to install InvoicePlane on a Linux VPS<\/a>.
\n<\/p>\nyum update<\/pre>\n
cd \/var\/www\/html\/<\/pre>\n
mkdir invoiceplane<\/pre>\n
cd invoiceplane\/<\/pre>\n
wget https:\/\/invoiceplane.com\/download\/v1.4.7<\/pre>\n
unzip v1.4.7*<\/pre>\n
cd \/var\/www\/html\/<\/pre>\n
chown -R apache: invoiceplane\/<\/pre>\n
mysql -u root -p<\/pre>\n
mysql> CREATE DATABASE invoiceplane;\r\nmysql> GRANT ALL PRIVILEGES ON invoiceplane.* TO 'invoiceplane'@'localhost' IDENTIFIED BY 'YoUrPaSsWoRd';\r\nmysql> FLUSH PRIVILEGES;\r\nmysql> \\q\r\n<\/pre>\n
nano \/etc\/httpd\/conf\/httpd.conf<\/pre>\n
<VirtualHost *:80>\r\n ServerAdmin admin@yourdomain.com\r\n DocumentRoot \/var\/www\/html\/invoiceplane\r\n ServerName yourdomain.com\r\n ServerAlias www.yourdomain.com\r\n <Directory \/var\/www\/html\/invoiceplane\/>\r\nOptions Indexes FollowSymLinks MultiViews\r\nAllowOverride All\r\nOrder allow,deny\r\nallow from all\r\n <\/Directory>\r\n ErrorLog \/var\/log\/httpd\/yourdomain.com-error_log\r\n CustomLog \/var\/log\/httpd\/yourdomain.com-access_log common\r\n<\/VirtualHost>\r\n<\/pre>\n
http:\/\/yourdomain.com\/setup<\/pre>\n