Install MATLAB on Ubuntu server, use X11 and Putty output windows to Windows Desktop (environment selection)

Source: Internet
Author: User

Recently a bit obsessed with the server version of Ubuntu, memory consumption is too low, system stability, fast response. In this environment, running MATLAB should be the most perfect.


Search on the internet will also find that the Linux matlab is generally faster than Windows, after all, simply from the system environment, the latter is much more bloated. I personally like Windows 8, but after the wife test found that the speed of MATLAB in Windows 8 is significantly slower than Windows 7, and sometimes i7 processor even run old core2--This shows that the system on the impact of MATLAB is very large.


See the movie also know that the high-order operations/parallel operations are based on the Linux kernel, usually command line login, execute the command, and then get a Program Interface window output.


Under Windows, we can use SSH to log in to the Linux server, but want to output the windows of the application installed in the server to the desktop, you need X11 mates. By default, Ubuntu Desktop Edition already contains X11 server-side programs, and Server Edition needs to install itself and load a lightweight graphical interface.


Ubuntu now unity is too bloated, very dislike, try Xubuntu and mint, all good, but the problem is that the automatic update is too frequent, and installed a bunch of unwanted applications, so I decided to use Ubuntu Server + Openbox + X11 to achieve the effect I want.


System: Ubuntu Server 14.04 LTS

Graphical Interface: Openbox

Application: Matlab 2014a, CIFS support Package (this is primarily for the Mount Windows shared folder)

Virtual Machine Environment:8 Vcpus + 8GB memory + 40GB HDD + no hardware 3D acceleration


In the next chapter I will discuss the installation of Openbox and MATLAB, where I downplay the environment configuration of Ubuntu Server and compare it to other Linux distributions.


Ubuntu server is not required for installation on the environment and does not require pre-installation of any components for MATLAB. Even CIFS is optional, so it is only possible to mount Windows ' shared folders under a Linux system, which makes it easier to exchange data on both sides.


When I chose the server system, I struggled with myself because there were so many distributions in Linux. Here I briefly compare the differences between the major Linux systems (my own perspective)


    • Ubuntu Server vs Red Hat Enterprise Linux (RHEL) and CentOS
      First of all, Rhel and CentOS, the same root, CentOS is based on the Community maintenance version of Rhel, so the kernel, the version is consistent. Rhel is maintained by Red Hat, and CentOS is maintained by the community.

      CentOS is extremely popular in the server world, not only because of the red Hat relationship, but also because of its own version renewal principle. Both Rhel and CentOS are real lts (long-term supported versions), spanning in 10-a release system that will have update support for 10 years, not just the kernel's security patch updates, but more importantly the software compatibility bug patch. There are a lot of server applications, and maybe a small update will cause a compatibility problem, which can lead to service interruption--Red hat is the maintenance and guarantee service to collect the technical support fee profit. CentOS is completely free and users rely on themselves.

      Ubuntu server also claims to be LTS, but the span is said to be only 3 years. At least from 12.04 Lts to 14.04 lts, users have waited less than 3 years. Not that the new version is being released, and the older versions are not supported. But the resources of a company are limited, and they promise to support 12.04 for a long time, and how can they have enough energy to support 14.04? So this concern is widespread in enterprise-class servers and is a reason why users are reluctant to adopt them.

      But as an individual user, Ubuntu update is not a serious thing. Say nasty, really encounter compatibility problems caused the server to hang up, nor too much loss. Not to mention the Ubuntu community is really big, want to solve the problem is very easy, Fedora application package is also rich, so it is my own choice.

    • Server Edition vs Desktop Edition, etc.
      Although the installation of MATLAB is required graphical interface, and many times do feel that there is a graphical interface convenient, but after all, this is not a daily use of the system, light simple, stable is the most important consideration. And the server is hanging on Hyper-V, can save some memory resources to try to save. Combined with this consideration, the desktop version must be ruled out (moving memory will be more than 1GB).


This article is from the "www.DIYPCs.com" blog, make sure to keep this source http://cnbeta.blog.51cto.com/1234897/1549507

Install MATLAB on Ubuntu server, use X11 and Putty output windows to Windows Desktop (environment selection)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.