Difference between revisions of "Linux - System Setup"

From Computer Science
Jump to: navigation, search
(Your Personal Computer)
Line 7: Line 7:
  
 
=Your Personal Computer=
 
=Your Personal Computer=
 +
You need to have access to a computer that you can install the following on - (a) ''terminal program'' used to connect to the CS server and execute commands on the CS server, (b) ''file transfer program'' for transferring files between your computer and the CS server, (c) ''text editor'' to use on your computer.
 +
 +
Below are links to the programs you need depending on your operating system, along with a video demo for each OS of downloading, installing, and getting started with the programs.
 
==Windows==
 
==Windows==
You will need to install software that will allow you to connect to the CS server.  The following are all options that would work.
+
* '''Terminal Program''' - choose one of the following.
* '''Putty''' - allow you to connect to the CS server and gives you a text-based terminal to run commands on the server. <br> [https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html download] [http://cs.indstate.edu/FAQ/PuTTY/ Installing Putty on Windows] [https://www.youtube.com/watch?v=q7FtZ02tNrU&list=PLCFNfZsc2MICFFIoBjAhJSAE3FRxMdYJJ&index=2&t=0s video demo]
+
** ''Putty'' - [https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html download] [http://cs.indstate.edu/FAQ/PuTTY/ Installing Putty on Windows] [https://www.youtube.com/watch?v=q7FtZ02tNrU&list=PLCFNfZsc2MICFFIoBjAhJSAE3FRxMdYJJ&index=2&t=0s video demo] - use this to start off, it is the minimum you need in terms of a terminal.
* '''Cygwin''' - this gives you a text-based terminal that you can use on your local computer as well as allowing you to connect to the server. <br> [https://cygwin.com/install.html download/install] [''video demo - coming soon'']
+
** ''Windows Subsystem for Linux'' - [https://cs.indstate.edu/~lmay1/courses/#/courses/cs101-fa19/wsl Luke May's tutorial] - this includes more than just a terminal and allows you to install additional linux utilities (allows you to run most programs on your computer that we use on the CS systems)
* '''Virtual machine''' - you can install VirtualBox on your computer and then install Linux inside VirtualBox. <br> [https://www.virtualbox.org/wiki/Downloads VirtualBox download] [https://www.ubuntu.com/download/desktop Ubuntu Linux download] <br> ''For video demo, see the VirtualBox video under ''Mac - Virtual Machine'' below'' <br> ''You could use a different Linux distribution other than Ubuntu as well.''
+
** '''Cygwin''' - [https://cygwin.com/install.html download/install] [''video demo - coming soon''] - similar to the previous option but software that is provided by the open source community rather than Microsoft.
* Linux for Windows - [https://cs.indstate.edu/~lmay1/courses/#/courses/cs101-fa19/wsl Luke May's tutorial]
+
** '''Virtual machine''' - [https://www.virtualbox.org/wiki/Downloads VirtualBox download] [https://www.ubuntu.com/download/desktop Ubuntu Linux download] - a virtual machine runs on your computer and looks and acts like a separate computer running as a program, you could install Linux as a virtual machine.
 
+
* '''File Transfer Program'''
To transfer files between your computer and the CS server you need an sftp program.  One that is free and available for Windows, Mac, and Linux is FileZilla.
+
** ''FileZilla'' or ''WinSCP'' - [https://filezilla-project.org/download.php FileZilla download] [https://winscp.net/eng/download.php WinSCP download] ''[https://www.youtube.com/watch?v=oswD-p2GSHQ&list=PLCFNfZsc2MICFFIoBjAhJSAE3FRxMdYJJ&index=3 video demo]''<br> ''Note - If given an option of what port to connect to, use port 22 (this is the "secure" port, so data is encrypted while transferring over the public internet).''
* ''[https://www.youtube.com/watch?v=oswD-p2GSHQ&list=PLCFNfZsc2MICFFIoBjAhJSAE3FRxMdYJJ&index=3 video demo]''
+
** '''psftp''' - comes installed with Putty on Windows, is a text-based sftp program. <br>
* '''FileZilla or WinSCP''' - a free sftp program. <br> [https://filezilla-project.org/download.php FileZilla download] [https://winscp.net/eng/download.php WinSCP download] <br> ''If given an option of what port to connect to, use port 22 (this is the "secure" port, so data is encrypted while transferring over the public internet).''
+
* '''Text Editor''' - [https://kate-editor.org/get-it/ Kate] [https://atom.io/ Atom] [https://www.gnu.org/software/emacs/ Emacs] [https://www.vim.org/download.php Vim] - all are good editors for programming that are available on Windows, Mac, and Linux.  Pick one to use, you can ask your instructors which they prefer (and can help you with).
* '''WinSCP''' - another popular GUI sftp program that works on Windows <br> [https://winscp.net/eng/download.php download]
 
* '''psftp''' - comes installed with Putty on Windows, is a text-based sftp program. <br>
 
  
 
==Mac OS==
 
==Mac OS==

Revision as of 00:05, 12 January 2020

This page is meant to help you get your computer ready to connect to the CS server. What you need to do depends on your operating system.

This page is a part of the Linux and CS Systems - Getting Started.

CS User Accounts

Below we guide you through getting software setup on your computer. In order to connect to the CS server you will also need your CS user account. CS accounts are normally distributed during the first week of classes. If you are a CS major, you can also request a permanent CS account. See CS Accounts and CS Lab Computers.

Your Personal Computer

You need to have access to a computer that you can install the following on - (a) terminal program used to connect to the CS server and execute commands on the CS server, (b) file transfer program for transferring files between your computer and the CS server, (c) text editor to use on your computer.

Below are links to the programs you need depending on your operating system, along with a video demo for each OS of downloading, installing, and getting started with the programs.

Windows

  • Terminal Program - choose one of the following.
    • Putty - download Installing Putty on Windows video demo - use this to start off, it is the minimum you need in terms of a terminal.
    • Windows Subsystem for Linux - Luke May's tutorial - this includes more than just a terminal and allows you to install additional linux utilities (allows you to run most programs on your computer that we use on the CS systems)
    • Cygwin - download/install [video demo - coming soon] - similar to the previous option but software that is provided by the open source community rather than Microsoft.
    • Virtual machine - VirtualBox download Ubuntu Linux download - a virtual machine runs on your computer and looks and acts like a separate computer running as a program, you could install Linux as a virtual machine.
  • File Transfer Program
    • FileZilla or WinSCP - FileZilla download WinSCP download video demo
      Note - If given an option of what port to connect to, use port 22 (this is the "secure" port, so data is encrypted while transferring over the public internet).
    • psftp - comes installed with Putty on Windows, is a text-based sftp program.
  • Text Editor - Kate Atom Emacs Vim - all are good editors for programming that are available on Windows, Mac, and Linux. Pick one to use, you can ask your instructors which they prefer (and can help you with).

Mac OS

On a Mac you already have the software needed to connect to the CS server, or you can install the Virtual machine just like on Windows. The following are options that work.

  • Built-in terminal - you can use the built-in Terminal program in Mac OS to connect to the cs server, and you can also use the Terminal program to run commands on your local computer. You open the terminal by opening Finder, then click on Applications, then click on Utilities, then open Terminal. When you get the terminal program open, you can login remotely to the CS server by typing "ssh username@cs.indstate.edu".
    video demo
  • Virtual machine - you can install VirtualBox on your computer and then install Linux inside VirtualBox. You could also install Windows inside of VirtualBox, if you have software that you need to run that requires Windows.
    Download / video demo - see above under Windows - Virtual machine above

To transfer files between your computer and the CS server you need an sftp program. One that is free and available for Windows, Mac, and Linux is FileZilla.

  • FileZilla - a free sftp program.
    Download link - see above under Windows - FileZilla video demo
  • sftp - is built-in and can be run from the Terminal.
    video demo

Chromebook

Linux Desktop

If you are already running Linux on your computer, then you already have the software needed to connect to the CS server. As with Mac OS, you can also install VirtualBox and virtual machines if you would like.
[video demo]

ISU CS Lab Computers

The computers in ISU CS labs (Root Hall A-015, A-017, A-019) are already configured with Linux. You can use these computers as long as you have a CS account.
[video demo - coming soon]

Other Software

There are other development environments and software that you might use on your personal computer. A few other options that are common but which we do not provide support for are the following.

  • MS Visual Studio - the best option to develop GUI programs for Windows, not a good option for developing for Linux.
  • Eclipse - a cross-platform IDE that can be used for Java, C/C++, and some other languages.