{"id":5015,"date":"2019-01-31T08:50:16","date_gmt":"2019-01-31T08:50:16","guid":{"rendered":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/?p=5015"},"modified":"2020-10-19T10:19:14","modified_gmt":"2020-10-19T10:19:14","slug":"create-the-end-user-access-python-and-ruby-selector","status":"publish","type":"post","link":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/create-the-end-user-access-python-and-ruby-selector\/","title":{"rendered":"How to Create the End User Access for Python and Ruby Selector?"},"content":{"rendered":"<p>The needs of your customers differ from each other. With the Ruby Selector, the end user can select the Ruby version for applications and also install additional modules (gems) to the application environment. Since <strong>Ruby Selector<\/strong> uses <strong>mod_passenger<\/strong> it gives optimum performance.<\/p>\n<p>Let\u2019s see the steps to create end user access for <strong>Python<\/strong> and <strong>Ruby<\/strong> <strong>Selector<\/strong>.<\/p>\n<h3>Create the End User Access for Python Selector<\/h3>\n<p>1. Go to the <strong>Software\/Services<\/strong> section in <strong>cPanel<\/strong> and choose <strong>Select Python App<\/strong>.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-10544\" src=\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-content\/uploads\/2019\/01\/setup-python-app-min.png\" alt=\"\" width=\"955\" height=\"365\" \/><\/p>\n<p>2. Then click on <strong>Create Application<\/strong>.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-10546\" src=\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-content\/uploads\/2019\/01\/create-application-min-1-1024x147.png\" alt=\"\" width=\"1024\" height=\"147\" \/><\/p>\n<p>3. An application form as below will get displayed:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-10548\" src=\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-content\/uploads\/2019\/01\/application-form-min-1024x430.png\" alt=\"\" width=\"1024\" height=\"430\" \/><\/p>\n<ul>\n<li>In the <strong>Python version<\/strong> list box, select the Python version as per your preference.<\/li>\n<li>In the <strong>Application root<\/strong> text box, type the directory where your application files are located.<\/li>\n<li>In the <strong>Application URL<\/strong> list box, select the domain, and then type a URL for the application.<\/li>\n<li>In the <strong><span class=\"textbox\">Application startup file<\/span><\/strong> text box, you can mention the startup file for the application as required.<\/li>\n<\/ul>\n<p><strong>Note:<\/strong> If you do not mention a startup file, cPanel will create a <strong><em>passenger_wsgi.py<\/em><\/strong> startup file for you.<\/p>\n<p>4. In the <strong><span class=\"textbox\">Application Entry point<\/span><\/strong> text box, you can mention the callable object for the application as required.<\/p>\n<div class=\"note msg-box\"><strong>Note:<\/strong> If you do not mention the application entry point, cPanel will create a default <strong>application<\/strong> object for you.<\/div>\n<p>5. In the <strong><span class=\"textbox\">Passenger log file<\/span> <\/strong>text box, you can mention a log file for the application as required.<\/p>\n<p>6. Under <strong><span class=\"UI\">Environment variables<\/span><\/strong>, you can set environment variables for the application as required. For this, click <strong><span class=\"button\">ADD VARIABLE<\/span><\/strong>, type the variable <strong>Name<\/strong> and <strong>Value<\/strong>, and then click <strong><span class=\"button\">DONE<\/span><\/strong>.<\/p>\n<p>7. Go to the top right corner of the page and click <strong>CREATE <\/strong>for creating the application as shown in the above image.<\/p>\n<p>8. cPanel will create the application and set up the Python environment as below.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-10547\" src=\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-content\/uploads\/2019\/01\/application-created-min-1024x457.png\" alt=\"\" width=\"1024\" height=\"457\" \/><\/p>\n<p>9. If you want to work inside the newly created environment, connect to your account via SSH, and then type the below command. Replace <span class=\"variable\">username<\/span>, <span class=\"variable\">application<\/span>, and <span class=\"variable\">version<\/span> with the appropriate values as shown at the top of the page, next to <strong>Enter to the virtual environment. <\/strong><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-10549\" src=\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-content\/uploads\/2019\/01\/vitual-env-min-1024x99.png\" alt=\"\" width=\"1024\" height=\"99\" \/><\/p>\n<p>10. To enter the virtual environment, execute the below command:<\/p>\n<pre class=\"command\">source \/home\/<span class=\"variable\">username<\/span>\/virtualenv\/<span class=\"variable\">application<\/span>\/<span class=\"variable\">version<\/span>\/bin\/activate &amp;&amp; cd \/home\/<span class=\"variable\">username<\/span>\/<span class=\"variable\">application<\/span>\r\n<\/pre>\n<p>11. Now you are free to install modules or use other commands for developing the Python application further. Moreover, you can control the application&#8217;s running state from cPanel:<\/p>\n<ul>\n<li>To stop the application, click <span class=\"button\"><strong>STOP APP<\/strong><\/span>.<\/li>\n<li>To restart the application, click <span class=\"button\"><strong>RESTART<\/strong><\/span>.<\/li>\n<li>To completely remove the application from cPanel, click <span class=\"button\"><strong>DESTROY<\/strong><\/span>.<\/li>\n<\/ul>\n<h3>Create the End User Access for Ruby Selector<\/h3>\n<p>1. Click on the <strong>Setup Ruby App<\/strong>.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-10550\" src=\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-content\/uploads\/2019\/01\/setup-ruby-app-min.png\" alt=\"\" width=\"955\" height=\"365\" \/><\/p>\n<p>2. The below page will get displayed:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-10551\" src=\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-content\/uploads\/2019\/01\/setup-ruby-min-1024x279.png\" alt=\"\" width=\"1024\" height=\"279\" \/><\/p>\n<ul>\n<li>In the <strong>Ruby version<\/strong> field, select the Ruby version as per your needs.<\/li>\n<li>In the <strong>App Directory \/home\/mwadmin\/<\/strong> field, enter the directory name.<\/li>\n<li>In the<strong> App Domain\/URI<\/strong> field, select the domain.<\/li>\n<\/ul>\n<p>3. Then click on <strong>Setup<\/strong>. You will get a message of successful setup once it is done.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-10552\" src=\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-content\/uploads\/2019\/01\/options-to-edit-min-1024x447.png\" alt=\"\" width=\"1024\" height=\"447\" \/><\/p>\n<p>4. In this window, you can edit the <strong>App Directory<\/strong>, <strong>App URI<\/strong> and change the <strong>Ruby version<\/strong>.<\/p>\n<p>5. It is also possible to run simple commands from web interface (e.g. it is possible to install packages from specific repositories or control web applications with the help of django-admin).<\/p>\n<p>This way you can create the end user access for Python and Ruby Selector.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The needs of your customers differ from each other. With the Ruby Selector, the end user can select the Ruby version for applications and also install additional modules (gems) to the application environment. Since Ruby Selector uses mod_passenger it gives optimum performance. Let\u2019s see the steps to create end user access for Python and Ruby [&hellip;]<\/p>\n","protected":false},"author":16,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[577,578,579],"class_list":["post-5015","post","type-post","status-publish","format-standard","placeholder-for-hentry","category-web-hosting-faq","tag-create-end-user-access","tag-python-selector","tag-ruby-selector"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Steps to Create the End User Access for Python and Ruby Selector<\/title>\n<meta name=\"description\" content=\"Steps to create the end user access for Python and Ruby Selector in an easy way.\" \/>\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.milesweb.co.uk\/hosting-faqs\/create-the-end-user-access-python-and-ruby-selector\/\" \/>\n<meta property=\"og:locale\" content=\"en_GB\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Steps to Create the End User Access for Python and Ruby Selector\" \/>\n<meta property=\"og:description\" content=\"Steps to create the end user access for Python and Ruby Selector in an easy way.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/create-the-end-user-access-python-and-ruby-selector\/\" \/>\n<meta property=\"og:site_name\" content=\"Web Hosting FAQs by MilesWeb\" \/>\n<meta property=\"article:published_time\" content=\"2019-01-31T08:50:16+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2020-10-19T10:19:14+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-content\/uploads\/2019\/01\/setup-python-app-min.png\" \/>\n<meta name=\"author\" content=\"Pallavi Godse\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Pallavi Godse\" \/>\n\t<meta name=\"twitter:label2\" content=\"Estimated 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\":\"WebPage\",\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/create-the-end-user-access-python-and-ruby-selector\/\",\"url\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/create-the-end-user-access-python-and-ruby-selector\/\",\"name\":\"Steps to Create the End User Access for Python and Ruby Selector\",\"isPartOf\":{\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/create-the-end-user-access-python-and-ruby-selector\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/create-the-end-user-access-python-and-ruby-selector\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-content\/uploads\/2019\/01\/setup-python-app-min.png\",\"datePublished\":\"2019-01-31T08:50:16+00:00\",\"dateModified\":\"2020-10-19T10:19:14+00:00\",\"author\":{\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#\/schema\/person\/7e3952607fa9eb4e82fea9f7cad9c945\"},\"description\":\"Steps to create the end user access for Python and Ruby Selector in an easy way.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/create-the-end-user-access-python-and-ruby-selector\/#breadcrumb\"},\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/create-the-end-user-access-python-and-ruby-selector\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/create-the-end-user-access-python-and-ruby-selector\/#primaryimage\",\"url\":\"\",\"contentUrl\":\"\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/create-the-end-user-access-python-and-ruby-selector\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Create the End User Access for Python and Ruby Selector?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#website\",\"url\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/\",\"name\":\"Web Hosting FAQs by MilesWeb\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-GB\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#\/schema\/person\/7e3952607fa9eb4e82fea9f7cad9c945\",\"name\":\"Pallavi Godse\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/eefc9695ea2b2c6e143c9c9919701aaa?s=96&d=blank&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/eefc9695ea2b2c6e143c9c9919701aaa?s=96&d=blank&r=g\",\"caption\":\"Pallavi Godse\"},\"description\":\"Pallavi is a Digital Marketing Executive at MilesWeb and has an experience of over 4 years in content development. She is interested in writing engaging content on business, technology, web hosting and other topics related to information technology.\",\"url\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/author\/pallavi\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Steps to Create the End User Access for Python and Ruby Selector","description":"Steps to create the end user access for Python and Ruby Selector in an easy way.","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.milesweb.co.uk\/hosting-faqs\/create-the-end-user-access-python-and-ruby-selector\/","og_locale":"en_GB","og_type":"article","og_title":"Steps to Create the End User Access for Python and Ruby Selector","og_description":"Steps to create the end user access for Python and Ruby Selector in an easy way.","og_url":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/create-the-end-user-access-python-and-ruby-selector\/","og_site_name":"Web Hosting FAQs by MilesWeb","article_published_time":"2019-01-31T08:50:16+00:00","article_modified_time":"2020-10-19T10:19:14+00:00","og_image":[{"url":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-content\/uploads\/2019\/01\/setup-python-app-min.png","type":"","width":"","height":""}],"author":"Pallavi Godse","twitter_misc":{"Written by":"Pallavi Godse","Estimated reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/create-the-end-user-access-python-and-ruby-selector\/","url":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/create-the-end-user-access-python-and-ruby-selector\/","name":"Steps to Create the End User Access for Python and Ruby Selector","isPartOf":{"@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/create-the-end-user-access-python-and-ruby-selector\/#primaryimage"},"image":{"@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/create-the-end-user-access-python-and-ruby-selector\/#primaryimage"},"thumbnailUrl":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-content\/uploads\/2019\/01\/setup-python-app-min.png","datePublished":"2019-01-31T08:50:16+00:00","dateModified":"2020-10-19T10:19:14+00:00","author":{"@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#\/schema\/person\/7e3952607fa9eb4e82fea9f7cad9c945"},"description":"Steps to create the end user access for Python and Ruby Selector in an easy way.","breadcrumb":{"@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/create-the-end-user-access-python-and-ruby-selector\/#breadcrumb"},"inLanguage":"en-GB","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.milesweb.co.uk\/hosting-faqs\/create-the-end-user-access-python-and-ruby-selector\/"]}]},{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/create-the-end-user-access-python-and-ruby-selector\/#primaryimage","url":"","contentUrl":""},{"@type":"BreadcrumbList","@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/create-the-end-user-access-python-and-ruby-selector\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/"},{"@type":"ListItem","position":2,"name":"How to Create the End User Access for Python and Ruby Selector?"}]},{"@type":"WebSite","@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#website","url":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/","name":"Web Hosting FAQs by MilesWeb","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-GB"},{"@type":"Person","@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#\/schema\/person\/7e3952607fa9eb4e82fea9f7cad9c945","name":"Pallavi Godse","image":{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/eefc9695ea2b2c6e143c9c9919701aaa?s=96&d=blank&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/eefc9695ea2b2c6e143c9c9919701aaa?s=96&d=blank&r=g","caption":"Pallavi Godse"},"description":"Pallavi is a Digital Marketing Executive at MilesWeb and has an experience of over 4 years in content development. She is interested in writing engaging content on business, technology, web hosting and other topics related to information technology.","url":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/author\/pallavi\/"}]}},"views":720,"_links":{"self":[{"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/posts\/5015","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/users\/16"}],"replies":[{"embeddable":true,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/comments?post=5015"}],"version-history":[{"count":3,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/posts\/5015\/revisions"}],"predecessor-version":[{"id":8497,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/posts\/5015\/revisions\/8497"}],"wp:attachment":[{"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/media?parent=5015"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/categories?post=5015"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/tags?post=5015"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}