{"id":18402,"date":"2016-01-14T15:49:46","date_gmt":"2016-01-14T21:49:46","guid":{"rendered":"https:\/\/www.rosehosting.com\/blog\/?p=18402"},"modified":"2022-06-03T03:43:53","modified_gmt":"2022-06-03T08:43:53","slug":"how-to-install-pixie-on-ubuntu-14-04","status":"publish","type":"post","link":"https:\/\/www.rosehosting.com\/blog\/how-to-install-pixie-on-ubuntu-14-04\/","title":{"rendered":"How to install Pixie on Ubuntu 14.04"},"content":{"rendered":"
Pixie is an open-source web application, based on PHP and MySQL that will help you quickly create your own website. Pixie has been designed to be simple to use and easy to develop for. It is fairly easy to install Pixie on an<\/strong> Ubuntu 14.04 VPS<\/a>. The installation process should take about 5-10 minutes if you follow the very easy steps described below.<\/p>\n At the time of writing this tutorial, Pixie 1.0.4 is the latest stable version available and it requires:<\/p>\n – Apache web server. INSTRUCTIONS:<\/p>\n Login to your VPS via SSH<\/p>\n Update the system<\/p>\n Install MariaDB 10.0<\/p>\n To install MariaDB, run the following command:<\/p>\n Next, we need to create a database for the Pixie installation.<\/p>\n Do not forget to replace \u2018your-password\u2019 with a strong password.<\/p>\n Install Apache2 web server<\/p>\n Install PHP and required PHP modules<\/p>\n To install the latest stable version of PHP version 5 and all necessary modules, run:<\/p>\n Download and extract the latest version of Pixie on your server:<\/p>\n All files have to be readable by the web server, so we need to set the proper ownership:<\/p>\n Create a new virtual host directive in Apache. For example, create a new Apache configuration file named \u2018pixie.conf\u2019 on your virtual server:<\/p>\n Then, add the following lines:<\/p>\n Restart the Apache web server for the changes to take effect:<\/p>\n Open http:\/\/your-domain.com\/ using a web browser and enter your MySQL database username, MySQL database password and MySQL database name and click the ‘Next’ button. On the second step you should choose the language, site url, site name and site type. On the last page, you should create the ‘Super User’ account for Pixie.<\/p>\n That is it. The Pixie installation is now complete. You can access the admin section at:<\/p>\n For security reasons, it is recommended to delete the \u2018\/var\/www\/html\/pixie\/admin\/install\/\u2019 directory once you are done with the installation process.<\/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 Pixie<\/strong> for you. They are available 24\u00d77 and will take care of your request immediately.<\/p>\n PS.<\/span><\/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":" Pixie is an open-source web application, based on PHP and MySQL that will help you quickly create your own website. … <\/p>\n
\n– PHP (version 5.2.3 or higher).
\n– MySQL(version 4.1 or higher) installed on your Linux VPS<\/a>.<\/p>\nssh user@server_IP<\/pre>\n
[user]$ sudo apt-get update && sudo apt-get -y upgrade<\/pre>\n
[user]$ sudo apt-get install -y mariadb-server<\/pre>\n
[user]$ mysql -u root -p\r\n\r\nMariaDB [(none)]> CREATE DATABASE pixie;\r\nMariaDB [(none)]> GRANT ALL PRIVILEGES ON pixie.* TO 'pixieuser'@'localhost' IDENTIFIED BY 'your-password';\r\nMariaDB [(none)]> FLUSH PRIVILEGES;\r\nMariaDB [(none)]> \\q<\/pre>\n
[user]$ sudo apt-get install apache2<\/pre>\n
[user]$ sudo apt-get install php5 libapache2-mod-php5 php5-mcrypt php5-mysql php5-gd php5-curl<\/pre>\n
[user]$ sudo cd \/opt && wget http:\/\/pixie-cms.googlecode.com\/files\/pixie_v1.04.zip\r\n[user]$ sudo unzip pixie_v1.04.zip\r\n[user]$ sudo mv pixie_v1.04\/ \/var\/www\/html\/pixie\/<\/pre>\n
[user]$ sudo chown www-data:www-data -R \/var\/www\/html\/pixie<\/pre>\n
[user]$ sudo touch \/etc\/apache2\/sites-available\/pixie.conf\r\n[user]$ sudo ln -s \/etc\/apache2\/sites-available\/pixie.conf \/etc\/apache2\/sites-enabled\/pixie.conf\r\n[user]$ sudo nano \/etc\/apache2\/sites-available\/pixie.conf<\/pre>\n
<VirtualHost *:80>\r\nServerAdmin admin@yourdomain.com\r\nDocumentRoot \/var\/www\/html\/pixie\/\r\nServerName your-domain.com\r\nServerAlias www.your-domain.com\r\n<Directory \/var\/www\/html\/pixie\/>\r\nOptions FollowSymLinks\r\nAllowOverride All\r\nOrder allow,deny\r\nallow from all\r\n<\/Directory>\r\nErrorLog \/var\/log\/apache2\/your-domain.com-error_log\r\nCustomLog \/var\/log\/apache2\/your-domain.com-access_log common\r\n<\/VirtualHost>\r\n<\/pre>\n
[user]$ sudo service apache2 restart<\/pre>\n
http:\/\/yourdomain.com\/admin<\/pre>\n