1\u3001 \u7ec8\u7aef\u547d\u4ee4<\/p> \n
\u3000\u3000a).\u6253\u5f00Mac\u7684\u547d\u4ee4\u7ec8\u7aef,\u8f93\u5165 sudo su \u6309\u56de\u8f66<\/p> \n
\u3000\u3000b).\u8f93\u5165 ssh root@102.210.86.213 \u5b83\u4f1a\u63d0\u793a\u4f60\u8f93\u5165\u5bc6\u7801,\u8f93\u5165\u6b63\u786e\u7684\u5bc6\u7801\u4e4b\u540e,\u4f60\u5c31\u53d1\u73b0\u5df2\u7ecf\u767b\u9646\u6210\u529f\u4e86\u3002<\/p> \n
<\/p> \n
2\u3001apache \u914d\u7f6e\u548c\u91cd\u542f<\/p> \n
\u3000\u3000a).Ubuntu\u9ed8\u8ba4\u662f\/var\/www\uff0c\u53ef\u4ee5\u5728\/etc\/apache2\/sites-available\u76ee\u5f55\u7684default\u4e2d\u4fee\u6539apache \u9ed8\u8ba4\u5730\u5740\u3002<\/p> \n
\u3000\u3000b).\u4e00\u3001Start Apache 2 Server \/\u542f\u52a8apache\u670d\u52a1
\u3000\u3000\u3000\u3000 # \/etc\/init.d\/apache2 start
or
$ sudo \/etc\/init.d\/apache2 start
\u4e8c\u3001 Restart Apache 2 Server \/\u91cd\u542fapache\u670d\u52a1
# \/etc\/init.d\/apache2 restart
or
$ sudo \/etc\/init.d\/apache2 restart
\u4e09\u3001Stop Apache 2 Server \/\u505c\u6b62apache\u670d\u52a1
# \/etc\/init.d\/apache2 stop
or
$ sudo \/etc\/init.d\/apache2 stop<\/p> \n
3\u3001\u4fee\u6539\u6587\u4ef6\u5939\u53ef\u8bfb\u5199\u6743\u9650<\/p> \n
\u3000\u3000a).sudo chmod -R 777 www<\/p> \n
<\/p>\n<\/div>","orderid":"0","title":"Mac\u4e0b\u5982\u4f55\u7528SSH\u8fde\u63a5\u8fdc\u7a0bLinux\u670d\u52a1\u5668\u53caLinux\u4e00\u4e9b\u5e38\u7528\u64cd\u4f5c\u547d\u4ee4\uff0c\u66f4\u65b0\u4e2d.....","smalltitle":"","mid":"0","fname":"OS X","special_id":"0","bak_id":"0","info":"0","hits":"117","pages":"1","comments":"0","posttime":"2019-08-24 00:07:53","list":"1566576473","username":"admin","author":"","copyfrom":"","copyfromurl":"","titlecolor":"","fonttype":"0","titleicon":"0","picurl":"https:\/\/www.cppentry.com\/upload_files\/","ispic":"0","yz":"1","yzer":"","yztime":"0","levels":"0","levelstime":"0","keywords":"Mac<\/A> \u4f55\u7528<\/A> SSH<\/A> \u8fde\u63a5<\/A> \u8fdc\u7a0b<\/A> Linux<\/A> \u670d\u52a1\u5668<\/A> \u4e00\u4e9b<\/A> \u5e38\u7528<\/A> \u64cd\u4f5c<\/A> \u547d\u4ee4<\/A> \u66f4\u65b0<\/A> .....<\/A>","jumpurl":"","iframeurl":"","style":"","template":"a:3:{s:4:\"head\";s:0:\"\";s:4:\"foot\";s:0:\"\";s:8:\"bencandy\";s:0:\"\";}","target":"0","ip":"120.229.33.201","lastfid":"0","money":"0","buyuser":"","passwd":"","allowdown":"","allowview":"","editer":"","edittime":"0","begintime":"0","endtime":"0","description":"Mac\u4e0b\u5982\u4f55\u7528SSH\u8fde\u63a5\u8fdc\u7a0bLinux\u670d\u52a1\u5668\u53caLinux\u4e00\u4e9b\u5e38\u7528\u64cd\u4f5c\u547d\u4ee4\uff0c\u66f4\u65b0\u4e2d.....","lastview":"1706578863","digg_num":"0","digg_time":"0","forbidcomment":"0","ifvote":"0","heart":"","htmlname":"","city_id":"0"},"page":"1"}