Install Matlab on Ubuntu Server

Source: Internet
Author: User

Install Matlab on Ubuntu Server

Install Matlab on Ubuntu Server and use X11 and Putty to output Windows to Windows desktop (Environment selection)

I recently fell in favor of Ubuntu with the Server version. The memory usage is too low, and the system is stable and responsive. In this environment, running Matlab should be the most perfect.

Any search on the Internet will also find that Linux Matlab is generally faster than Windows. After all, from the perspective of the system environment, the latter is much bloated. I personally like Windows 8, but my wife tested it and found that the Matlab speed in Windows 8 is much slower than that in Windows 7, and sometimes the i7 processor cannot even run the elderly Core2, the system has a great impact on Matlab.

As you can see from movies, high-order and parallel operations are based on the Linux kernel. Generally, the command line is used to log on, execute commands, and then obtain a program interface window output.

In Windows, we can use SSH to log on to the Linux server through Putty, but X11 is required to output the Windows of the application installed on the server to the desktop. By default, Ubuntu Desktop version already contains X11 Server-side programs, Server version needs to be installed on its own, and load a lightweight graphical interface.

Ubuntu's current Unity is too bloated and does not like it very much. It is good to try Xubuntu and Mint, but the problem between the two is that automatic updates are too frequent and a bunch of unwanted applications are installed, so I decided to use Ubuntu Server + Openbox + X11 to achieve the desired effect.

System: Ubuntu Server 14.04 LTS

Graphical interface: Openbox

Application: Matlab 2014a and CIFS support packages (this is mainly used to Mount Windows Shared Folders)

Virtual Machine environment: 8 vCPU + 8 GB memory + 40 Gb hard disk + no hardware 3D Acceleration

In the next chapter, I will discuss how to install Openbox and Matlab. Here I will describe how to configure the environment of Ubuntu Server and compare it with other Linux releases.

Ubuntu Server has no requirements for Environment installation. You do not need to install any components for Matlab in advance. Even CIFS is optional. The purpose is to mount the Windows shared folder to the Linux system, which facilitates data exchange between the two sides.

Use Ubuntu Server to Set Up Windows File Sharing and FTP servers based on independent Hard Disks

Joint programming of Matlab and C/C ++: Calling C/C ++ code from Matlab

Matlab Implementation of binary classification SVM

The entire function fix, floor, ceil and round in Matlab

Compile the cuda. cu file using Matlab.

When I select a server system, I am struggling because there are too many Linux releases. Here I will briefly compare the differences between the main Linux systems (my personal concerns)

  • Comparison of Ubuntu Server with Red Hat Enterprise Linux (RHEL) and CentOS
    Let's talk about RHEL and CentOS. The two are the same roots. CentOS is based on RHEL's community maintenance version, so the kernel and version are consistent. RHEL is maintained by Red Hat and CentOS is maintained by the community.

    CentOS is very popular in the server field, not only because of the Red Hat relationship, but also because of its own version update principles. RHEL and CentOS are both real LTS (long-term supported versions), with a span of 10 years-that is, after a version system is released, there will be updated support within 10 years, these updates are not only kernel security patch updates, but also software compatibility Bug patches. There are a lot of server applications, and a small update may cause compatibility problems, resulting in service interruption-RedHat companies rely on maintenance and guarantee services to charge technical support fees for profit. CentOS is completely free of charge, and users have to rely on their own.

    Ubuntu Server is also known as LTS, but the span is said to be only three years. At least from 12.04 LTS to 14.04 LTS, the user has waited less than 3 years. The old version does not support the release of a new version. However, the resources of a company are limited. They both promise to support 12.04 for a long time, and how can they have enough energy to support 14.04? These concerns are widely used in enterprise-level servers and are also the reason why users are reluctant to adopt them.

    However, as a personal user, updating Ubuntu quickly is not a serious issue. It's hard to hear about it. If the server crashes due to compatibility problems, there is no big loss. What's more, the Ubuntu community is indeed large, and it is easy to solve the problem. The Debian application package is also rich, so it is my first choice.

  • Server Edition vs. desktop Edition
    Although the installation of Matlab requires a graphical interface, it is often easier to have a graphical interface. After all, this is not a system that is used every day. Simplicity and stability are the most important considerations. The server is mounted on Hyper-V, which can save some memory resources as much as possible. Taking this into consideration, the desktop version will inevitably be ruled out (the memory will be more than 1 GB if it is dynamic ).

For more details, please continue to read the highlights on the next page:

  • 1
  • 2
  • 3
  • Next Page
[Content navigation]
Page 7: Environment Selection Page 2nd: Environment Installation
Page 1: Supplemental content

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.