Professional Documents
Culture Documents
ca/ (Moodle)
Having logged in our serve, web.glendon.yorku.ca, using “x2goclient”, or putty.exe, or MAC terminal
program, as yourself (lastname) to our server web.glendon.yorku.ca
To synchronize (incremental copy) to the Directory Dropbox/ (www directory at server), login our server
web.glendon.yorku.ca using a GUI or a terminal program: (x2goclient or putty.exe) at:
SW download
password: glGOOcloud
Having logged in, type passwd (press return) to change the password. Note that you do not see what you type (a
security feature).
*****************************************************************
To synchronize in the Glendon Cloud, type (at our server):
Pour synchroniser le Cloud Glendon liés à GoogleDrive, tapez:
PAGE 1 OF 8
PRACTICAL 1: ITEC/MODR 2925 http://oldtown.glendon.yorku.ca/ (Moodle)
1. Suppose that you have just logged in our server. You know that you may login using a text-based
terminal (with putty.exe) or graphical terminal (lxterminal) or any GUI terminal. Can you explain
the difference between (putty-type) terminal session vs a GUI session?
A putty-type terminal session is also known as a terminal emulator, which allows it to run shells
and commands as well.
Having just logged in,you are in your HOME directory. Which command would you use to :
________________________________
(c) Put yourself next in your WEB directory. Which command do you use to do this?
cd www
2. I would like you now to make a directory named final in your WEB directory (See 3 above).
Which command do you use to do this? Change to the directory just created. What command
did you use to do this?
mkdir january
cd january
3. What are the contents of this directory? What command did you use to find out
ls
4. Now, change back to your home (login) directory. What command did you use?
cd
5. From the working directory in (4), give the command you need to do to put yourself to the
PATH (the new working directory /home/lastname/www/2925/practical1
PAGE 2 OF 8
PRACTICAL 1: ITEC/MODR 2925 http://oldtown.glendon.yorku.ca/ (Moodle)
1. Suppose that you are in your HOME directory. Give the command that would put you in your
Web directory: cd www
2. Create a directory named temp in your Web directory. Which commands do you use?
mkdir temp
3. Make temp your current directory. What command(s) did you use?
cd temp
http://pprince.glendon.yorku.ca/~hermosa/temp
5. Within temp, create a directory named images. Make images your current directory. What
command(s) did you use?
mkdir images
cd images
pwd--- /home/lastname/www/temp/images
(http://web.glendon.yorku.ca/~f2017/2018/2925/hw1/image_analysis.mp4).
Could you repeat the steps described on the video? I logged in as user mcduff .
You will do the same but as user your_last_name
I could not watch the video because the web erver is down, and I could not access the link.
However, I was able to acces pprince.glendon.yorku.ca and answer the questions above and
below.
PAGE 3 OF 8
PRACTICAL 1: ITEC/MODR 2925 http://oldtown.glendon.yorku.ca/ (Moodle)
HTML stands for Hyper Text Markup Language, which is the most widely used language on
Web to develop web pages.
Cloud computing is the on-demand provision of computational resources (data, software) via a
computer network, rather than from a local computer.
4. Having logged in our serve, web.glendon.yorku.ca, using “putty.exe”, as user “max”, and having
“synchronized” to the Glendon cloud, please answer the following questions:
(MAC users do: FINDER terminal ssh -l yourlastname web.glendon.yorku.ca .)
(b) To change the password, for user max, one may use the command ____________________
(press return)
One may use the command passwd (press return) to change the password. When you type
the password in, you do not see what you type (a security feature).
(c) What is the command to synchronize data in the cloud for the first time ever at our server?
And for subsequent times?
The command to synchronize data in the Glendon Cloud for the first time ever is
glendonsync_start or gl_sync_start. For subsequent times, the command is
glendonsync or glsync .
PAGE 4 OF 8
PRACTICAL 1: ITEC/MODR 2925 http://oldtown.glendon.yorku.ca/ (Moodle)
(d) Which directory reside your web pages at your Google-Drive if you were user max? and
what is its “shortcut” (or symbolic link) at our server web.glendon.yorku.ca? What is the
Glendon web address or URL for user max?
If I were user max, my web pages at my Google Drive would reside in home/max/www . Its
‘shortcut’ or symbolic link at our server web.glendon.yorku.ca is MyDrive > Dropbox >
myweb (max’s drive) . The Glendon web address or URL for user max is
web.glendon.yorku.ca/~max/
5. Give the result(s) from the commands, executed by user max, and in the exactly given order,
once he has just logged in to our server web.glendon.yorku.ca, using putty.exe:
First, Max displayed the current working directory, he then put himself in the WEB directory, he
then made a directory named gl2915, he then changed the directory to gl2915, he then made a
directory named photos, he then changed the directory to photos, and lastly he displayed the
current working directory. The result is:
/home/max/www/gl2915/photos
(a) Give the result(s) from the following commands, executed by YOU, and in the exactly given
order: pwd, cd www, mkdir gl2915, cd gl2915, mkdir myphotos, cd myphotos, pwd,
mkdir vactions, cd vacations
First, I displayed the current working directory, I then put myself in the WEB directory, I then
made a directory named gl2915, I then changed the directory to gl2915, I then made a directory
named photos, I then changed the directory to photos, I then displayed the current working
directory, I then created a directory named vacations, and lastly I changed the directory to
vacations. The result is:
home/hermosa/www/gl2915/myphotos/vacations
Put 5 photos of your favorite vacation at the URL in (b). How do you do that?
PAGE 5 OF 8
PRACTICAL 1: ITEC/MODR 2925 http://oldtown.glendon.yorku.ca/ (Moodle)
Give the commands you will use to put yourself into this PATH given below:
/home/lastname/www/gl2915/myphotos
PAGE 6 OF 8
PRACTICAL 1: ITEC/MODR 2925 http://oldtown.glendon.yorku.ca/ (Moodle)
http://web.glendon.yorku.ca/~f2017/2018/2925/review/homework1.zip
(a) Describe how you would display the content of the file homework1.zip at your own web
site to be seen at:
http://web.glendon.yorku.ca/~lastname/2018/2925/review/
I would then download the zip file unto my computer and drag in into the review folder in my
Dropbox.
I would then open the terminal, go back to the beginning directory, synchronize the data into
our server, go to the my gallery directory, unzip the file to extract homework1.zip, and lastly
change the directory to homework1. I would do this by using the following commands:
The content of the file means the file homework1.zip has to be extracted.
http://pprince.glendon.yorku.ca/~lastname/2018/2925/review/images/geek.png
PAGE 7 OF 8
PRACTICAL 1: ITEC/MODR 2925 http://oldtown.glendon.yorku.ca/ (Moodle)
I want you to replace this image by your own image, say you.png or you.jpg. Using an image
editor (say paint in windows or an equivalent program in MAC), make you.png to be the same
size as geek.png . Once you have done so, you will rename your image you.png to be geek.png .
In order to replace the geek.png image with my own image, first I imported the image in the home
folder in dropbox. I then synchronized the data into our server, opened up the nano to find my .png file,
changed its name to geek.png, and changed the size to 200% 200 px 200 px.I did this using the following
commands:
http://pprince.glendon.yorku.ca/~lastname/2018/2925/review/home.html
After replacing geek.png with my own image, now I see my own image that I imported at the top of my
webpage.
NOTES: (1) In your homework, when indicated, please make a clickable link to your own web site to
that I can quickly appreciate your working example at your own web site; (2) You will/may write the
answers directory onto this PDF file * and * also make your PDF with clickable links, for submission.
Link to my webpage:
http://pprince.glendon.yorku.ca/~hermosa/
PAGE 8 OF 8