/ÖÐÎÄ/
/ÖÐÎÄ/
/ÖÐÎÄ/
/ÖÐÎÄ/
/ÖÐÎÄ/
/ÖÐÎÄ/
/ÖÐÎÄ/
/ÖÐÎÄ/
/ÖÐÎÄ/
/ÖÐÎÄ/
²ÝݮҪ·¹ÍøÈí¼þ(2020Äê¶È×î¼ÑÒª·¹Íø)ÊÇÒ»¿îÓÉÂÛ̳ÍøÓÑÖÆ×÷·ÖÏíµÄ¿ªÔ´Èí¼þ£¬ËüµÄ¹¦ÄÜÊ®·Ö¼òµ¥£¬¾ÍÊǵ±Ò»¸öÍøÂçÆòؤÉìÊÖÒª·¹£¬½ð¶îÊ©Éá¶àÊ©ÉáÉÙ¶¼ËæÒ⣬¸ÐÐËȤµÄÅóÓÑ¿ÉÒÔÏÂÔØÌåÑé¡£
Äêµ×ÁË.²Å¾õµÃÄÒÖÐÐßɬ.
×¼±¸È¥Òª·¹,¶¬ÌìÓÖÌ«Àä,ÏëÁËÏë,»¹ÊÇÔÚÍøÉÏÒª·¹°É.
ËùÒÔ×öÁËÒ»¸öÏßÉÏÒª·¹µÄÍøÕ¾,¼ÈÏëÇ¡ÀÃÇ®,ÓÖÀñò¶ø²»Ê§ÞÏÞÎ
ÎÒ»¹ÕæµÄÊǸöС»úÁé¹íÄØ
Òª·¹ÈËÒª·¹»êÒª·¹¶¼ÊÇÈËÉÏÈË,Òª×Ô¼ºµÄ·¹,ÈñðÈËÎÞ·¹¿ÉÒª
˵һÏÂЧ¹û°É ¾ÍÊÇÖ§³Ö΢ÐźÍÖ§¸¶±¦Òª·¹Âï,
È»ºóºÃÐÄÈËÊäÈë½ð¶îɨÃèÖ§¸¶
È»ºóÍøÕ¾×Ô¶¯¸üÐÂÕâÌõÊ©Éá¼Ç¼ Ìáʾ"ÒÑÊ©Éá"
µ±È»Ã»Ö§¸¶µÄÒ²¸üР»áÌáʾ"òËÆÊ©Éá"
ÑÝʾµØÖ·:http://yaofan.caomei.in/
(ÑÝʾµØÖ·¿ÉÄÜ»áºÍͼÀýÒÔ¼°ÄãÃÇÏÂÔصIJ»Ì«Ò»Ñù,ÔÒòÊÇÒòΪÎÒÒ»Ö±ÔÚÐÞ¸ÄÍêÉƺÍÃÀ»¯,
µÈ¶¼ÅªºÃÁË »áÔÚ´ËÌù¸üÐÂ,²¢½«ÏàÓ¦µÄÓ¦ÓóÌÐòÉÏ´«µ½Ìû×Ó×îµ×²¿µÄÍøÅÌÁ´½Ó)
±¾³ÌÐò·ÇÔ´Âë Ö»ÊÇÓ¦ÓóÌÐò,Ä¿Ç°Ò²²»»áÌṩԴÂë,ÔÒòÊDzִÙÉÏÏß,ʹÓõÄlayjsºÍasp.net core MVC´î½¨µÄ
´úÂëÉÔ³ó ÎÞÁ³¼ûÈË
Ôªµ©ºó»á×öÒ»¸övue+asp.net core webapiµÄ ·ÖÀëÒ»ÏÂÇ°ºó¶Ë µ½Ê±ºò¿ªÔ´¸øÄãÃÇ°É
»ùÓÚ.net5.0¿ª·¢
SelfContained±íʾ×Ô´ø.NET CoreÔËÐÐʱ»·¾³Óë³ÌÐò¼¯ÒÀÀµ,²¿ÊðµÄÄ¿±ê»úÆ÷²»ÐèÒª°²×°.NET Core SDK
²»¹ýÐèÒª°²×°.net CoreÔËÐÐʱ
²»´øSelfContainedµÄÐèÒª°²×°.NET Core SDK
.net core5.0Ïà¹ØÎļþÏÂÔصØÖ·:https://dotnet.microsoft.com/download/dotnet/5.0
Ö»Ö§³ÖÂëÖ§¸¶
ÕÒµ½appsettings.jsonÎļþ
ÀïÃæ¿ÉÒÔÅäÖÃÂëÖ§¸¶µÄapiµØÖ· tokenºÍÂëÖ§¸¶ID
¸Ä³ÉÄã×Ô¼ºµÄ¾ÍÐÐÁË
Êý¾Ý¿âÔÚDataÎļþ¼ÐÄÚ
»Øµ÷µØÖ·ÐèÒªÔÚÂëÖ§¸¶ÅäÖà Ϊhttp://ÄãµÄÓòÃû/Notify
ÐÞ¸ÄÍøÕ¾±êÌâÔÚappsettings.jsonÎļþµÄ titleÀïÃæ
Ð޸Ķ˿ںÅÔÚappsettings.jsonÎļþµÄ urlsÀïÃæ
ÐÞ¸Älogo ÔÚwwwroot/imageÏÂÃæ
²¿Êðµ½·þÎñÆ÷Ïà¹Ø½Ì³ÌÈçÏÂ:
ʹÓà IIS ÔÚ Windows ÉÏÍÐ¹Ü ASP.NET Core
https://docs.microsoft.com/zh-cn/aspnet/core/host-and-deploy/iis/?view=aspnetcore-5.0
ʹÓà Nginx ÔÚ Linux ÉÏÍÐ¹Ü ASP.NET Core
https://docs.microsoft.com/zh-cn/aspnet/core/host-and-deploy/linux-nginx?view=aspnetcore-5.0
ʹÓà Apache ÔÚ Linux ÉÏÍÐ¹Ü ASP.NET Core
https://docs.microsoft.com/zh-cn/aspnet/core/host-and-deploy/linux-apache?view=aspnetcore-5.0
ÆäËû½Ì³ÌÇë²Î¿¼Î¢Èí¹Ù·½Îĵµ
https://docs.microsoft.com/zh-cn/aspnet/core/host-and-deploy/?view=aspnetcore-5.0
ÒÑUbuntu 16.04²¿ÊðΪÀý
1.°²×°ÔËÐÐʱ
sudo apt-get update; \
sudo apt-get install -y apt-transport-https && \
sudo apt-get update && \
sudo apt-get install -y aspnetcore-runtime-5.0
2.°²×°ºÍÅäÖ÷À»ðǽ
sudo apt-get install ufw
sudo ufw allow 22/tcp
sudo ufw allow 80/tcp
sudo ufw allow 443/tcp
sudo ufw allow 9010/tcp
sudo ufw enable
3.ÉÏ´«Ä¿Â¼µ½·þÎñÆ÷
4.sshµÇ¼·þÎñÆ÷ ÔÚÍøվĿ¼ÔËÐÐ dotnet BeggingOnline.dll
(Óиö¿Õ¸ñ¼ÇµÃÒªÊäÉÏ)
5.ÊØ»¤³ÌÐòµÄ»°»òÕßnginxÍйܵĻ° Çë×ÔÐаٶȻòÕß΢Èí¹ÙÍøÎĵµ
6.¼ÇµÃ·þÎñÆ÷µÄ°²È«×éÉèÖÃÒ»ÏÂ
window±¾µØ²âÊԵĻ°
Ö±½ÓË«»÷BeggingOnline.exe¼´¿ÉÔËÐÐ ä¯ÀÀÆ÷´ò¿ªhttp://localhost:9010/¼´¿É
»òÕßÃüÁîÐÐÔËÐÐdotnet BeggingOnline.dll
(Óиö¿Õ¸ñ¼ÇµÃÒªÊäÉÏ)
¹ØÓÚÌÚÅ£ | ÁªÏµ·½Ê½ | ·¢Õ¹Àú³Ì | °æȨÉùÃ÷ | ÏÂÔØ°ïÖú(£¿) | ¹ã¸æÁªÏµ | ÍøÕ¾µØͼ | ÓÑÇéÁ´½Ó
Copyright 2005-2024 QQTN.com ¡¾ÌÚÅ£Íø¡¿ °æȨËùÓÐ ¶õICP±¸2022005668ºÅ-1 | ¶õ¹«Íø°²±¸ 42011102000260ºÅ
ÉùÃ÷£º±¾Õ¾·ÇÌÚѶQQ¹Ù·½ÍøÕ¾ ËùÓÐÈí¼þºÍÎÄÕÂÀ´×Ô»¥ÁªÍø ÈçÓÐÒìÒé ÇëÓë±¾Õ¾ÁªÏµ ±¾Õ¾Îª·ÇÓ®ÀûÐÔÍøÕ¾ ²»½ÓÊÜÈκÎÔÞÖúºÍ¹ã¸æ