Linux MATLAB server further transformed into application server (application server)

Source: Internet
Author: User
Tags qcad

Matlab + X11 Give me the experience let me try not to feel bad, Linux fast and stable, X11 simple and practical. Considering that MATLAB is not used every day, the server is also placed, in order not to waste resources, should be further utilized and upgraded to become an application server, will be all infrequently used, do not need graphics accelerated applications (apps) are installed on the server, when needed to use X11 recall.


MATLAB is already the best example. Several applications that will be considered next include Qucs (circuit diagram simulator), QCAD, Eagle CAD, and GIMP, and may eventually install wine to support more Windows applications.


Here are a few note manuscripts for the improvement process:


First, renaming the server

The server formerly known as Matlab-server, is not appropriate now, to be renamed to X11-server. Operation is not difficult, the following two places need to be modified:

sudo nano/etc/hostname sudo nano/etc/host# last restart service sudo/etc/init.d/hostname Restart # or sudo service hostname restart


II. Create a custom directive to display all installed and operational applications

It's about entering the MYAPPS directive, listing all the apps that have been installed, and giving the corresponding instructions to start the app.

Nano. apps_list# creates a file that lists all application names and corresponding directives, and then applies the list line by line, and finally saves the sudo nano. bash_aliases# Create a file that is used to list the alias instruction, and record all the corresponding instructions and the specific operation, For example: Alias myapps= ' cat/home/xin/.apps_list ' # above the custom directive is MyApps, the corresponding action is to display the contents of the. apps_list file that was created before. # Save after exiting, execute. ~/.bashrc# finally executes the following command to see if the alias was successful

Third, installation Qucs

sudo apt-add-repository ppa:qucs/qucs # update Repositorysudo apt-get updatesudo apt-get Install Qucs # install QUC s# Boot program instruction is Qucs

Iv. installation of QCad

# go to the QCAD official website to download the corresponding. Run installation files, such as chrome installed, download to download# in chrome to enter the download folder, give. run file execution permissions, and run. chmod a+x Qcad-3.6.4-linux-x86_64.run./qcad-3.6.4-linux-x86_64.run

V. Installation of Eagle CAD

# Basic Ibid, but Eagle has only 32-bit version, running on 64-bit system requires installing a runtime sudo apt-get install Ia32-libs # This is Ubuntu 12.04 and its previous instructions, 14.04 is no longer available # 14.04 need to make adjustments: Sudo-icd/etc/apt/sources.list.decho "Deb http://old-releases.ubuntu.com/ubuntu/raring main restricted Universe Multiverse ">ia32-libs-raring.listapt-get updateapt-get install IA32-LIBSRM ia32-libs-raring.listapt-get Updatechmod a+x Eagle-lin-7.1.0.run./eagle-lin-7.1.0.run

Vi. installation of GIMP

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

Linux MATLAB server further transformed into application server (application server)

Related Article

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.