{"id":3247,"date":"2014-03-10T15:28:34","date_gmt":"2014-03-10T20:28:34","guid":{"rendered":"https:\/\/secure.rosehosting.com\/blog\/?p=3247"},"modified":"2022-06-03T03:47:04","modified_gmt":"2022-06-03T08:47:04","slug":"how-to-install-modx-on-a-linux-vps-with-nginx","status":"publish","type":"post","link":"https:\/\/www.rosehosting.com\/blog\/how-to-install-modx-on-a-linux-vps-with-nginx\/","title":{"rendered":"How to install MODX on a Linux VPS with Nginx"},"content":{"rendered":"<div id=\"bsf_rt_marker\"><\/div><p><a href=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2014\/02\/modx.png\"><img decoding=\"async\" class=\"alignleft size-medium wp-image-3251\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2014\/02\/modx-300x114.png\" alt=\"modx cms\" width=\"300\" height=\"114\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2014\/02\/modx-300x114.png 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2014\/02\/modx.png 450w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>MODX is an easy-to-use and one of the best free CMS platforms available on the Internet. Also, it is a\u00a0web application framework which provides the web designers with easy to learn and use set of tools to build the websites they want. In this step-by-step tutorial, we will show you how to easily install MODX on your Linux based <a title=\"Linux VPS Hosting\" href=\"https:\/\/www.rosehosting.com\/managed-vps-hosting.html\" target=\"_blank\" rel=\"noopener noreferrer\">virtual server<\/a>.<\/p>\n<p><!--more--><br \/>\nAt the time of writing this tutorial, the latest stable version is\u00a0MODX 2.2.11-pl and it requires:<\/p>\n<ul>\n<li>\u00a0\u00a0\u00a0 PHP &gt;= 5.1.2 (the php-fpm package is required for Nginx servers) with the following PHP extensions enabled: cURL, GD Graphics Library version, ImageMagick, JSON (or PECL library), pdo_mysql, SimpleXML, and Zlib. Also, safe mode, register globals and magic quotes settings should be disabled;<\/li>\n<li>\u00a0\u00a0\u00a0 MySQL &gt;= 4.1.20+ installed on your <a title=\"Linux VPS Hosting\" href=\"https:\/\/www.rosehosting.com\/managed-vps-hosting.html\" target=\"_blank\" rel=\"noopener noreferrer\">Linux virtual server<\/a>.<\/li>\n<\/ul>\n<p>In order to install Nginx and PHP-FPM on your Linux based <a title=\"Linux VPS Hosting\" href=\"https:\/\/www.rosehosting.com\/managed-vps-hosting.html\" target=\"_blank\" rel=\"noopener noreferrer\">virtual server<\/a> , add the following repos:<\/p>\n<pre>rpm -Uvh http:\/\/mirror.pnl.gov\/epel\/6\/x86_64\/epel-release-6-8.noarch.rpm\r\nrpm -Uvh http:\/\/rpms.famillecollet.com\/enterprise\/remi-release-6.rpm\r\n\r\nvi \/etc\/yum.repos.d\/nginx.repo\r\n\r\n[nginx]\r\nname=nginx repo\r\nbaseurl=http:\/\/nginx.org\/packages\/centos\/$releasever\/$basearch\/\r\ngpgcheck=0\r\nenabled=1<\/pre>\n<p>Remove Apache and install Nginx and PHP-FPM:<\/p>\n<pre>yum remove httpd*\r\nyum --enablerepo=remi,remi-php55 install nginx php-fpm php-common php-pdo php-gd php-mysqlnd php-xml php-mbstring php-mcrypt php-curl<\/pre>\n<p>Set Nginx and\u00a0PHP-FPM services to automatically start when the server boots:<\/p>\n<pre>chkconfig --levels 235 php-fpm on\r\nchkconfig --levels 235 nginx on<\/pre>\n<p>Edit the &#8216;\/etc\/php-fpm.d\/www.conf&#8217; php-fpm configuration file and replace &#8216;apache&#8217; in the user and group with &#8216;nginx&#8217;:<\/p>\n<pre>user = nginx\r\ngroup = nginx<\/pre>\n<p>Execute the following command:<\/p>\n<pre>chgrp nginx -R \/var\/lib\/php\/<\/pre>\n<p>Download\u00a0MODX available at\u00a0http:\/\/modx.com\/download\/ to the server and extract it using the following commands:<\/p>\n<pre>cd \/root\r\nwget http:\/\/modx.com\/download\/direct\/modx-2.2.11-pl.zip\r\nunzip modx-*.zip -d \/var\/www\/\r\nmv \/var\/www\/modx-2.2.11-pl\/ \/var\/www\/modx\/<\/pre>\n<p>MODX requires a MySQL user and database, so create them by executing the following commands:<\/p>\n<pre>mysql -u root -p\r\nCREATE DATABASE modxdb;\r\nCREATE USER 'modxuser'@'localhost' IDENTIFIED BY 'your-password';\r\nGRANT ALL PRIVILEGES ON modxdb.* TO 'modxuser'@'localhost';\r\nFLUSH PRIVILEGES;\r\nquit<\/pre>\n<p>Edit the php.ini configuration file using the following command:<\/p>\n<pre>vi \/etc\/php.ini<\/pre>\n<p>and add\/modify the following lines:<\/p>\n<pre>memory_limit = 128M\r\ncgi.fix_pathinfo=0\r\nsafe_mode = Off\r\nregister_globals = Off\r\nmagic_quotes_gpc = Off\r\ndate.timezone = \"US\/Central\"<\/pre>\n<p>Execute the following command:<\/p>\n<pre>\/etc\/init.d\/php-fpm restart<\/pre>\n<p>Create a new Nginx configuration file:<\/p>\n<pre>vi \/etc\/nginx\/conf.d\/your-domain.com.conf<\/pre>\n<p>and add the following lines:<\/p>\n<pre>server {\r\nlisten 80;\r\nserver_name www.your-domain.com;\r\nroot \/var\/www\/modx;\r\nindex index.php index.html;\r\naccess_log \/var\/log\/nginx\/your-domain.com-access.log;\r\nerror_log \/var\/log\/nginx\/your-domain.com-error.log;\r\n\r\nclient_max_body_size 30M;\r\n        location \/ {\r\n                root \/var\/www\/modx;\r\n                if (!-e $request_filename) {\r\n                        rewrite ^\/(.*)$ \/index.php?q=$1 last;\r\n                }\r\n        }\r\n        location ~ \\.php$ {\r\n                try_files $uri =404;\r\n                fastcgi_split_path_info ^(.+\\.php)(.*)$;\r\n                fastcgi_pass  127.0.0.1:9000;\r\n                fastcgi_index  index.php;\r\n                fastcgi_param  SCRIPT_FILENAME  $document_root$fastcgi_script_name;\r\n                include fastcgi_params;\r\n                fastcgi_ignore_client_abort on;\r\n                fastcgi_param  SERVER_NAME $http_host;\r\n        }\r\n\r\n        location ~ \/\\.ht {\r\n                deny  all;\r\n        }\r\n}<\/pre>\n<p>Then, restart Nginx for the changes to take effect:<\/p>\n<pre>\/etc\/init.d\/nginx restart<\/pre>\n<p>Create a blank new &#8216;config.inc.php&#8217; file:<\/p>\n<pre>touch \/var\/www\/modx\/core\/config\/config.inc.php<\/pre>\n<p>Make it writable to the webserver user. Also, the webserver user (Nginx) needs to be able to write to \u2018\/core\/packages\u2019, \u2018\/core\/cache\u2019, \u2018\/core\/import\u2019 and \u2018\/core\/export\u2019 directories so you can easily accomplish that by executing the following command:<\/p>\n<pre>chown nginx:nginx -R \/var\/www\/modx\/<\/pre>\n<p>Open http:\/\/your-domain.com\/setup\/index.php in your favorite web browser and follow the easy instructions. Once the installation is complete, it is recommended to delete the &#8216;install&#8217; directory from your server:<\/p>\n<pre># rm -rf \/var\/www\/modx\/install<\/pre>\n<p>Log in at http:\/\/your-domain.com\/manager\/ using the Administrator user credentials and start building the website.<\/p>\n<p><a href=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2014\/02\/modx-install.png\"><img decoding=\"async\" class=\"wp-image-3283 alignnone\" style=\"border: 0px none;\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2014\/02\/modx-install-300x149.png\" alt=\"modx install\" width=\"300\" height=\"149\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2014\/02\/modx-install-300x149.png 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2014\/02\/modx-install.png 600w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>Of course you don\u2019t have to do any of this if you use one of our <a title=\"Linux VPS Hosting\" href=\"https:\/\/www.rosehosting.com\/managed-vps-hosting.html\" target=\"_blank\" rel=\"noopener noreferrer\">Linux VPS Hosting<\/a> services, in which case you can simply ask our expert Linux admins to install MODX for you. They are available 24&#215;7 and will take care of your request immediately.<\/p>\n<p><strong><span style=\"color: #ff0000;\">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<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>MODX is an easy-to-use and one of the best free CMS platforms available on the Internet. Also, it is a\u00a0web &#8230; <\/p>\n<p class=\"read-more-container\"><a title=\"How to install MODX on a Linux VPS with Nginx\" class=\"read-more button\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-modx-on-a-linux-vps-with-nginx\/#more-3247\" aria-label=\"Read more about How to install MODX on a Linux VPS with Nginx\">Read More<\/a><\/p>\n","protected":false},"author":4,"featured_media":3251,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1703,13,1707],"tags":[399,400,401,17],"class_list":["post-3247","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-security","category-tutorials","category-web-servers","tag-install-modx","tag-install-modx-cms","tag-modx-with-nginx","tag-vps-hosting","generate-columns","tablet-grid-50","mobile-grid-100","grid-parent","grid-33"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.5 (Yoast SEO v27.5) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>How to install MODX on a Linux VPS with Nginx | RoseHosting<\/title>\n<meta name=\"description\" content=\"How to install MODX on a Linux VPS with Nginx | 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\/how-to-install-modx-on-a-linux-vps-with-nginx\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to install MODX on a Linux VPS with Nginx\" \/>\n<meta property=\"og:description\" content=\"How to install MODX on a Linux VPS with Nginx | RoseHosting\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-modx-on-a-linux-vps-with-nginx\/\" \/>\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=\"2014-03-10T20:28:34+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-06-03T08:47:04+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2014\/02\/modx.png\" \/>\n\t<meta property=\"og:image:width\" content=\"450\" \/>\n\t<meta property=\"og:image:height\" content=\"171\" \/>\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=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-modx-on-a-linux-vps-with-nginx\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-modx-on-a-linux-vps-with-nginx\\\/\"},\"author\":{\"name\":\"Jeff Wilson\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/person\\\/7ce77a842fa6a9a7f8efa186f2353713\"},\"headline\":\"How to install MODX on a Linux VPS with Nginx\",\"datePublished\":\"2014-03-10T20:28:34+00:00\",\"dateModified\":\"2022-06-03T08:47:04+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-modx-on-a-linux-vps-with-nginx\\\/\"},\"wordCount\":450,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-modx-on-a-linux-vps-with-nginx\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2014\\\/02\\\/modx.png\",\"keywords\":[\"install modx\",\"install modx cms\",\"modx with nginx\",\"vps hosting\"],\"articleSection\":[\"Security\",\"Tutorials\",\"Web Servers\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-modx-on-a-linux-vps-with-nginx\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-modx-on-a-linux-vps-with-nginx\\\/\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-modx-on-a-linux-vps-with-nginx\\\/\",\"name\":\"How to install MODX on a Linux VPS with Nginx | RoseHosting\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-modx-on-a-linux-vps-with-nginx\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-modx-on-a-linux-vps-with-nginx\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2014\\\/02\\\/modx.png\",\"datePublished\":\"2014-03-10T20:28:34+00:00\",\"dateModified\":\"2022-06-03T08:47:04+00:00\",\"description\":\"How to install MODX on a Linux VPS with Nginx | RoseHosting\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-modx-on-a-linux-vps-with-nginx\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-modx-on-a-linux-vps-with-nginx\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-modx-on-a-linux-vps-with-nginx\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2014\\\/02\\\/modx.png\",\"contentUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2014\\\/02\\\/modx.png\",\"width\":450,\"height\":171,\"caption\":\"modx cms\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-modx-on-a-linux-vps-with-nginx\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to install MODX on a Linux VPS with Nginx\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/\",\"name\":\"RoseHosting.com\",\"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\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"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\\\/\"],\"description\":\"RoseHosting is a leading Linux hosting provider, serving thousands of clients world-wide since 2001.\",\"email\":\"info@rosehosting.com\",\"telephone\":\"(314) 275-0414\",\"legalName\":\"Rose Web Services LLC\",\"foundingDate\":\"2001-04-02\",\"numberOfEmployees\":{\"@type\":\"QuantitativeValue\",\"minValue\":\"11\",\"maxValue\":\"50\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/person\\\/7ce77a842fa6a9a7f8efa186f2353713\",\"name\":\"Jeff Wilson\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?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 Premium plugin. -->","yoast_head_json":{"title":"How to install MODX on a Linux VPS with Nginx | RoseHosting","description":"How to install MODX on a Linux VPS with Nginx | 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\/how-to-install-modx-on-a-linux-vps-with-nginx\/","og_locale":"en_US","og_type":"article","og_title":"How to install MODX on a Linux VPS with Nginx","og_description":"How to install MODX on a Linux VPS with Nginx | RoseHosting","og_url":"https:\/\/www.rosehosting.com\/blog\/how-to-install-modx-on-a-linux-vps-with-nginx\/","og_site_name":"RoseHosting","article_publisher":"https:\/\/www.facebook.com\/RoseHosting","article_author":"https:\/\/www.facebook.com\/rosehosting.helpdesk","article_published_time":"2014-03-10T20:28:34+00:00","article_modified_time":"2022-06-03T08:47:04+00:00","og_image":[{"width":450,"height":171,"url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2014\/02\/modx.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":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-modx-on-a-linux-vps-with-nginx\/#article","isPartOf":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-modx-on-a-linux-vps-with-nginx\/"},"author":{"name":"Jeff Wilson","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/person\/7ce77a842fa6a9a7f8efa186f2353713"},"headline":"How to install MODX on a Linux VPS with Nginx","datePublished":"2014-03-10T20:28:34+00:00","dateModified":"2022-06-03T08:47:04+00:00","mainEntityOfPage":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-modx-on-a-linux-vps-with-nginx\/"},"wordCount":450,"commentCount":0,"publisher":{"@id":"https:\/\/www.rosehosting.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-modx-on-a-linux-vps-with-nginx\/#primaryimage"},"thumbnailUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2014\/02\/modx.png","keywords":["install modx","install modx cms","modx with nginx","vps hosting"],"articleSection":["Security","Tutorials","Web Servers"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.rosehosting.com\/blog\/how-to-install-modx-on-a-linux-vps-with-nginx\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-modx-on-a-linux-vps-with-nginx\/","url":"https:\/\/www.rosehosting.com\/blog\/how-to-install-modx-on-a-linux-vps-with-nginx\/","name":"How to install MODX on a Linux VPS with Nginx | RoseHosting","isPartOf":{"@id":"https:\/\/www.rosehosting.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-modx-on-a-linux-vps-with-nginx\/#primaryimage"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-modx-on-a-linux-vps-with-nginx\/#primaryimage"},"thumbnailUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2014\/02\/modx.png","datePublished":"2014-03-10T20:28:34+00:00","dateModified":"2022-06-03T08:47:04+00:00","description":"How to install MODX on a Linux VPS with Nginx | RoseHosting","breadcrumb":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-modx-on-a-linux-vps-with-nginx\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.rosehosting.com\/blog\/how-to-install-modx-on-a-linux-vps-with-nginx\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-modx-on-a-linux-vps-with-nginx\/#primaryimage","url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2014\/02\/modx.png","contentUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2014\/02\/modx.png","width":450,"height":171,"caption":"modx cms"},{"@type":"BreadcrumbList","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-modx-on-a-linux-vps-with-nginx\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.rosehosting.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to install MODX on a Linux VPS with Nginx"}]},{"@type":"WebSite","@id":"https:\/\/www.rosehosting.com\/blog\/#website","url":"https:\/\/www.rosehosting.com\/blog\/","name":"RoseHosting.com","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":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"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\/"],"description":"RoseHosting is a leading Linux hosting provider, serving thousands of clients world-wide since 2001.","email":"info@rosehosting.com","telephone":"(314) 275-0414","legalName":"Rose Web Services LLC","foundingDate":"2001-04-02","numberOfEmployees":{"@type":"QuantitativeValue","minValue":"11","maxValue":"50"}},{"@type":"Person","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/person\/7ce77a842fa6a9a7f8efa186f2353713","name":"Jeff Wilson","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?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\/3247","targetHints":{"allow":["GET"]}}],"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=3247"}],"version-history":[{"count":1,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/3247\/revisions"}],"predecessor-version":[{"id":42239,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/3247\/revisions\/42239"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/media\/3251"}],"wp:attachment":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/media?parent=3247"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/categories?post=3247"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/tags?post=3247"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}