{"id":1514,"date":"2024-10-22T11:44:09","date_gmt":"2024-10-22T09:44:09","guid":{"rendered":"https:\/\/eonea.pl\/?p=1514"},"modified":"2025-04-14T08:40:48","modified_gmt":"2025-04-14T06:40:48","slug":"xen-orchestra-automatyczna-instalacja-ze-zrodel","status":"publish","type":"post","link":"https:\/\/eonea.pl\/en\/xen-orchestra-automatyczna-instalacja-ze-zrodel\/","title":{"rendered":"XEN-ORCHESTRA - automatic installation from sources."},"content":{"rendered":"<div data-elementor-type=\"wp-post\" data-elementor-id=\"1514\" class=\"elementor elementor-1514\" data-elementor-post-type=\"post\">\n\t\t\t\t<div class=\"elementor-element elementor-element-cf06b0f e-flex e-con-boxed e-con e-parent\" data-id=\"cf06b0f\" data-element_type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-3dc5c3e elementor-widget elementor-widget-video\" data-id=\"3dc5c3e\" data-element_type=\"widget\" data-settings=\"{&quot;youtube_url&quot;:&quot;https:\\\/\\\/www.youtube.com\\\/watch?v=mCbnQl79Sfw&quot;,&quot;video_type&quot;:&quot;youtube&quot;,&quot;controls&quot;:&quot;yes&quot;}\" data-widget_type=\"video.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-wrapper elementor-open-inline\">\n\t\t\t<div class=\"elementor-video\"><\/div>\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-093a830 e-flex e-con-boxed e-con e-parent\" data-id=\"093a830\" data-element_type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-6a389f9 elementor-widget elementor-widget-text-editor\" data-id=\"6a389f9\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<h2>Automatic installation of Xen Orchestra using Roni V\u00e4yrynen's script<\/h2>\n\n<h3>Introduction<\/h3>\n<p>If you have virtualization servers <strong>XCP-ng<\/strong> and you're managing multiple virtual machines, it's worth using a tool to help you manage your entire environment. <strong>Xen Orchestra (XO)<\/strong> is a powerful solution for centrally managing XCP-ng hosts and virtual machines. In this article, we will show you how to easily automate the installation of Xen Orchestra using a script prepared by the <strong>Roni V\u00e4yrynen<\/strong>.<\/p>\n\n<h3>Why choose the Xen Orchestra?<\/h3>\n<p>Xen Orchestra offers:<\/p>\n<ul>\n  <li><strong>Central management<\/strong> multiple XCP-ng hosts.<\/li>\n  <li><strong>Creation and management<\/strong> VMs from a single interface.<\/li>\n  <li><strong>Advanced backup features<\/strong>, including incremental copies and smart backups.<\/li>\n  <li><strong>Replication<\/strong> virtual machines between hosts.<\/li>\n  <li><strong>Monitoring<\/strong> performance and state of infrastructure.<\/li>\n<\/ul>\n<p>Although Xen Orchestra is available as open source, for commercial environments it is worth considering purchasing a license that offers additional functionality and support.<\/p>\n\n<h3>Automatic installation of Xen Orchestra<\/h3>\n<p>Thanks to a script from <strong>Roni V\u00e4yrynen<\/strong> The Xen Orchestra installation process is simple and automated. The script is available on GitHub and supports many Linux distributions, including Debian, Ubuntu and CentOS.<\/p>\n\n<h4>System requirements<\/h4>\n<ul>\n  <li><strong>Operating system<\/strong>: Debian 12 or other supported Linux.<\/li>\n  <li><strong>RAM<\/strong>: minimum 4 GB.<\/li>\n  <li><strong>Disk space<\/strong>: minimum 1 GB.<\/li>\n  <li><strong>Processor<\/strong>: 2 cores minimum.<\/li>\n  <li><strong>Installed Git<\/strong>.<\/li>\n<\/ul>\n\n<h4>Installation steps<\/h4>\n<ol>\n  <li><strong>System upgrade and Git installation<\/strong>:\n    <pre><code>sudo apt update\nsudo apt install git -y<\/code><\/pre>\n  <\/li>\n  <li><strong>Clone the repository with the installation script<\/strong>:\n    <pre><code>git clone https:\/\/github.com\/Ronivay\/XenOrchestraInstallerUpdater.git<\/code><\/pre>\n  <\/li>\n  <li><strong>Create a directory for the Xen Orchestra<\/strong>:\n    <pre><code>sudo mkdir \/opt\/xo<\/code><\/pre>\n  <\/li>\n  <li><strong>Moving to the directory with the script<\/strong>:\n    <pre><code>cd XenOrchestraInstallerUpdater<\/code><\/pre>\n  <\/li>\n  <li><strong>(Optional) Configure the script before installation<\/strong>:<br>\n    If you want to change the default settings, such as port or enable HTTPS, edit the configuration file:\n    <pre><code>nano xo-install.cfg<\/code><\/pre>\n    <p><strong>Example of enabling HTTPS and changing the port<\/strong>:<\/p>\n    <pre><code># Port and SSL settings\nPORT=\"443\"\nSSL=\"true\"\nSSL_CERT=\"\/path\/to\/your\/certificate.crt\"\nSSL_KEY=\"\/path\/to\/your\/key.key\"<\/code><\/pre>\n    <p><em>Note: If you enable SSL, you must provide your own SSL certificate.<\/em><\/p>\n  <\/li>\n  <li><strong>Running the installation script<\/strong>:\n    <pre><code>sudo .\/xo-install.sh<\/code><\/pre>\n    <p>The script will install all necessary packages and configure Xen Orchestra. The process may take a few minutes.<\/p>\n  <\/li>\n  <li><strong>Access to the Xen Orchestra interface<\/strong>:<br>\n    Once the installation is complete, the script will display access information:\n    <ul>\n      <li><strong>Address<\/strong>: <code>http:\/\/adres_twojego_serwera<\/code> or <code>https:\/\/adres_twojego_serwera<\/code> (je\u015bli w\u0142\u0105czy\u0142e\u015b HTTPS).<\/li>\n      <li><strong>Login<\/strong>: <code>admin@admin.net<\/code><\/li>\n      <li><strong>Has\u0142o<\/strong>: <code>admin<\/code><\/li>\n    <\/ul>\n  <\/li>\n<\/ol>\n\n<h3>Importing configurations from an older version<\/h3>\n<p>If you have a backup of your configuration from a previous Xen Orchestra installation, you can easily import it:<\/p>\n<ol>\n  <li><strong>Sign in<\/strong> to Xen Orchestra.<\/li>\n  <li>Go to <strong>Settings &gt; Config<\/strong>.<\/li>\n  <li>In the section <strong>Import\/Export Configuration<\/strong> click <strong>Import<\/strong> and select the backup file.<\/li>\n  <li>After importing the configuration, you will be logged out. Log in again using your previous access credentials.<\/li>\n<\/ol>\n\n<h3>Summary<\/h3>\n<p>Thanks to <strong>Roni V\u00e4yrynen<\/strong> Xen Orchestra installation is simple and fast. You get the full functionality of the tool, including advanced management and backup options.<\/p>\n\n<h4>Links and resources<\/h4>\n<ul>\n  <li><strong>Installation script repository<\/strong>: <a href=\"https:\/\/github.com\/Ronivay\/XenOrchestraInstallerUpdater\" target=\"_blank\">XenOrchestraInstallerUpdater<\/a><\/li>\n  <li><strong>The official website of the Xen Orchestra<\/strong>: <a href=\"https:\/\/xen-orchestra.com\/\" target=\"_blank\">xen-orchestra.com<\/a><\/li>\n<\/ul>\n<p><strong>Komendy u\u017cyte w artykule:<\/strong><\/p>\n<pre><code># Update and install Git\nsudo apt update\nsudo apt install git -y\n\n# Cloning the repository\ngit clone https:\/\/github.com\/Ronivay\/XenOrchestraInstallerUpdater.git\n\n# Creating a directory for the XO\nsudo mkdir \/opt\/xo\n\n# Moving to the directory with the script\ncd XenOrchestraInstallerUpdater\n\n# (Optional) Edit the configuration file\nnano xo-install.cfg\n\n# Start the installation\nsudo .\/xo-install.sh<\/code><\/pre>\n\n<h3>Completion<\/h3>\n<p>We encourage you to try Xen Orchestra in your environment. If you need support in designing, deploying or maintaining infrastructure related to virtualization, remote access or storage <strong>TrueNAS<\/strong>, contact us.<\/p>\n\n<p>If you like what we are doing, please like our article and subscribe to our newsletter to stay up to date with the latest news.<\/p>\n\n<p><strong>Thank you for your attention and see you in future articles!<\/strong><\/p>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>","protected":false},"excerpt":{"rendered":"<p>https:\/\/www.youtube.com\/watch?v=mCbnQl79Sfw Automatyczna instalacja Xen Orchestra z wykorzystaniem skryptu Roni V\u00e4yrynen Wprowadzenie Je\u015bli posiadasz serwery wirtualizacyjne XCP-ng i zarz\u0105dzasz wieloma maszynami wirtualnymi, warto skorzysta\u0107 z narz\u0119dzia, kt\u00f3re u\u0142atwi zarz\u0105dzanie ca\u0142ym \u015brodowiskiem. Xen Orchestra (XO) to pot\u0119\u017cne rozwi\u0105zanie umo\u017cliwiaj\u0105ce centralne zarz\u0105dzanie hostami XCP-ng oraz maszynami wirtualnymi. W tym artykule poka\u017cemy, jak w prosty spos\u00f3b zautomatyzowa\u0107 instalacj\u0119 Xen [&hellip;]<\/p>","protected":false},"author":3,"featured_media":1523,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[7,8],"tags":[318,319,133,141,142,317],"class_list":["post-1514","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-it-dla-kazdego","category-truenas","tag-virtualization","tag-virtualization-automation","tag-xcp-ng","tag-xen-orchestra","tag-xoa","tag-xoa-from-sources-xen-orchestra-from-sources"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/eonea.pl\/en\/wp-json\/wp\/v2\/posts\/1514","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/eonea.pl\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/eonea.pl\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/eonea.pl\/en\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/eonea.pl\/en\/wp-json\/wp\/v2\/comments?post=1514"}],"version-history":[{"count":12,"href":"https:\/\/eonea.pl\/en\/wp-json\/wp\/v2\/posts\/1514\/revisions"}],"predecessor-version":[{"id":1540,"href":"https:\/\/eonea.pl\/en\/wp-json\/wp\/v2\/posts\/1514\/revisions\/1540"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/eonea.pl\/en\/wp-json\/wp\/v2\/media\/1523"}],"wp:attachment":[{"href":"https:\/\/eonea.pl\/en\/wp-json\/wp\/v2\/media?parent=1514"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/eonea.pl\/en\/wp-json\/wp\/v2\/categories?post=1514"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/eonea.pl\/en\/wp-json\/wp\/v2\/tags?post=1514"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}