Difference between revisions of "Octave/Preparation"

From Coder Merlin
m (Editorial review and minor corrections)
 
Line 2: Line 2:
In this exercise, you'll be generating graphic files by using Octave. To view these files, you'll save them in a special directory called "~www", which must be created in your home directory. To create this directory, follow the below instructions.
In this exercise, you'll be generating graphic files by using Octave. To view these files, you'll save them in a special directory called "~www", which must be created in your home directory. To create this directory, follow the below instructions.
{{Prepare WWW Directory}}
{{Prepare WWW Directory}}
{{MerlinMultipageExperienceNavBar}}

Latest revision as of 12:21, 14 April 2022

Within these castle walls be forged Mavens of Computer Science ...
— Merlin, The Coder

Preparation[edit]

In this exercise, you'll be generating graphic files by using Octave. To view these files, you'll save them in a special directory called "~www", which must be created in your home directory. To create this directory, follow the below instructions.

Create a directory to be served by the web server. If the directory already exists, no error will occur.

amrit-gupta@codermerlin:~$ mkdir --parents ~/www


Enter the directory.

amrit-gupta@codermerlin:~$ cd ~/www


Set the permissions so that the files can be accessed by the web server. If permission errors are encountered, re-execute this command.

amrit-gupta@codermerlin:~$ chmod -R a+rX ~/www