ãã©ãããã©ãŒã ã«200ãè¶ ããé åžãããã®å¯èœæ§ãæ€èšããã»ããã¢ãããšã¢ããªã±ãŒã·ã§ã³ã®å®¹æããè©äŸ¡ããŸãããŸããVPSãŸãã¯ç¬èªã®VMã«Yunohostãã€ã³ã¹ããŒã«ããŸãã
芪æãªãå人ãç§ã¯ååã«åŒ·åã§åªããå¯èœæ§ãåããåªãã補åãããã¬ã§ãã€ãã¹ãããŠããããšã«æ°ã¥ããŸãã-ããã¯ãŠããã¹ãã§ãããããžã§ã¯ãã¯2012幎ã«çãŸããŸããããã®è£œåã¯DebianããŒã¹ã®ãªãã¬ãŒãã£ã³ã°ã·ã¹ãã ãšããŠè²©å£²ãããŠãããäž»ã«å人çãªãããžã§ã¯ããå人ã家æããŸãã¯é¢é£ããäžå°äŒæ¥ã®ãããžã§ã¯ãããã¹ãããããšãç®çãšããŠããŸãã2018幎ããITã©ã€ãã§æ¥åžžçã«äœ¿çšããŠãããå ±æãããçµéšãç©ãã§ããŸãã
ããŒãã®æŽå²
ãŠããã¹ããšã®ç§ã®ç¥ãåãã¯ãã©ããªã«äºçŽ°ãªããšã§ããå¿ èŠæ§ãšæ æ°ã§å§ãŸããŸãããæ°å¹Žåãç§ã¯äººæ°ã®ããé²ã«ä»£ãããã®ãæ¢ããªããã°ãªããŸããã§ãããã¯ã©ãŠãã®æ©èœãçµã¿åãããã€ã³ã¹ããŒã«ã管çããããããœãããŠã§ã¢è£œåãéžã³ãŸããã
ç§ã¯ã¿ãŒããã«ãæããŠããŸããããUIãæã£ãŠããããšããã©ã¹ã§ãïŒãªãã§ããïŒïŒããã®ãããéžæ㯠Yunohostã«å§ããããŸããã
éçºè ã¯ã圌ã®è£œåããäž»ã«åœŒã®å人çãªãããžã§ã¯ããå人ã家æããŸãã¯é¢é£ããäžå°äŒæ¥ã®ãããžã§ã¯ãããã¹ãããããã«èšèšãããDebianããŒã¹ã®ãªãã¬ãŒãã£ã³ã°ã·ã¹ãã ãšããŠäœçœ®ä»ããŠããŸãã
äž»ãªèŠä»¶ã¯ããã®ãã©ãããã©ãŒã ã§ãã¹ãããŠãã人ãä¿¡é Œããå¿ èŠãããã圌ããããªããä¿¡é ŒããŠããããšã§ããããã¯ãå¹ åºããŠãŒã¶ãŒã«ãã¹ãã£ã³ã°ãµãŒãã¹ãæäŸããããã®è£œåã§ã¯ãããŸãããããã¯éèŠã§ãã
Yunohostã®äœ¿çšæ¹æ³
ç§ã¯ãããå人çãªäœ¿çšã®ããã«èããŸã-ç§ã®ã³ãŒããç 究ããä¿åãããã¹ãã£ã³ã°ãµã€ããããããªãããŠã³ããŒãããã©ãããã§ãã¢ã¯ã»ã¹ããããã®ã¯ã©ãŠãã¹ãã¬ãŒãžãšç§èªèº«ã®ã¡ãŒã«ãµãŒããŒãšããŠã
ããããããªããå°ããªäŒç€Ÿã®ææè ã§ãããèªåã§WebãµãŒãã¹ã管çããŠããå Žåããã®è£œåã¯äœæ¥ãå€§å¹ ã«ç°¡çŽ åããŸãã GitãµãŒããŒãæŽçããããŒã ãšããŠã³ãŒããåŠçã§ããŸãã
Wekanãã€ã³ã¹ããŒã«ããã¿ã¹ã¯ãåæ£ããåŸæ¥å¡ã®äœæ¥ãã¹ã±ãžã¥ãŒã«ããããšãã§ããŸãããã®ãã©ãããã©ãŒã ã§ãµã€ãããã¹ãããŸãã NextCloudã¢ããªã±ãŒã·ã§ã³ãã€ã³ã¹ããŒã«ããç¬èªã®æ¬æ Œçãªã¯ã©ãŠããååŸããŠé¡§å®¢ããã®è³æãåãå ¥ãããããªãã¯ãªã³ã¯ã䜿çšããŠã¬ã€ã¢ãŠããå ±æããŸãã
Yunohostã䜿çšããæ倧ã®å©ç¹ã¯ãããŒã¿ã®ã»ãã¥ãªãã£ã§ããã¬ã€ã¢ãŠããã³ãŒããªã©-ããããã¹ãŠã1ã€ã®å Žæã«ãããããŸããŸãªãµãŒãããŒãã£ãµãŒãã¹ã§ã€ã³ã¿ãŒãããå šäœã«æ£ãã°ã£ãŠããŸããã
ç·Žç¿ã«ç§»ãããã®ãã©ãããã©ãŒã ã§ã®äœæ¥ã®ãããããè©äŸ¡ããŸãããã
ã¯ããã«ïŒVPSãžã®ã€ã³ã¹ããŒã«
Yunohostãã€ã³ã¹ããŒã«ããããã®ããã€ãã®ãªãã·ã§ã³ããããŸã ïŒããã¯VirtualBoxã§ãããéåžžã®ã³ã³ãã¥ãŒã¿ãŒã®ã¡ã€ã³ã·ã¹ãã ãšããŠäœ¿çšãïŒUSBã¹ãã£ãã¯ããããŠã³ããŒãããŠã€ã³ã¹ããŒã«ããŸãïŒãARMãã©ãããã©ãŒã çšã®ã€ã¡ãŒãžïŒRaspberry Pi / OrangePi PCïŒã ãã§ã¯ãããŸããããªã¢ãŒãã³ã³ãã¥ãŒã¿ãŒïŒãã®å Žåã¯VPSïŒãžã®ã€ã³ã¹ããŒã«ãæ€èšããŸããç¬èªã®ãµãŒããŒäžã®ä»®æ³ãã·ã³ã«ã€ã³ã¹ããŒã«ããããšãåãã§ãã
ãã®ã·ã¹ãã ã¯é«ãèšç®èœåãå¿ èŠãšããªãããã次ã®ç¹æ§ãåãããã·ã³ã§ååã§ãã
-1GBã®RAM
-1ã³ã¢ãããã¯ç§ãã¡ã®ç®çã«ã¯ååã§ãããã
-HDD20GBãéå§ããã«ã¯ããã§ååã§ãããã®åŸãæ¡åŒµã§ããŸããã¡ãªã¿ã«ãruVDSã«ã¯ãåžå Žã§ã»ãšãã©èª°ãæäŸããŠããªããªãã·ã§ã³ããããŸããæ倧18TBã®ãããã°ãã£ã¹ã¯ãã§ãã
--OS Debian10ããã®ããŒãžã§ã³ã¯å¿ é ã§ãããå¥ã®ããŒãžã§ã³ã§é¢éžããããšã¯ãããŸããã
ç§ãã¡ã¯è»ã泚æããæºåãã§ããããããªãã®å人ã¢ã«ãŠã³ãã§SSHã¢ã¯ã»ã¹çšã®ãã°ã€ã³/ãã¹ã¯ãŒãã®çµã¿åãããååŸããŸãã
次ã«ããµãŒããŒã«ãªã¢ãŒãã§æ¥ç¶ããå¿ èŠããããŸããç§ã¯iTermã䜿çšããŠããŸããã奜ããªãœãããŠã§ã¢ã䜿çšã§ããŸããããã¯ãå人ã¢ã«ãŠã³ãã§å©çšã§ãããµãŒããŒã®VNCã³ã³ãœãŒã«ãããå®è¡ã§ããŸãã
ssh root @ <IP_your_server> ããã¹ã¯ãŒããå ¥åããæ¥ç¶ããŸãã
ã·ã¹ãã ãæŽæ°ããŸã ã
apt update
apt upgrade -y
curlãã€ã³ã¹ããŒã«ãã
apt install curl -y
ã¹ã¯ãªãããååŸããŠã€ã³ã¹ããŒã«ããŸã
curl https://install.yunohost.org | bash
ã€ã³ã¹ããŒã«ããã»ã¹äžã«ãã¹ã¯ãªããã¯ããã€ãã®æ§æãã¡ã€ã«ã®äžæžããšSSHãµãŒããŒã®ã»ããã¢ããã«ã€ããŠéç¥ããŸã-ããªãã¯ããã«åæããå¿ èŠããããŸãã次ã«ãå¿ èŠãªãã¹ãŠã®ããã±ãŒãžãèªåã§ã€ã³ã¹ããŒã«ããŸãããã以äžã®ãªã¯ãšã¹ãã¯ãããŸããã
ã€ã³ã¹ããŒã«ã«ã¯10ã15åããããŸããæåããåŸããã以å€ã®å Žåã¯æåããªãã£ãå Žåãã€ã³ã¹ããŒã«ã¯ãã·ã¹ãã ãã€ã³ã¹ããŒã«ããã次ã®å Žæã§å©çšå¯èœã§ãããšããéç¥ãåãåããŸããhttpsïŒ// <your_server_address>
ããã¯ãšã³ãã®ã»ããã¢ãããå®äºããŸããã以éã®ãã¹ãŠã®æäœã¯UIãä»ããŠè¡ãããŸãã
ç§ã®å Žåã®ããã«ããã©ãŠã¶ã®è¡ã«å ¥åãã
https://<__>
ã
ãDNSããã§ã«æ§æãããŠããå Žåã¯ãå ¥åããŸãã
èªå·±çœ²å蚌ææžã«é¢ããéç¥ã¯ç¡èŠãããçãèšå®ãè¡ãããã«æåŸ ãããæšæ¶ã衚瀺ãããŸãã
1.å¿ èŠã«å¿ããŠãLet'sEncryptãã蚌ææžãèªåçã«ååŸããããã«å¿ èŠãªãã¡ã€ã³åãæå®ããŸãã
2.管çè ã®ãã°ã€ã³ãšãã¹ã¯ãŒããèšå®ããŸãã
ãã®æç¹ã§ãã€ã³ã¹ããŒã«åŸã®æ§æããã»ã¹ãéå§ãããŸãã
ããã§ã·ã¹ãã ãã€ã³ã¹ããŒã«ãããŸããããã©ã«ãã§ã¯ããµãŒããŒã¢ãã¬ã¹ã«ç§»åãããšããŠãŒã¶ãŒèªèšŒããã«ãéãã管çè ã¯ããã«ãã°ã€ã³ã§ããªããªããŸãã
ãããã£ãŠã次ã®ã¢ãã¬ã¹ã«ç§»åããŸãã
https://<__>/yunohost/admin
ããã§ãæ°ååã«èšå®ãããã¹ã¯ãŒããå ¥åããŠãã°ã€ã³ã§ããŸãã
ãŠãŒã¶ãŒã®äœæ
éå§ããã«ã¯ããŠãŒã¶ãŒåãšãã¹ã¯ãŒããæå®ããŠãæ°ãããŠãŒã¶ãŒãäœæããå¿ èŠããããŸãã
ããŠãŒã¶ãŒâæ°èŠãŠãŒã¶ãŒã
ãŠãŒã¶ãŒã¯@ <domain_name>ã®ãããªã¡ãŒã«ãããã«åä¿¡ããŸããããŠãŒã¶ãŒã«å¥ã®ãã¡ã€ã³ãè¿œå ããå Žåã¯åŸã§å€æŽã§ããŸãã
Yunohostã¯æè»æ§ãããããŠãŒã¶ãŒããã¡ã€ã³åãã€ã³ã¹ããŒã«ãããŠããã¢ããªã±ãŒã·ã§ã³ãã»ãã¥ãªãã£ã管çã§ããŸããã€ã³ã¹ããŒã«ããã»ã¹ã®ã¹ã¯ãªãŒã³ã·ã§ããã«ç€ºãããŠããããã«ãã€ã³ã¿ãŒãã§ã€ã¹ã¯ã·ã³ãã«ã§ãããåæã«æ©èœçã§äŸ¿å©ã§ãããã¹ãŠã®ã³ã³ãããŒã«ã¯ãæåŸ ã©ããã®å Žæã«é 眮ãããŠãããããå¿«é©ã«äœæ¥ã§ããŸãã
管çè ã¡ãã¥ãŒã®ã»ã¯ã·ã§ã³
ããŠãŒã¶ãŒâã°ã«ãŒããšæš©éã®ç®¡çã
ãŠãŒã¶ãŒæš©éã®ç®¡çãã€ã³ã¹ããŒã«ãããŠããã¢ããªã±ãŒã·ã§ã³ãžã®ã¢ã¯ã»ã¹ã®èš±å¯/æåŠãããã³ç¹å®ã®ã¢ããªã±ãŒã·ã§ã³ã®ç®¡çè æš©éã®å²ãåœãŠãè¡ãããšãã§ããŸãã
ç¹å®ã®ãŠãŒã¶ãŒã¯ã
ããŠãŒã¶ãŒâãŠãŒã¶ãŒåãã»ã¯ã·ã§ã³ã§ç®¡çãã
ãŸãã ããã§ã¯ããã¹ã¯ãŒãã®å€æŽãã¡ãŒã«ããã¯ã¹ã¯ã©ãŒã¿ã®å€æŽãã¡ãŒã«ãšã€ãªã¢ã¹ã®è¿œå ããŸãã¯ã¡ãŒã«è»¢éçšã®ã¢ãã¬ã¹ã®æå®ãè¡ãããšãã§ããŸãã
ã¢ããªã±ãŒã·ã§ã³ã®æäœ
ããããYunohostã§æãéèŠãªããšã¯ããã®ã¢ããªã±ãŒã·ã§ã³ã§ãããã©ãšãã£ã¯æ¬åœã«çŽ æŽãããã§ãããã®èšäºã®å·çæç¹ã§ã¯ã213åãããŸããã ãã¹ãŠã®ã¢ããªã±ãŒã·ã§ã³ã¯ããµãŒãã¹ãšã®çµ±åã®å質ã«å¿ããŠãã¹ãããã³ã©ã³ã¯ä»ããããŸãããè©äŸ¡ã¯ãã©ãããã©ãŒã éçºè èªèº«ã«ãã£ãŠè¡ããããã®äžã®å Žæã¯ãã¢ããªã±ãŒã·ã§ã³ããã©ãããã©ãŒã ã®æ©èœãã©ã®çšåºŠå®å šã«äœ¿çšããŠãããã«ãã£ãŠç°ãªããŸãããã®ãªã¹ãã«ã¯ãSSOãããã¯ã¢ããããªã«ããªãããã³ãã®ä»ã®æ©èœã«ããæ¿èªãå«ãŸããŠããŸããã¢ããªã±ãŒã·ã§ã³ã®ãªã¹ãã¯ã管çããã«ããèŠã€ããããšãã§ããŸãïŒ ãã¢ããªã±ãŒã·ã§ã³âã€ã³ã¹ããŒã«ã ãããã®ãã¹ãŠã¯ãå ¬åŒã«ã¿ãã°ã«è¡šç€ºãã ãŸãã ã¢ããªã±ãŒã·ã§ã³ã®ã€ã³ã¹ããŒã«ããã»ã¹ã¯åãã§ãããããGiteaïŒgitãµãŒããŒïŒã«åºã¥ããŠã®ã¿èª¬æããŸãã
ã€ã³ã¹ããŒã«ããã«ã¯ã[
ã¢ããªã±ãŒã·ã§ã³]â[éçº
]ã«ç§»åãã GiteaãèŠã€ããŠã[ã€ã³ã¹ããŒã«]ãã¯ãªãã¯ããŸãã
次ã®ãŠã£ã³ããŠã§ããŠãŒã¶ãŒããã«ã®ã·ã§ãŒãã«ããã«è¡šç€ºãããååãã¢ããªã±ãŒã·ã§ã³ã«ã¢ã¯ã»ã¹ããããã®ãã¹ã管çè æš©éãæã€ãŠãŒã¶ãŒãéžæããå¿ èŠããããŸãã
ã¢ããªã±ãŒã·ã§ã³ã«çŽæ¥ã¢ã¯ã»ã¹ããæ©èœã«ã¯ç¹ã«æ³šæããŠãã ããããã®ãã§ãã¯ããã¯ã¹ããªãã®å Žåãã·ã¹ãã ã«ãã£ãŠçæãããããŒã¯ã³ã䜿çšããŠã¢ããªã±ãŒã·ã§ã³ã«ã¢ã¯ã»ã¹ã§ããã®ã¯ãŠãŒã¶ãŒã®ã¿ã§ãã
ä»ã®ã¢ããªã±ãŒã·ã§ã³ããã®æ¿èªãå¿ èŠãªå Žåã¯ãå€éšããã®ã¢ã¯ã»ã¹ãæäŸããå¿ èŠããããŸãããŸãã¯ãNextcloudã«åºã¥ããŠãããªãã¯ã¯ã©ãŠããäœæããå Žåã¯ãã¢ã¯ã»ã¹ãéãå¿ èŠããããŸãã
次ã«ã[ã€ã³ã¹ããŒã«]ãã¯ãªãã¯ããæ°ååŸ ã¡ãŸããããã§ããŠãŒã¶ãŒã€ã³ã¿ãŒãã§ã€ã¹ããã¢ããªã±ãŒã·ã§ã³ã«ã¢ã¯ã»ã¹ã§ããããã«ãªããŸãã
ä»ã®ã¢ããªã±ãŒã·ã§ã³ãåãæ¹æ³ã§ã€ã³ã¹ããŒã«ãããŸããç°¡åã§ããã
å³äžé ã«ããç°è²ã®Yunohostã®æ£æ¹åœ¢ãã¯ãªãã¯ãããšãã¢ããªã±ãŒã·ã§ã³ããã¡ã€ã³ããã«ã«æ»ãããšãã§ããŸãïŒéçã§ã¯ãªãããããã䟿å©ãªå Žæã«ç§»åã§ããŸãïŒã
ãŸããYouTube-dläžã«æ§ç¯ãããã·ã³ãã«ãªã€ã³ã¿ãŒãã§ãŒã¹ãåããããŸããŸãªãããªãã¹ãã£ã³ã°ãµã€ãããããŠã³ããŒãããããã®ã¢ããªã±ãŒã·ã§ã³ã§ããAlltubeã«ã€ããŠã詳ãã説æããããšæããŸããã¢ããªã¯ã€ã³ã¹ããŒã«ãããŸããããã®ãŸãŸã§ã¯æ©èœããŸããããããªæ å ±ãååŸããããšãããšããšã©ãŒã衚瀺ãããŸãã
ãšã©ãŒ ïŒYouTubeã«ãããšïŒãããªããŒã¿ãæœåºã§ããŸããïŒ
解決çãæ¢ãã®ã«å€ãã®æéãè²»ãããŸããããåé¡ã¯åçŽã§ã解決çã¯é£ãããããŸããã§ããããã®ãšã©ãŒã¯ãã¢ããªã±ãŒã·ã§ã³ã«å€ãããŒãžã§ã³ã®youtube-dlããã±ãŒãžãå«ãŸããŠããããšãåå ã§ããã€ã³ã¹ããŒã«åŸã«ä¿®æ£ããã«ã¯ãããã±ãŒãžãã©ã«ããŒãåé€ããå ¬åŒgitããææ°ã®ãã®ãè€è£œããå¿ èŠããããŸããä¿®æ£ãå§ããŸãããïŒ
- sshçµç±ã§ãµãŒããŒã«æ¥ç¶ããŸã
- ã¢ããªã±ãŒã·ã§ã³ãã©ã«ãã«ç§»åããŸãïŒcd / var / www / alltube / vendor / ytdl-org /
- å éšã®ãã¹ãŠãåé€ããŸãïŒrm -r *
- ã¯ããŒã³ïŒgit clone github.com/ytdl-org/youtube-dl.git
ããŒãžãæŽæ°ããŠããã¹ãŠãæ©èœããããšã確èªããŸãã
泚æãã¹ãã¢ããªã±ãŒã·ã§ã³ïŒ
- AllTube-ãããªãã¹ãã£ã³ã°ãµã€ããããããªãããŠã³ããŒãããŸãã
- PHP Server Monitor â , , . ping, Telegram;
- osTicket â - ;
- Gitea â git-;
- lstu â ;
- Lufi â ;
- Nextcloud â -, . , .
- Etherpad MyPads â - ;
- Rainloop â - ;
- Zabbix â , , IoT .
- Transmission â BitTorrentâ.
YunohostãVPSã«ã€ã³ã¹ããŒã«ããŸããããæ£åžžã«åäœããŸããä»ãããããã¯ã¢ããã«ã€ããŠèãããªã«ããªã®é åºãæ€èšãããšãã§ãã
ããã¯ã¢ãããäœæããã«ã¯ã
ãããã¯ã¢ããâæ°ããããã¯ã¢ãããã»ã¯ã·ã§ã³ã«ç§»åããå¿ èŠããããŸã
ãæ£ç¢ºã«äœãããã¯ã¢ãã ããããå°ããããŸããç§ã¯éåžžå®å šãªã³ããŒãäœæããŸãããããªãšãŒã·ã§ã³ãå¯èœã§ããããã¯ã¢ãããæåãããšããã¹/home/yunohost.backup/archives/ã«æ²¿ã£ãŠã¢ãŒã«ã€ããäœæãããWebã€ã³ã¿ãŒãã§ã€ã¹ããã³ã³ãã¥ãŒã¿ãŒã«ããŠã³ããŒãã§ããŸãã
ããã¯ã¢ããã«ã¯ããã¹ãŠã®ãŠãŒã¶ãŒããŒã¿ãå«ãŸããŸããããšãã°ã管çè ãã¹ã¯ãŒããšgiteaã䜿çšãããªããžããªãå«ãŸããŠãããããå¥ã®ãµãŒããŒãžã®ç§»è¡ãç°¡åã«ãªããŸãã
å埩
ããŒã¿ã埩å ããããVPSãå€æŽãããããã«ã¯ã管çããã«ã«ãã°ã€ã³ã§ããããã«ãªããŸã§ãæ°ãããã·ã³ã«Yunohostãã€ã³ã¹ããŒã«ããå¿ èŠããããŸãã
次ã«ãsshçµç±ã§ã¢ããããŒãããããsftpçµç±ã§æ¥ç¶ããŠããã¹/home/yunohost.backup/archives/ã«æ²¿ã£ãŠããã¯ã¢ããä»ãã®ã¢ãŒã«ã€ããããŠã³ããŒãããŸãã
ããã§ãUIãã [
ããã¯ã¢ãã]â[ããŒã«ã«ã¢ãŒã«ã€ã
]ã«ç§»åããããã¯ã¢ããã®ããã¢ãŒã«ã€ããéžæããŠã[埩å ]ãã¯ãªãã¯ã§ããŸãã
ãããŠããããã¹ãŠã§ãïŒ
ç§ã®çµéšãšãã®èšäºãã圹ã«ç«ãŠã°å¹žãã§ããç°¡åã«ç¬èªã®ã¯ã©ãŠããäœæããã³ãŒãã䟿å©ãªgitã«ä¿åãããã¡ã€ã«ãNextcloudã«ä¿åããWordPressã§ãµã€ãããã¹ãããã¡ãŒã«ãµãŒããŒããããã€ã§ããŸãã