{"id":504,"date":"2024-07-08T10:32:39","date_gmt":"2024-07-08T10:32:39","guid":{"rendered":"https:\/\/blog.hostinger.io\/support\/2024\/07\/08\/9571800-how-to-run-metatrader-5-on-hostinger-vps\/"},"modified":"2025-08-27T06:45:38","modified_gmt":"2025-08-27T06:45:38","slug":"9571800-how-to-run-metatrader-5-on-hostinger-vps","status":"publish","type":"post","link":"https:\/\/www.hostinger.com\/support\/9571800-how-to-run-metatrader-5-on-hostinger-vps\/","title":{"rendered":"How to run MetaTrader 5 on Hostinger VPS"},"content":{"rendered":"<p class=\"no-margin\">MetaTrader 5 (MT5) is a popular Forex trading platform that allows users to perform technical analysis and trading operations in the Forex, CFD, and futures markets. Hostinger&rsquo;s Ubuntu 22.04 with Desktop VPS template, which includes the <b>XFCE environment and RDP<\/b> for remote desktop access, makes it easy to set up and run MetaTrader 5. This guide will walk you through the process.<\/p><p class=\"no-margin\">\n<\/p><h2 id=\"h_31f241370e\">Prerequisites<\/h2><ul>\n<li>\n<p class=\"no-margin\">A Hostinger VPS with the <a href=\"\/support\/7982877-how-to-use-the-ubuntu-22-04-template-with-desktop-on-vps\" target=\"_blank\" class=\"intercom-content-link\">Ubuntu 22.04 with Desktop<\/a> template.<\/p>\n<\/li>\n<li>\n<p class=\"no-margin\">Basic understanding of using a remote desktop connection and terminal commands.<\/p>\n<\/li>\n<\/ul><div class=\"intercom-interblocks-callout\" style=\"background-color: #e3e7fa80;border-color: #334bfa33\">\n<p class=\"no-margin\">If you don&rsquo;t have a VPS yet, check the available options here: <b><a href=\"https:\/\/www.hostinger.com\/vps\/forex-hosting\" target=\"_blank\" class=\"intercom-content-link\">Forex VPS Hosting<\/a> &#128640;<\/b><\/p>\n<\/div><p class=\"no-margin\">\n<\/p><h2 id=\"h_9c09062c7a\">Accessing your VPS via remote desktop<\/h2><ol>\n<li>\n<p class=\"no-margin\">Open the Remote Desktop Connection application on your Windows PC. You can find it using the search bar in the start menu.<\/p>\n<\/li>\n<li>\n<p class=\"no-margin\">Connect to Your VPS:<\/p>\n<ol>\n<li>\n<p class=\"no-margin\">Enter the <a href=\"\/support\/5139756-how-to-find-your-vps-ip-address\" target=\"_blank\" class=\"intercom-content-link\">IP address of your VPS<\/a> in the <b>Computer<\/b> field and click <b>Connect<\/b>.<\/p>\n<\/li>\n<li>\n<p class=\"no-margin\">Log in using the username <b>rdpuser<\/b> and the password provided during template installation.<\/p>\n<\/li>\n<\/ol>\n<\/li>\n<\/ol><p class=\"no-margin\">For more detailed instructions, refer to the following guide: <a href=\"\/support\/7982877-how-to-use-the-ubuntu-22-04-template-with-desktop-on-vps\" target=\"_blank\" class=\"intercom-content-link\">How to Use the Ubuntu 22.04 Template With Desktop on VPS<\/a>.<\/p><p class=\"no-margin\">\n<\/p><h2 id=\"h_f654439640\">Installing MetaTrader 5<\/h2><ol>\n<li>\n<p class=\"no-margin\">Once logged into your VPS desktop environment, open a terminal window. You can do this by navigating to the <b>Applications<\/b> menu and selecting <b>Terminal Emulator<\/b>.<br>&#8203;<\/p>\n<div class=\"intercom-container\"><img decoding=\"async\" src=\"\/support\/wp-content\/uploads\/sites\/55\/2024\/07\/c721d09b-fc70-4d86-8326-fe2d7b8e838b.jpg\"><\/div>\n<p class=\"no-margin\">&#8203;<\/p>\n<\/li>\n<li>\n<p class=\"no-margin\">Run the following command on the terminal to download and install the MetaTrader 5 script:<\/p>\n<\/li>\n<\/ol><pre><code>wget https:\/\/download.mql5.com\/cdn\/web\/metaquotes.software.corp\/mt5\/mt5ubuntu.sh ; chmod +x mt5ubuntu.sh ; .\/mt5ubuntu.sh<\/code><\/pre><p class=\"no-margin\">\n<\/p><div class=\"intercom-container intercom-align-center\"><img decoding=\"async\" src=\"\/support\/wp-content\/uploads\/sites\/55\/2024\/07\/0dc2ba0a-5a79-411b-8ce4-6170aeba749d.jpg\"><\/div><p class=\"no-margin\">\n<\/p><p class=\"no-margin\">\n<\/p><h2 id=\"h_1a57f812d3\">Running MetaTrader 5<\/h2><ol>\n<li>\n<p class=\"no-margin\">Launch MetaTrader 5 &ndash; After the installation is complete, launch MetaTrader 5 from the applications menu or by running the <code>metatrader5<\/code> command in the terminal<br>&#8203;<\/p>\n<div class=\"intercom-container intercom-align-center\"><img decoding=\"async\" src=\"\/support\/wp-content\/uploads\/sites\/55\/2024\/07\/80361208-f6ae-448d-a675-b7c988721f97.jpg\"><\/div>\n<p class=\"no-margin\">\n<\/p><\/li>\n<li>\n<p class=\"no-margin\">Set up your trading account &ndash; Follow the on-screen instructions to set up your trading account or log in with your existing account.<\/p>\n<\/li>\n<\/ol><p class=\"no-margin\">\n<\/p><h2 id=\"h_fe44b22acf\">Optimizing remote desktop performance<\/h2><p class=\"no-margin\">To ensure a smooth remote desktop experience, follow these recommendations:<\/p><ul>\n<li>\n<p class=\"no-margin\">Use lightweight settings and disable any unnecessary visual effects on XFCE.<\/p>\n<\/li>\n<li>\n<p class=\"no-margin\">Monitor your VPS resources using tools like <code>htop<\/code> to keep CPU and memory usage within optimal usage levels.<\/p>\n<\/li>\n<li>\n<p class=\"no-margin\">Ensure your VPS can handle the workload. If your project is growing and needs more resources, you can always <a href=\"\/support\/1583229-how-to-upgrade-a-vps-server\" target=\"_blank\" class=\"intercom-content-link\">upgrade<\/a> your VPS.<\/p>\n<\/li>\n<\/ul><p class=\"no-margin\">To further customize and optimize your trading experience, explore the additional settings within MetaTrader 5 and your VPS configuration.<\/p><p class=\"no-margin\">\n<\/p><p class=\"no-margin\"><b>Additional resources<\/b><\/p><ul>\n<li>\n<p class=\"no-margin\"><a href=\"https:\/\/www.mql5.com\/en\/articles\/625?utm_source=www.metatrader5.com&amp;utm_campaign=download.mt5.linux\" target=\"_blank\" class=\"intercom-content-link\" rel=\"noopener\">MetaTrader 5 installation guide<\/a><\/p>\n<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Running MetaTrader 5 on a Hostinger Linux-based VPS using XFCE and RDP<\/p>\n","protected":false},"author":581,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"include_on_kodee":true,"footnotes":""},"categories":[206],"tags":[],"class_list":["post-504","post","type-post","status-publish","format-standard","hentry","category-vps-os-and-templates"],"hreflangs":[{"locale":"en-US","link":"https:\/\/www.hostinger.com\/support\/9571800-how-to-run-metatrader-5-on-hostinger-vps\/","default":1}],"include_on_kodee":true,"_links":{"self":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/504","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/users\/581"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/comments?post=504"}],"version-history":[{"count":1,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/504\/revisions"}],"predecessor-version":[{"id":2429,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/504\/revisions\/2429"}],"wp:attachment":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/media?parent=504"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/categories?post=504"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/tags?post=504"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}