Cheapest MetaTrader 4 (MT4) Virtual Private Hosting (VPS) at only $5.35 (SGD) with OVH, Linux (Ubuntu 21.10) and Wine
Step-by-step guide to install and setup remote MT4 in Ubuntu environment with the most affordable VPS.
This post will show you how to install MT4 in Linux computer at a very affordable rate with the minimum steps. MT4 can run in a 10 years old computer meaning you do not have to subscribe to a fanciful VPS. Having said that, it is also important to understand what kind of script you will be running with your expert advisor. If it contains complex procedure and running higher IOPS, you may have to upgrade your VPS accordingly. Always have it tested on your virtual environment (e.g. Virtualbox) before hosting it online. Firstly, we will go through the minimum system requirement for MT4 that is to run in Linux environment:
- Windows XP (or Wine)
- 2.0 Ghz
- 1Gb RAM
- 10Gb HDD
- 1024 x 768 screen resolution
- 512 kbps internet connection
1Gb RAM is enough to run in Windows environment however it would be safer to allocate another Gb when it is requires an emulator which may not be as effective to handle the memory. Anyway, memory is much cheaper than the Windows version of VPS. Personally I subscribed to OVH cloud as they offered the most relevant and affordable VPS in the market, they are even cheaper than those VPS that specifically setup for MT4/MT5 trading. I have bad experience with several forex VPS where either they close the VPS discreetly or being very unstable with full of "unknown" attackers. Navigate to OVH starter VPS here: https://ca.ovh.com/sg/order/vps/
- Select the S$ 5.00 / month package.
- Choose Distribution only image and Ubuntu Version 21.10.
- Select any server locaion (I am using Singapore's datacentre).
- Continue your registration and make the payment.
- Wait for your email on the login information.
Once you have received the email regarding the login information, login to the VPS using Putty or terminal. In this remote shell, we will first have to update the system and it's core before installing the desktop environment. Usually Linux distribution's default setup will be only the command line interface. Once the Gnome desktop is installed, we will need remote desktop and opening the port to the remote desktop protocol. Finally we will install Wine before a total reboot. Wine is an emulator to run Windows applications and it has many dependencies. In the following method to install, I have customised to this version of Ubuntu and it's mirror where several repositories have to be added.
- sudo su
- apt update; apt upgrade -y; apt install tasksel -y; tasksel install ubuntu-desktop
- apt install xrdp wine-development -y; ufw allow 3389/tcp
- wget -nc https://dl.winehq.org/wine-builds/Release.key && apt-key add Release.key
- apt-add-repository https://dl.winehq.org/wine-builds/ubuntu/; dpkg --add-architecture i386
- wget -nc https://dl.winehq.org/wine-builds/winehq.key
- sudo -H gpg -o /etc/apt/trusted.gpg.d/winehq.key.gpg --dearmor winehq.key
- add-apt-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ focal main'
- apt install --install-recommends winehq-stable -y
- reboot
Once your terminal is terminated, you may now login to your remote desktop with the same username and password in your email. The rest of steps will be done in the graphical user interface (GUI) environment which is the same process as how you setup MT4 in Windows. Do note that the the windows directory is in the .wine folder and MT is in /Home/.wine/drive_c/Program files (x86). There will not be any user profile so all your expert advisor is in the MQL4 directory within your Metatrader 4.
Feel free to leave a comment or email me at aloycwl@gmail.com if you got any difficulty or any improvement I can make. Do support me by opening your trading account with IC Markets with my referral link - https://icmarkets.com/?camp=34606. I will continue trading journey's post here and stay tuned!
Comments
Post a Comment