{"id":8221,"date":"2024-09-19T05:12:51","date_gmt":"2024-09-18T23:42:51","guid":{"rendered":"https:\/\/pheonixsolutions.com\/blog\/?p=8221"},"modified":"2026-08-25T11:02:47","modified_gmt":"2026-08-25T05:32:47","slug":"how-to-install-supervisor-in-ubuntu-22-04","status":"publish","type":"post","link":"https:\/\/pheonixsolutions.com\/blog\/how-to-install-supervisor-in-ubuntu-22-04\/","title":{"rendered":"How to install supervisor in Ubuntu 22.04 ?"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\"><strong>Introduction<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Supervisor is a process control system that allows you to monitor and manage processes on UNIX-like operating systems. To install supervisor please follow the below steps.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Prerequisites<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>A UNIX-like operating system (e.g., Ubuntu, Debian).<\/li>\n\n\n\n<li>Root or sudo access to the system.<\/li>\n\n\n\n<li>Apache web server installed.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Steps<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Step 1: Installing Supervisor<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">First, you need to install Supervisor using the package manager. Open a terminal and execute the following command:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">$ sudo apt update<br>$ sudo apt install supervisor<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Step 2: Configuring Supervisor&#8217;s Web Interface<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">To enable Supervisor&#8217;s web interface, you need to edit the Supervisor&#8217;s main configuration file:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">$ sudo nano \/etc\/supervisor\/supervisord.conf<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Add the following lines to enable the HTTP server and set up authentication:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">[inet_http_server]<br>port=*:9001<br>username=admin<br>password=admin@321<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Save and close the file.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Step 3: Starting and Updating Supervisor<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Reload Supervisor to apply the new configurations and start the service:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">$ sudo supervisorctl reread<br>$ sudo supervisorctl update<br>$ sudo supervisorctl start apache_monitor<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">You can now access the Supervisor web interface by navigating to <code>http:\/\/&lt;your_server_ip&gt;:9001<\/code> in your web browser. Log in using the credentials <code>admin<\/code> and <code>admin@321<\/code>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Conclusion<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In this guide, you have successfully installed Supervisor and set up Supervisor&#8217;s web interface for easier management. <\/p>\n","protected":false},"excerpt":{"rendered":"<p>Introduction Supervisor is a process control system that allows you to monitor and manage processes on UNIX-like operating systems. To [&hellip;]<\/p>\n","protected":false},"author":508,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[1022],"tags":[],"class_list":["post-8221","post","type-post","status-publish","format-standard","hentry","category-web-architecture","psol-cat-web-architecture"],"jetpack_publicize_connections":[],"jetpack_shortlink":"https:\/\/wp.me\/phn2x7-28B","jetpack_sharing_enabled":true,"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/posts\/8221","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/users\/508"}],"replies":[{"embeddable":true,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/comments?post=8221"}],"version-history":[{"count":1,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/posts\/8221\/revisions"}],"predecessor-version":[{"id":11042,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/posts\/8221\/revisions\/11042"}],"wp:attachment":[{"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/media?parent=8221"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/categories?post=8221"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/tags?post=8221"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}