{"id":17369,"date":"2015-06-28T15:10:50","date_gmt":"2015-06-28T20:10:50","guid":{"rendered":"https:\/\/secure.rosehosting.com\/blog\/?p=17369"},"modified":"2022-06-03T03:44:18","modified_gmt":"2022-06-03T08:44:18","slug":"install-limesurvey-on-a-centos-vps","status":"publish","type":"post","link":"https:\/\/www.rosehosting.com\/blog\/install-limesurvey-on-a-centos-vps\/","title":{"rendered":"Install LimeSurvey on a CentOS VPS"},"content":{"rendered":"
<\/div>

\"limesurvey\"LimeSurvey (formerly PHPSurveyor) is an open source online survey application. It allows you to develop and publish online surveys as well as to collect survey responses from participants without much effort. Today we are going to show you how to install this online survey application on a Linux VPS<\/a>.
\n<\/p>\n

The current version of LimeSurvey offers a huge set of features. The full list of features can be found on the official LimeSurvey website.<\/p>\n

Before we start, make sure that you have PHP 5.3 or a later release installed on your server with mbstring and pdo_mysql or pdo_mysqli enabled. Also, make sure that you have MySQL 4.1.0 or later installed on your server.<\/p>\n

First of all, log in to your CentOS VPS<\/a> via SSH and update all your system software to the latest version using the command:<\/p>\n

yum update<\/pre>\n

Once the update finishes, you can download and extract the latest version of LimeSurvey on your server.<\/p>\n

cd \/opt && wget http:\/\/download.limesurvey.org\/latest-stable-release\/limesurvey206plus-build150619.tar.gz && tar -xzvf limesurvey206plus-build150619.tar.gz<\/pre>\n

At the moment of writing this tutorial, the latest stable version is 2.06. Make sure that you download the latest stable version. The download should take approximately 1-2 minutes depending on your Internet speed.
\nNext, move the extracted files to the \/var\/www\/html\/ directory and change the ownership of the files using the following command:<\/p>\n

mv limesurvey \/var\/www\/html\/ && cd \/var\/www\/html\/ && chown -R apache: limesurvey\/<\/pre>\n

LimeSurvey stores its data into a MySQL database so it is time to create a database, a database user and to set up a password. Log in to your MySQL server:<\/p>\n

mysql -u root -p<\/pre>\n

Once you log in, run the following commands one by one:<\/p>\n

mysql> CREATE DATABASE limesurvey_db;\r\nmysql> GRANT ALL PRIVILEGES on limesurvey_db.* to 'limesurvey_user'@'localhost' identified by 'YoUrPaS$w0rD';\r\nmysql> FLUSH PRIVILEGES;\r\nmysql> exit\r\n<\/pre>\n

It is time to create a new virtual host directive in Apache so you can access the LimeSurvey installation on your server using your domain name.<\/p>\n

nano \/etc\/httpd\/conf\/httpd.conf<\/pre>\n

Add the following lines at the end of the file:<\/p>\n

<VirtualHost *:80>\r\n ServerAdmin admin@yourdomain.com\r\n DocumentRoot \/var\/www\/html\/limesurvey\/\r\n ServerName yourdomain.com\r\n ServerAlias www.yourdomain.com\r\n <Directory \/var\/www\/html\/limesurvey\/>\r\n Options FollowSymLinks\r\n AllowOverride 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

Please replace yourdomain.com with the domain name you like to use for LimeSurvey and make sure that its A record is pointed to your server IP address. Save the file and close it. Restart Apache using the following command:<\/p>\n

\/etc\/init.d\/httpd restart<\/pre>\n

Open your favorite web browser and navigate to your domain name. You should be welcomed by the LimeSurvey online installation screen. Here, you need to follow the instructions to set up LimeSurvey.<\/p>\n

Once you finish the installation you can access the admin section at:<\/p>\n

http:\/\/yourdomain.com\/admin<\/pre>\n

A good way to start using LimeSurvey is to read the user manual available on the official LimeSurvey website.<\/p>\n

<\/pre>\n

Of course you don\u2019t have to do any of this if you use one of our Linux VPS hosting services, in which case you can simply ask our expert Linux admins to install LimeSurvey for you. They are available 24\u00d77 and will take care of your request immediately.<\/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":"

LimeSurvey (formerly PHPSurveyor) is an open source online survey application. It allows you to develop and publish online surveys as … <\/p>\n

Read More<\/a><\/p>\n","protected":false},"author":4,"featured_media":17370,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1699,13],"tags":[846,847],"yoast_head":"\nInstall LimeSurvey on a CentOS VPS - RoseHosting<\/title>\n<meta name=\"description\" content=\"Install LimeSurvey on a CentOS VPS - RoseHosting\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.rosehosting.com\/blog\/install-limesurvey-on-a-centos-vps\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Install LimeSurvey on a CentOS VPS - RoseHosting\" \/>\n<meta property=\"og:description\" content=\"Install LimeSurvey on a CentOS VPS - RoseHosting\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.rosehosting.com\/blog\/install-limesurvey-on-a-centos-vps\/\" \/>\n<meta property=\"og:site_name\" content=\"RoseHosting\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/RoseHosting\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/rosehosting.helpdesk\" \/>\n<meta property=\"article:published_time\" content=\"2015-06-28T20:10:50+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-06-03T08:44:18+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2015\/06\/limesurvey.png\" \/>\n\t<meta property=\"og:image:width\" content=\"165\" \/>\n\t<meta property=\"og:image:height\" content=\"128\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Jeff Wilson\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@rosehosting\" \/>\n<meta name=\"twitter:site\" content=\"@rosehosting\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Jeff Wilson\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.rosehosting.com\/blog\/install-limesurvey-on-a-centos-vps\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.rosehosting.com\/blog\/install-limesurvey-on-a-centos-vps\/\"},\"author\":{\"name\":\"Jeff Wilson\",\"@id\":\"https:\/\/www.rosehosting.com\/blog\/#\/schema\/person\/7ce77a842fa6a9a7f8efa186f2353713\"},\"headline\":\"Install LimeSurvey on a CentOS VPS\",\"datePublished\":\"2015-06-28T20:10:50+00:00\",\"dateModified\":\"2022-06-03T08:44:18+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.rosehosting.com\/blog\/install-limesurvey-on-a-centos-vps\/\"},\"wordCount\":472,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.rosehosting.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.rosehosting.com\/blog\/install-limesurvey-on-a-centos-vps\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2015\/06\/limesurvey.png\",\"keywords\":[\"install limesurvey centos\",\"limesurvey linux vps\"],\"articleSection\":[\"CentOS\",\"Tutorials\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.rosehosting.com\/blog\/install-limesurvey-on-a-centos-vps\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.rosehosting.com\/blog\/install-limesurvey-on-a-centos-vps\/\",\"url\":\"https:\/\/www.rosehosting.com\/blog\/install-limesurvey-on-a-centos-vps\/\",\"name\":\"Install LimeSurvey on a CentOS VPS - RoseHosting\",\"isPartOf\":{\"@id\":\"https:\/\/www.rosehosting.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.rosehosting.com\/blog\/install-limesurvey-on-a-centos-vps\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.rosehosting.com\/blog\/install-limesurvey-on-a-centos-vps\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2015\/06\/limesurvey.png\",\"datePublished\":\"2015-06-28T20:10:50+00:00\",\"dateModified\":\"2022-06-03T08:44:18+00:00\",\"description\":\"Install LimeSurvey on a CentOS VPS - RoseHosting\",\"breadcrumb\":{\"@id\":\"https:\/\/www.rosehosting.com\/blog\/install-limesurvey-on-a-centos-vps\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.rosehosting.com\/blog\/install-limesurvey-on-a-centos-vps\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.rosehosting.com\/blog\/install-limesurvey-on-a-centos-vps\/#primaryimage\",\"url\":\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2015\/06\/limesurvey.png\",\"contentUrl\":\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2015\/06\/limesurvey.png\",\"width\":165,\"height\":128},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.rosehosting.com\/blog\/install-limesurvey-on-a-centos-vps\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.rosehosting.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Install LimeSurvey on a CentOS VPS\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.rosehosting.com\/blog\/#website\",\"url\":\"https:\/\/www.rosehosting.com\/blog\/\",\"name\":\"RoseHosting\",\"description\":\"Premium Linux Tutorials Since 2001\",\"publisher\":{\"@id\":\"https:\/\/www.rosehosting.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.rosehosting.com\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.rosehosting.com\/blog\/#organization\",\"name\":\"RoseHosting\",\"url\":\"https:\/\/www.rosehosting.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.rosehosting.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2022\/03\/android-chrome-192x192-1.png\",\"contentUrl\":\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2022\/03\/android-chrome-192x192-1.png\",\"width\":192,\"height\":192,\"caption\":\"RoseHosting\"},\"image\":{\"@id\":\"https:\/\/www.rosehosting.com\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/RoseHosting\",\"https:\/\/x.com\/rosehosting\",\"https:\/\/www.linkedin.com\/in\/rosehosting\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.rosehosting.com\/blog\/#\/schema\/person\/7ce77a842fa6a9a7f8efa186f2353713\",\"name\":\"Jeff Wilson\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.rosehosting.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/09271207587f897ab46faaed9b355252?s=96&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/09271207587f897ab46faaed9b355252?s=96&r=g\",\"caption\":\"Jeff Wilson\"},\"description\":\"An experienced Linux veteran with many years of experience. Helping other Linux admins with frequent Linux and business-related blog posts on the RoseHosting blog. Techie by choice. Loving nature and travel. Happily married and father of two lovely children.\",\"sameAs\":[\"https:\/\/www.rosehosting.com\",\"https:\/\/www.facebook.com\/rosehosting.helpdesk\"],\"url\":\"https:\/\/www.rosehosting.com\/blog\/author\/jwilson\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Install LimeSurvey on a CentOS VPS - RoseHosting","description":"Install LimeSurvey on a CentOS VPS - RoseHosting","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.rosehosting.com\/blog\/install-limesurvey-on-a-centos-vps\/","og_locale":"en_US","og_type":"article","og_title":"Install LimeSurvey on a CentOS VPS - RoseHosting","og_description":"Install LimeSurvey on a CentOS VPS - RoseHosting","og_url":"https:\/\/www.rosehosting.com\/blog\/install-limesurvey-on-a-centos-vps\/","og_site_name":"RoseHosting","article_publisher":"https:\/\/www.facebook.com\/RoseHosting","article_author":"https:\/\/www.facebook.com\/rosehosting.helpdesk","article_published_time":"2015-06-28T20:10:50+00:00","article_modified_time":"2022-06-03T08:44:18+00:00","og_image":[{"width":165,"height":128,"url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2015\/06\/limesurvey.png","type":"image\/png"}],"author":"Jeff Wilson","twitter_card":"summary_large_image","twitter_creator":"@rosehosting","twitter_site":"@rosehosting","twitter_misc":{"Written by":"Jeff Wilson","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.rosehosting.com\/blog\/install-limesurvey-on-a-centos-vps\/#article","isPartOf":{"@id":"https:\/\/www.rosehosting.com\/blog\/install-limesurvey-on-a-centos-vps\/"},"author":{"name":"Jeff Wilson","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/person\/7ce77a842fa6a9a7f8efa186f2353713"},"headline":"Install LimeSurvey on a CentOS VPS","datePublished":"2015-06-28T20:10:50+00:00","dateModified":"2022-06-03T08:44:18+00:00","mainEntityOfPage":{"@id":"https:\/\/www.rosehosting.com\/blog\/install-limesurvey-on-a-centos-vps\/"},"wordCount":472,"commentCount":0,"publisher":{"@id":"https:\/\/www.rosehosting.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/install-limesurvey-on-a-centos-vps\/#primaryimage"},"thumbnailUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2015\/06\/limesurvey.png","keywords":["install limesurvey centos","limesurvey linux vps"],"articleSection":["CentOS","Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.rosehosting.com\/blog\/install-limesurvey-on-a-centos-vps\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.rosehosting.com\/blog\/install-limesurvey-on-a-centos-vps\/","url":"https:\/\/www.rosehosting.com\/blog\/install-limesurvey-on-a-centos-vps\/","name":"Install LimeSurvey on a CentOS VPS - RoseHosting","isPartOf":{"@id":"https:\/\/www.rosehosting.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.rosehosting.com\/blog\/install-limesurvey-on-a-centos-vps\/#primaryimage"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/install-limesurvey-on-a-centos-vps\/#primaryimage"},"thumbnailUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2015\/06\/limesurvey.png","datePublished":"2015-06-28T20:10:50+00:00","dateModified":"2022-06-03T08:44:18+00:00","description":"Install LimeSurvey on a CentOS VPS - RoseHosting","breadcrumb":{"@id":"https:\/\/www.rosehosting.com\/blog\/install-limesurvey-on-a-centos-vps\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.rosehosting.com\/blog\/install-limesurvey-on-a-centos-vps\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.rosehosting.com\/blog\/install-limesurvey-on-a-centos-vps\/#primaryimage","url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2015\/06\/limesurvey.png","contentUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2015\/06\/limesurvey.png","width":165,"height":128},{"@type":"BreadcrumbList","@id":"https:\/\/www.rosehosting.com\/blog\/install-limesurvey-on-a-centos-vps\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.rosehosting.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Install LimeSurvey on a CentOS VPS"}]},{"@type":"WebSite","@id":"https:\/\/www.rosehosting.com\/blog\/#website","url":"https:\/\/www.rosehosting.com\/blog\/","name":"RoseHosting","description":"Premium Linux Tutorials Since 2001","publisher":{"@id":"https:\/\/www.rosehosting.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.rosehosting.com\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.rosehosting.com\/blog\/#organization","name":"RoseHosting","url":"https:\/\/www.rosehosting.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2022\/03\/android-chrome-192x192-1.png","contentUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2022\/03\/android-chrome-192x192-1.png","width":192,"height":192,"caption":"RoseHosting"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/RoseHosting","https:\/\/x.com\/rosehosting","https:\/\/www.linkedin.com\/in\/rosehosting\/"]},{"@type":"Person","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/person\/7ce77a842fa6a9a7f8efa186f2353713","name":"Jeff Wilson","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/09271207587f897ab46faaed9b355252?s=96&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/09271207587f897ab46faaed9b355252?s=96&r=g","caption":"Jeff Wilson"},"description":"An experienced Linux veteran with many years of experience. Helping other Linux admins with frequent Linux and business-related blog posts on the RoseHosting blog. Techie by choice. Loving nature and travel. Happily married and father of two lovely children.","sameAs":["https:\/\/www.rosehosting.com","https:\/\/www.facebook.com\/rosehosting.helpdesk"],"url":"https:\/\/www.rosehosting.com\/blog\/author\/jwilson\/"}]}},"_links":{"self":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/17369"}],"collection":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/comments?post=17369"}],"version-history":[{"count":3,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/17369\/revisions"}],"predecessor-version":[{"id":33544,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/17369\/revisions\/33544"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/media\/17370"}],"wp:attachment":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/media?parent=17369"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/categories?post=17369"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/tags?post=17369"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}