User Tools

Site Tools


guides:webserver:part3

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
guides:webserver:part3 [2019/10/04 13:47]
admin
guides:webserver:part3 [2021/05/25 18:49] (current)
admin [Create the first program]
Line 10: Line 10:
  
 <code bash> <code bash>
-sudo chown ubuntu:​ubuntu /​var/​www/​html/​+sudo chown -R ubuntu:​ubuntu /​var/​www/​html/​
 cd /​var/​www/​html/​ cd /​var/​www/​html/​
 mv index.html old.html mv index.html old.html
Line 25: Line 25:
 <​code>​ <​code>​
 echo "<?​php echo '​Hello,​ world';​ ?>" > test.php echo "<?​php echo '​Hello,​ world';​ ?>" > test.php
 +</​code>​
 +
 +<​code>​
 +echo "<?​php echo 2+2; ?>" > test2.php
 </​code>​ </​code>​
  
guides/webserver/part3.1570193222.txt.gz ยท Last modified: 2019/10/04 13:47 by admin