Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
UTM Web Hosting (cs.utm.utoronto.ca)
#1
Fun fact: We have web hosting at UTM!

SSH into cs.utm.utoronto.ca with your UTORid, and run:

Code:
mkdir www
echo "<?php echo 'Hello, world';" > www/index.php
chmod -R og+rx www
chmod og+x ~

Now go to cs.utm.utoronto.ca/~<type your UTORid here>

Et voila!
Reply
#2
(09-10-2016, 08:25 PM)eli Wrote: Fun fact: We have web hosting at UTM!

SSH into cs.utm.utoronto.ca with your UTORid, and run:

Code:
mkdir www
chmod -R og+rx www
echo "<?php echo 'Hello, world!';" > www/index.php

Now go to cs.utm.utoronto.ca/~<type your UTORid here>

Et voila!

still not working Tongue. permission denied. prob something wrong
[Image: images?q=tbn:ANd9GcQHF4Lxx1KqRXlDutPrPOi...Ke5MY71YOg]  this is the end!!!!
Reply
#3
(09-11-2016, 01:53 AM)lamvn123456 Wrote:
(09-10-2016, 08:25 PM)eli Wrote: Fun fact: We have web hosting at UTM!

SSH into cs.utm.utoronto.ca with your UTORid, and run:

Code:
mkdir www
chmod -R og+rx www
echo "<?php echo 'Hello, world!';" > www/index.php

Now go to cs.utm.utoronto.ca/~<type your UTORid here>

Et voila!

still not working Tongue. permission denied. prob something wrong

Can you paste all your output? Also paste the output of the command "ls -l ~ ~/www"
Reply
#4
(09-11-2016, 01:59 AM)eli Wrote:
(09-11-2016, 01:53 AM)lamvn123456 Wrote:
(09-10-2016, 08:25 PM)eli Wrote: Fun fact: We have web hosting at UTM!

SSH into cs.utm.utoronto.ca with your UTORid, and run:

Code:
mkdir www
chmod -R og+rx www
echo "<?php echo 'Hello, world!';" > www/index.php

Now go to cs.utm.utoronto.ca/~<type your UTORid here>

Et voila!

still not working Tongue. permission denied. prob something wrong

Can you paste all your output? Also paste the output of the command "ls -l ~ ~/www"

>echo "<?php echo 'Hello, world!';" > www/index.php
-stutcsh: !': event not found
>ls ~ ~/www
/student/taquoc:
total 120
drwx------ 2 taquoc student 4096 Sep 28 2015 csc207
-rw------- 1 taquoc student 66 Mar 16 16:41 dead.letter
drwx------ 9 taquoc student 4096 May 6 16:38 Desktop
drwx------ 2 taquoc student 4096 Sep 14 2015 Documents
drwx------ 2 taquoc student 4096 Mar 29 18:23 Downloads
-rwx------ 1 taquoc student 7003 Feb 2 2016 fib
-rw------- 1 taquoc student 357 Feb 2 2016 fib.c
-rw------- 1 taquoc student 392 Jan 26 2016 firstbyte.1
-rw------- 1 taquoc student 392 Jan 26 2016 firstbyte.1~
-rw-r--r-- 1 taquoc student 8539 Sep 9 11:44 #mredauto#2#
drwx------ 2 taquoc student 4096 Sep 14 2015 Music
-rw------- 1 taquoc student 0 Jan 26 2016 new file~
drwx------ 2 taquoc student 4096 Sep 14 2015 Pictures
drwx------ 2 taquoc student 4096 Sep 14 2015 Public
-rwx------ 1 taquoc student 7593 Mar 3 2016 pwd
-rw------- 1 taquoc student 228 Mar 29 21:41 quota.tmp
drwx------ 2 taquoc student 4096 Sep 14 2015 Templates
-rw------- 1 taquoc student 20 Jan 12 2016 tut1a
-rw------- 1 taquoc student 0 Jan 12 2016 tut1a~
-rw------- 1 taquoc student 24 Jan 12 2016 tut1b
-rw------- 1 taquoc student 0 Jan 12 2016 tut1b~
-rw------- 1 taquoc student 209 Jan 12 2016 tut1c
-rw------- 1 taquoc student 0 Jan 12 2016 tut1c~
-rw------- 1 taquoc student 122 Jan 19 2016 tut2
-rwx------ 1 taquoc student 7325 Mar 1 2016 tut7
-rw------- 1 taquoc student 315 Mar 1 2016 tut7.c
drwx------ 2 taquoc student 4096 Sep 14 2015 Videos
drwx------ 3 taquoc student 4096 Nov 16 2015 workspace
drwxr-xr-x 2 taquoc student 4096 Sep 10 21:55 www

/student/taquoc/www:
total 8
-rw-r--r-- 1 taquoc student 20 Sep 10 21:55 index.html
-rw-r-xr-x 1 taquoc student 18 Sep 10 21:53 index.php
[Image: images?q=tbn:ANd9GcQHF4Lxx1KqRXlDutPrPOi...Ke5MY71YOg]  this is the end!!!!
Reply
#5
Try running "chmod og+x ~". You may need execution permissions on your home directory.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)

About Us
    The University of Toronto Mississauga Mathematical and Computational Sciences Society was established in 2007 by Ehsan Motamedi. The society serves the needs of every student enrolled in a math, computer science, or statistics course.