/dev/null 8 sudo apt update 9 sudo apt install docker-ce docker-ce-cli containerd.io 10 sudo usermod -aG docker ubuntu 11 sudo systemctl start docker 12 sudo systemctl enable docker 13 sudo apt update 14 sudo apt install curl 15 curl -sL https://deb.nodesource.com/setup_lts.x | sudo -E bash - 16 apt-get install nodejs -y 17 sudo apt-get install nodejs -y 18 npm --version 19 nodejs --version 20 sudo dd if=/dev/zero of=/mnt/swapfile bs=1M count=4096 21 "> /dev/null 8 sudo apt update 9 sudo apt install docker-ce docker-ce-cli containerd.io 10 sudo usermod -aG docker ubuntu 11 sudo systemctl start docker 12 sudo systemctl enable docker 13 sudo apt update 14 sudo apt install curl 15 curl -sL https://deb.nodesource.com/setup_lts.x | sudo -E bash - 16 apt-get install nodejs -y 17 sudo apt-get install nodejs -y 18 npm --version 19 nodejs --version 20 sudo dd if=/dev/zero of=/mnt/swapfile bs=1M count=4096 21 "> /dev/null 8 sudo apt update 9 sudo apt install docker-ce docker-ce-cli containerd.io 10 sudo usermod -aG docker ubuntu 11 sudo systemctl start docker 12 sudo systemctl enable docker 13 sudo apt update 14 sudo apt install curl 15 curl -sL https://deb.nodesource.com/setup_lts.x | sudo -E bash - 16 apt-get install nodejs -y 17 sudo apt-get install nodejs -y 18 npm --version 19 nodejs --version 20 sudo dd if=/dev/zero of=/mnt/swapfile bs=1M count=4096 21 ">
    1  ls
    2  pwd
    3  sudo passwd root
    4  sudo apt update
    5  sudo apt install apt-transport-https ca-certificates curl software-properties-common
    6  curl -fsSL <https://download.docker.com/linux/ubuntu/gpg> | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg
    7  echo "deb [signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] <https://download.docker.com/linux/ubuntu> $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
    8  sudo apt update
    9  sudo apt install docker-ce docker-ce-cli containerd.io
   10  sudo usermod -aG docker ubuntu
   11  sudo systemctl start docker
   12  sudo systemctl enable docker
   13  sudo apt update
   14  sudo apt install curl
   15  curl -sL <https://deb.nodesource.com/setup_lts.x> | sudo -E bash -
   16  apt-get install nodejs -y
   17  sudo apt-get install nodejs -y
   18  npm --version
   19  nodejs --version
   20  sudo dd if=/dev/zero of=/mnt/swapfile bs=1M count=4096
   21  sudo mkswap /mnt/swapfile
   22  sudo swapon /mnt/swapfile
   23  sudo chmod 600 /mnt/swapfile
   24  sudo swapon /mnt/swapfile
   25  npm i -g pm2
   26  sudo npm i -g pm2
   27  ls
   28  cd colyseus-server/
   29  npm i
   30  pm2 start npm --name colyseus_server --  run start
   31  pm2 monit
   32  pm2 status
   33  cd ..
   34  ls
   35  cd docker-compose/
   36  docker-compose up
   37  docker --version
   38  sudo apt  install docker-compose
   39  docker-compose up
   40  sudo docker-compose up
   41  sudo docker-compose up -d
   42  docker ps
   43  sudo docker ps
   44  sudo apt install nginx
   45  sudo systemctl start nginx
   46  sudo systemctl enable nginx
   47  systemctl status nginx
   48  sudo nano /etc/nginx/sites-available/default
   49  sudo nginx -t
   50  sudo systemctl restart nginx
   51  sudo apt update
   52  sudo apt install certbot python3-certbot-nginx
   53  sudo certbot --nginx -d ws.ugizz.store
   54  sudo crontab -e
   55  sudo nano /etc/nginx/sites-available/default
   56  cd ..
   57  ls
   58  pm2 monit
   59  pm2 restart 0
   60  pm2 monit
   61  pm2 restart 0
   62  pm2 monit
   63  pm2 restart 0
   64  pm2 monit
   65  pm2 restart 0
   66  pm2 monit
   67  pm2 restart 0
   68  pm2 monit
   69  mysql -u root -p
   70  mysql -version
   71  ls
   72  cd actions-runner/
   73  ls
   74  nohup ./run.sh &
   75  tail -f nohup.out
   76  lsof -i :3000
   77  lsof -i 
   78  mysql --version
   79  docker ps
   80  docker inspect ghcr.io/ysw7939/api-server:latest
   81  docker inspect -f '{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' ghcr.io/ysw7939/api-server:latest 
   82  docker images
   83  docker ps
   84  lsof -i:80
   85  sudo lsof -i :80
   86  sudo lsof -i :8080
   87  docker network ls
   88  docker ps
   89  docker logs d072db5a5e56
   90  docker ps
   91  docker logs ad6704c9c78e
   92  docker inspect ad6704c9c78e
   93  docker inspect --format='{{range .Config.Env}}{{println .}}{{end}}' ad6704c9c78e
   94  docker ps
   95  docker inspect --format='{{range .Config.Env}}{{println .}}{{end}}' 3a44afce3f1e
   96  docker logs 3a44afce3f1e
   97  docker ps
   98  docker logs 5cc044f67bea
   99  docker inspect --format='{{range .Config.Env}}{{println .}}{{end}}' 5cc044f67bea
  100  docker ps
  101  docker logs f485cd11e652
  102  docker inspect -f '{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' f485cd11e652
  103  docker exec f485cd11e652 env
  104  docker inspect docker inspect f485cd11e652 | grep "Env"
  105  docker inspect --format='{{range .Config.Env}}{{println .}}{{end}}' f485cd11e652
  106  docker ps
  107  docker inspect --format='{{range .Config.Env}}{{println .}}{{end}}' 50aed656e8f7
  108  pm2 monit
  109  pm2 monit
  110  pm2 restart 0
  111  pm2 monit
  112  docker ps
  113  docker inspect --format='{{range .Config.Env}}{{println .}}{{end}}' 5b7c7397f9f6
  114  docker ps
  115  docker inspect --format='{{range .Config.Env}}{{println .}}{{end}}' 487bc431e21b
  116  docker logs 487bc431
  117  docker ps
  118  docker inspect --format='{{range .Config.Env}}{{println .}}{{end}}' 4a581bdbb959
  119  docker ps
  120  docker inspect --format='{{range .Config.Env}}{{println .}}{{end}}' 6306a3ee3ca2
  121  docker ps
  122  docker inspect --format='{{range .Config.Env}}{{println .}}{{end}}' 5572a88c547b
  123  docker ps
  124  docker inspect --format='{{range .Config.Env}}{{println .}}{{end}}' b454c364e092
  125  docker run -it ghcr.io/ysw7939/api-server:latest /bin/bash
  126  docker ps
  127  docker inspect --format='{{range .Config.Env}}{{println .}}{{end}}' 7752d31ac887
  128  sudo docker stop 5840427f882b
  129  sudo docker rm 5840427f882
  130  sudo docker rmi -f ghcr.io/ysw7939/api-server:latest
  131  docker ps
  132  docker inspect --format='{{range .Config.Env}}{{println .}}{{end}}' 1174ff5a0e01
  133  docker ps
  134  docker inspect --format='{{range .Config.Env}}{{println .}}{{end}}' 8476763c279e
  135  docker ps
  136  docker inspect --format='{{range .Config.Env}}{{println .}}{{end}}' ee6642773e37
  137  docker logs ee6642773e37
  138  docker ps
  139  docker logs 5a04f73697cf
  140  docker ps
  141  docker logs 4ec273196bb4
  142  docker inspect --format='{{range .Config.Env}}{{println .}}{{end}}' 4ec273196bb4
  143  docker ps
  144  docker logs 1e1f8d94298f
  145  docker inspect --format='{{range .Config.Env}}{{println .}}{{end}}' [Nest] 1  - 02/16/2024, 1:02:04 PM   ERROR [TypeOrmModule] Unable to connect to the database. Retrying (1)...
  146  Error: getaddrinfo ENOTFOUND 'host.docker.internal'
  147  docker ps
  148  docker inspect --format='{{range .Config.Env}}{{println .}}{{end}}' 1e1f8d94298f
  149  docker ps
  150  docker inspect --format='{{range .Config.Env}}{{println .}}{{end}}' 69ce1b185088
  151  docker logs 69ce1b185088
  152  docker ps
  153  exec -it mysql:8.0 bash
  154  docker exec -it mysql:8.0 bash
  155  docker exec -it mysql bash
  156  docker ps
  157  docker logs 09c7a9b2ecd1
  158  docker inspect --format='{{range .Config.Env}}{{println .}}{{end}}' 
  159      at Packet.asError (/var/app/node_modules/mysql2/l
  160  docker ps
  161  docker logs 58c0bda2db4b
  162  docker inspect --format='{{range .Config.Env}}{{println .}}{{end}}' 09c7a9b2ecd1
  163  docker ps
  164  docker inspect --format='{{range .Config.Env}}{{println .}}{{end}}' 58c0bda2db4b
  165  docker ps -a
  166  docker exec -it mysql-db bash
  167  docker ps -a
  168  docker logs e0e11f9a4ae7
  169  docker ps -a
  170  docker logs 096dcfd42c66
  171  docker ps -a
  172  sudo vi /etc/nginx/sites-available/default
  173  sudo nginx -t
  174  sudo systemctl restart nginx
  175  sudo vi /etc/nginx/sites-available/default
  176  sudo nginx -t
  177  sudo systemctl restart nginx
  178  sudo certbot --nginx -d api.ugizz.store
  179  sudo nginx -t
  180  sudo systemctl restart nginx
  181  docker logs 096dcfd42c66
  182  docker ps -a
  183  docker logs e
  184  pm2 monit
  185  pm2 status
  186  pm2 monit
  187  pm2 status
  188  pm2 delete 0
  189  pm2 start npm --name colyseus --  run start
  190  pm2 monit
  191  pm2 delete 0
  192  ls
  193  cd colyseus-server/
  194  pm2 start npm --name colyseus --  run start
  195  pm2 monit
  196  pm2 status
  197  pm2 delete 0
  198  pm2 start npm --name colyseus --  run start2
  199  pm2 monit
  200  cd colyseus-server/
  201  pm2 start npm --name colyseus --  run start3
  202  pm2 monit
  203  pm2 status
  204  pm2 restart 0
  205  pm2 restart 1
  206  pm2 monit
  207  pm2 delete 1
  208  pm2 restart 0
  209  pm2 monit
  210  pm2 restart 0
  211  pm2 monit
  212  pm2 start npm --name colyseus --  run start3
  213  pm2 monit
  214  pm2 delete 1
  215  pm2 delete 2
  216  cd colyseus-server/
  217  ls
  218  pm2 start npm --name colyseus --  run start3
  219  pm2 monit
  220  pm2 start npm --name colyseus --  run start
  221  pm2 monit
  222  pm2 delete 0
  223  pm2 delete 3
  224  pm2 delete 4
  225  pm2 start npm --name colyseus --  run start
  226  pm2 start npm --name colyseus --  run start2
  227  pm2 start npm --name colyseus --  run start3
  228  pm2 monit
  229  pm2 delete 0
  230  cd ..
  231  ls
  232  cd colyseus-gateway/
  233  ls
  234  npm i
  235  pm2 start npm --name colyseus --  run start
  236  pm2 monit
  237  pm2 restart 1
  238  pm2 restart 2
  239  pm2 monit
  240  pm2 restart 3
  241  pm2 monit
  242  npm run build
  243  pm2 restart 3
  244  pm2 monit
  245  pm2 delete
  246  pm2 delete all
  247  cd ..
  248  cd colyseus-
  249  cd colyseus-server/
  250  ls
  251  pm2 start npm --name colyseus --  run start
  252  pm2 start npm --name colyseus --  run start2
  253  pm2 start npm --name colyseus --  run start23
  254  pm2 monit
  255  pm2 delete 2
  256  pm2 start npm --name colyseus --  run start3
  257  pm2 monit
  258  pm2 delete all
  259  pm2 start
  260  pm2 monit
  261  sudo nano /etc/nginx/sites-available/default
  262  sudo vi /etc/nginx/sites-available/default
  263  sudo certbot --nginx -d ws1.ugizz.store
  264  sudo certbot --nginx -d ws2.ugizz.store
  265  sudo nginx -t
  266  sudo systemctl restart nginx
  267  sudo vi /etc/nginx/sites-available/default
  268  sudo certbot --nginx -d ws2.ugizz.store
  269  sudo systemctl restart nginx
  270  sudo vi /etc/nginx/sites-available/default
  271  sudo systemctl restart nginx
  272  pm2 monit
  273  pm2 delete all
  274  cd ..
  275  ls
  276  pm2 start
  277  pm2 delete all
  278  pm2 start
  279  pm2 monit
  280  npm build
  281  npm run build
  282  cd colyseus-server1/
  283  npm run build
  284  pm2 monit
  285  pm2 delete all
  286  cd ..
  287  ls
  288  cd colyseus-server/
  289  pm2 start
  290  pm2 monit
  291  pm2 delete all
  292  cd ..
  293  ls
  294  pm2 start
  295  pm2 delete all
  296  pm2 start
  297  pm2 monit
  298  pm2 restart
  299  pm2 restart all
  300  pm2 monit
  301  pm2 restart all
  302  pm2 monit
  303  la
  304  pm2 delete all
  305  pm2 start
  306  pm2 monit
  307  pm2 delete all
  308  pm2 start
  309  pm2 monit
  310  pm2 delete all
  311  pm2 start
  312  npm run build
  313  pm2 delete all
  314  pm2 start
  315  pm2 delete all
  316  npm run build
  317  pm2 start
  318  pm2 monit
  319  cd colyseus-server/
  320  npm run build
  321  pm2 delete all
  322  pm2 start
  323  pm2 monit
  324  pm2 delete all
  325  cd ..
  326  pm2 start
  327  pm2 delete all
  328  pm2 start
  329  pm2 delete all
  330  pm2 start
  331  pm2 monit
  332  pm2 delete all
  333  pm2 start
  334  pm2 delete all
  335  pm2 start
  336  pm2 monit
  337  pm2 delete all
  338  cd colyseus-gateway/
  339  pm2 start
  340  pm2 monit
  341  sudo vi /etc/nginx/sites-available/default
  342  pm2 monit
  343  pm2 delete all
  344  cd colyseus-server/
  345  pm2 start
  346  pm2 monit
  347  pm2 monit
  348  pm2 status
  349  pm2 restart 0
  350  pm2 monit
  351  pm2 restart 0
  352  pm2 monit
  353  pm2 restart 0
  354  ls
  355  cd colyseus-gateway/
  356  cd colyseus-server/
  357  pm2 delete 0
  358  pm2 start npm --name ugizz --  run start
  359  pm2 monit
  360  cd ..
  361  pm2 status
  362  ls
  363  cd loginWeb/
  364  ls
  365  npm i
  366  pm2 start --name loginweb -- run dev
  367  pm2 start --name loginweb -- run start
  368  ls
  369  pm2 start
  370  npm run build
  371  pm2 monit
  372  pm2 start --name login --run start
  373  pm2 start --name login -- run start
  374  vi ecosystem.config.js
  375  ls
  376  sudo npm run build
  377  pm2 start --name login -- run start
  378  vi ecosystem.config.js
  379  ls
  380  sudo npm i
  381  sudo npm run build
  382  pm2 --name login  start npm -- start
  383  sudo vi /etc/nginx/sites-available/default
  384  sudo certbot --nginx -d www.ugizz.store
  385  pm2 status
  386  pm2 restart 1
  387  pm2 monit
  388  pm2 restart 1
  389  pm2 monit
  390  pm2 delete 1
  391  pm2 --name login  start npm -- start
  392  pm2 delete 1
  393  pm2 delete 2
  394  ls
  395  cd loginWeb/
  396  npm run build
  397  npm install
  398  npm run build
  399  sudo npm run build
  400  pm2 --name login  start npm -- start
  401  pm2 status
  402  pm2 monit
  403  la
  404  sudo npm run build
  405  pm2 --name login  start npm -- dev
  406  pm2 delete 3
  407  pm2 monit
  408  pm2 delete 4
  409  pm2 --name login  start npm -- run dev
  410  pm2 monit
  411  pm2 delete 5
  412  sudo pm2 --name login  start npm -- run dev
  413  pm2 --name login start npm -- run dev
  414  pm2 monit
  415  pm2 delete 6
  416  npm run build
  417  sudo npm run build
  418  pm2 --name login  start npm -- start
  419  pm2 monit
  420  pm2 status
  421  pm2 delete 7
  422  cd loginWeb/
  423  pm2 --name login start npm -- start
  424  pm2 monit
  425  pm2 delete 7
  426  pm2 delete 8
  427  npm run build
  428  sudo npm run build
  429  pm2 status
  430  pm2 --name login start npm -- start
  431  pm2 monit
  432  fuser -k 3000/tcp
  433  pm2 status
  434  pm2 delete 9
  435  fuser -k 3000/tcp
  436  pm2 status
  437  pm2 --name login start npm -- start
  438  pm2 monit
  439  pm2 delete 10
  440  fuser -k 3000/tcp
  441  pm2 --name login start npm -- run dev
  442  pm2 monit
  443  pm2 delete 11
  444  pm2 --name login start sudo npm -- start
  445  pm2 delete 12
  446  pm2 monit
  447  pm2 delete 13
  448  pm2 --name login start sudo npm -- run dev
  449  pm2 monit
  450  pm2 delete 14
  451  pm2 delete 15
  452  pm2 --name login start npm -- start
  453  pm2 monit
  454  pm2 delete 16
  455  fuser -k 3000/tcp
  456  netstat -tnlp
  457  netstat -nap|grep 8080
  458  sudo apt install net-tools
  459  netstat -nap|grep 3000
  460  netstat -nap|grep 3001
  461  pm2 --name login start npm -- start
  462  pm2 monit
  463  pm2 delete 17
  464  npm run build
  465  sudo npm run build
  466  pm2 --name login start npm -- start
  467  pm2 monit
  468  pm2 delete 18
  469  pm2 --name login start npm -- start
  470  pm2 monit
  471  sudo vi /etc/nginx/sites-available/default
  472  pm2 monitsudo nginx -t
  473  sudo systemctl restart nginx
  474  pm2 monit
  475  pm2 status
  476  pm2 delete 19
  477  pm2 --name login start npm -- start
  478  pm2 delete 20
  479  sudo npm run build
  480  pm2 --name login start npm -- start
  481  pm2 monit
  482  sudo npm run build
  483  pm2 delete 21
  484  pm2 --name login start npm -- start
  485  pm2 monit
  486  pm2 status
  487  pm2 delete 22
  488  sudo npm run build
  489  cd loginWeb/
  490  sudo npm run build
  491  pm2 --name login start npm -- start
  492  cd loginWeb/
  493  ls
  494  sudo npm run build
  495  pm2 status
  496  pm2 delete 23
  497  pm2 --name login start npm -- start
  498  pm2 delete 24
  499  sudo npm run build
  500  pm2 --name login start npm -- start
  501  pm2 monit
  502  crontab
  503  cron
  504  sudo cron
  505  sudo crontab
  506  crontab -e
  507  pm2 restart 0
  508  LS
  509  cd loginWeb/
  510  ls
  511  npm run build
  512  sudo npm run build
  513  pm2 status
  514  pm2 delete 25
  515  pm2 --name login start npm -- start
  516  pm2 monit
  517  pm2 restart 0
  518  pm2 monit
  519  cd ..
  520  ls
  521  cd colyseus-gateway/
  522  cd colyseus-server/
  523  npm i axios
  524  pm2 restart 0
  525  pm2 monit
  526  pm2 restart 0
  527  pm2 monit
  528  pm2 restart 0
  529  pm2 monit
  530  cd ..
  531  ls
  532  cd loginWeb/
  533  sudo npm run build
  534  pm2 status
  535  pm2 delete 26
  536  pm2 --name login start npm -- start
  537  pm2 monit
  538  pm2 restart 0
  539  pm2 monit
  540  cd ..
  541  cd colyseus-gateway/
  542  cd colyseus-server/
  543  ls
  544  npm run build
  545  pm2 delete all
  546  pm2 start npm --name ugizz --  run start
  547  cd ..
  548  cd loginWeb/
  549  pm2 start npm --name login --  run start
  550  pm2 monit
  551  pm2 restart 1
  552  pm2 monit
  553  pm2 delete 1
  554  pm2 --name login start npm -- start
  555  pm2 monit
  556  pm2 restart 2
  557  npm run build
  558  sudo npm run build
  559  pm2 delete 2
  560  pm2 --name login start npm -- start
  561  cd colyseus-gateway/
  562  cd colyseus-server/
  563  pm2 delete all
  564  sudo npm run build
  565  pm2 start npm --name ugizz --  run start
  566  cd ..
  567  cd loginWeb/
  568  ls
  569  pm2 start npm --name login --  run start
  570  cd ..
  571  cd colyseus-gateway/
  572  cd colyseus-server/
  573  npm i
  574  npm run build
  575  sudo npm run build
  576  pm2 restart 0
  577  pm2 delete 1
  578  cd ..
  579  cd loginWeb/
  580  sudo npm run build
  581  pm2 start npm --name login --  run start
  582  pm2 monit
  583  docker ps
  584  docker logs bed754f93bf6
  585  docker logs -ㄹ  bed754f93bf6
  586  docker logs -f  bed754f93bf6
  587  docker ps
  588  docker logs -f  bed754f93bf6
  589  pm2 restart 0
  590  docker network ls
  591  docker ps
  592  ㅇdocker exec api-server ifconfig
  593  docker exec api-server ifconfig
  594  docker exec api-server ip addr show
  595  docker inspect bed754f93bf6
  596  pocker ps
  597  docker ps
  598  docker exec api-server env
  599  ls
  600  cd actions-runner/
  601  ls
  602  la -al
  603  vi config.sh 
  604  mkdir actions-runner-gate && cd actions-runner-gate
  605  cd ../
  606  rm -r actions-runner-gate
  607  cd ../
  608  mkdir actions-runner-gate && cd actions-runner-gate
  609  curl -o actions-runner-linux-x64-2.313.0.tar.gz -L <https://github.com/actions/runner/releases/download/v2.313.0/actions-runner-linux-x64-2.313.0.tar.gz>
  610  echo "56910d6628b41f99d9a1c5fe9df54981ad5d8c9e42fc14899dcc177e222e71c4  actions-runner-linux-x64-2.313.0.tar.gz" | shasum -a 256 -c
  611  tar xzf ./actions-runner-linux-x64-2.313.0.tar.gz
  612  ./config.sh --url <https://github.com/ysw7939/api-auth> --token AV2V6V3KNJYQLC5KNLRH4M3F3LNVU
  613  ls
  614  vi config.sh 
  615  cd //
  616  ls
  617  cd home/
  618  ls
  619  cd ~
  620  ls
  621  cd actions-runner
  622  ls
  623  vi config.sh 
  624  nano config.sh
  625  cd ../
  626  cd actions-runner-gate/
  627  ./run.sh
  628  nohup ./run.sh &
  629  ls
  630  nohup ./run.sh & 
  631  bg
  632  jobs
  633  nohup ./run.sh & 
  634  jobs
  635  cd ../
  636  ls
  637  cd actions-runner-gate/
  638  ls
  639  jobs
  640  ./run.sh  
  641  cd ../
  642  ls
  643  mkdir /opt/github/action-gateway
  644  cd ../
  645  cd../
  646  ls
  647  cd opt
  648  ls
  649  cd github
  650  cd ../
  651  ls
  652  cd home/
  653  ls
  654  cd ubuntu/
  655  ls
  656  cd actions-runner-gate/
  657  ./config.sh --url <https://github.com/ysw7939/gateway-server> --token AV2V6V4SKJCGMWB3XRMHUTTF3LQAS
  658  ls
  659  rm config.sh 
  660  ./config.sh --url <https://github.com/ysw7939/gateway-server> --token AV2V6V4SKJCGMWB3XRMHUTTF3LQAS
  661  ./config.sh --url <https://github.com/ysw7939/gateway-server> --token AV2V6V24XGHSOUG2WA24QQTF3LUBK
  662  ls
  663  cd ../
  664  rm -r actions-runner-gate/
  665  mkdir action-gate
  666  cd action
  667  cd action-gate/
  668  curl -o actions-runner-linux-x64-2.313.0.tar.gz -L <https://github.com/actions/runner/releases/download/v2.313.0/actions-runner-linux-x64-2.313.0.tar.gz>
  669  tar xzf ./actions-runner-linux-x64-2.313.0.tar.gz
  670  ./config.sh --url <https://github.com/ysw7939/gateway-server> --token AV2V6V24XGHSOUG2WA24QQTF3LUBK
  671  cd ../
  672  ls
  673  rm action-gate -r
  674  cd actions-runner/
  675  ./config.sh --url <https://github.com/ugizz> --token AV2V6V7Z2ML6PSVTG5VNOYTF3LYY6
  676  ls
  677  rm config.sh 
  678  ./config.sh --url <https://github.com/ugizz> --token AV2V6V7Z2ML6PSVTG5VNOYTF3LYY6
  679  cd ../
  680  ls
  681  rm actions-runner -r
  682  ls
  683  mkdir actions-runner && cd actions-runner
  684  curl -o actions-runner-linux-x64-2.313.0.tar.gz -L <https://github.com/actions/runner/releases/download/v2.313.0/actions-runner-linux-x64-2.313.0.tar.gz>
  685  tar xzf ./actions-runner-linux-x64-2.313.0.tar.gz
  686  ./config.sh --url <https://github.com/ugizz> --token AV2V6V7Z2ML6PSVTG5VNOYTF3LYY6
  687  nohup ./run.sh &
  688  docker ps
  689  env
  690  docker exec -it bed754f93bf6 /bin/bash
  691  cd ../
  692  ls
  693  mkdir gate-runner
  694  cd gate-runner/
  695  curl -o actions-runner-linux-x64-2.313.0.tar.gz -L <https://github.com/actions/runner/releases/download/v2.313.0/actions-runner-linux-x64-2.313.0.tar.gz>
  696  echo "56910d6628b41f99d9a1c5fe9df54981ad5d8c9e42fc14899dcc177e222e71c4  actions-runner-linux-x64-2.313.0.tar.gz" | shasum -a 256 -c
  697  tar xzf ./actions-runner-linux-x64-2.313.0.tar.gz
  698  ./config.sh --url <https://github.com/ugizz/gateway-server> --token AV2V6V3KURPEOIN4OMNDVBTF3L5DE
  699  pm2 monit
  700  ls
  701  rm -r actions-runner/
  702  mkdir actions-runner && cd actions-runner
  703  curl -o actions-runner-linux-x64-2.313.0.tar.gz -L <https://github.com/actions/runner/releases/download/v2.313.0/actions-runner-linux-x64-2.313.0.tar.gz>
  704  echo "56910d6628b41f99d9a1c5fe9df54981ad5d8c9e42fc14899dcc177e222e71c4  actions-runner-linux-x64-2.313.0.tar.gz" | shasum -a 256 -c
  705  tar xzf ./actions-runner-linux-x64-2.313.0.tar.gz
  706  ./config.sh --url <https://github.com/enterprises/ugizz-store> --token AV2V6V34LBL42AGOQ3MRQGDF3MMXY
  707  nohup ./run.sh &
  708  ls
  709  nohup ./run.sh &
  710  jobs
  711  ps
  712  kill -9 314275
  713  jobs
  714  nohup ./run.sh &
  715  jabs
  716  jobs
  717  ls
  718  cd ../
  719  rm actions-runner/ -r
  720  mkdir actions-runner && cd actions-runner
  721  curl -o actions-runner-linux-x64-2.313.0.tar.gz -L <https://github.com/actions/runner/releases/download/v2.313.0/actions-runner-linux-x64-2.313.0.tar.gz>
  722  echo "56910d6628b41f99d9a1c5fe9df54981ad5d8c9e42fc14899dcc177e222e71c4  actions-runner-linux-x64-2.313.0.tar.gz" | shasum -a 256 -c
  723  tar xzf ./actions-runner-linux-x64-2.313.0.tar.gz
  724  ./config.sh --url <https://github.com/ugizz> --token AV2V6VZ5I6LZU7X7PEJPZFDF3MT5I
  725  nohup ./run.sh &
  726  docker ps
  727  docker exec bed754f93bf6 env
  728  docker ps
  729  docker logs 68a5bbc90fff
  730  docker exec 68a5bbc90fff env
  731  docker ps
  732  docker logs b8ba4355c6db
  733  docker ps
  734  docker exec b8ba4355c6db env
  735  docker exec bed754f93bf6 env
  736  docker logs bed754f93bf6
  737  docker ps
  738  docker logs b8ba4355c6db
  739  docker ps
  740  docker logs bed754f93bf6
  741  docker ps
  742  docker logs 2dba3faec6b3
  743  docker ps
  744  docker exec 2dba3faec6b3 env
  745  docker ps
  746  docker logs 938186f930a6 
  747  docekr ps
  748  docker ps
  749  docker delete bed
  750  docekr --help
  751  docker --help
  752  docker stop bed
  753  docker ps
  754  pm2 monit
  755  pm2 status
  756  pm2 load
  757  pm2 status
  758  ls
  759  cd docker-compose/
  760  docker compose up -d
  761  ls
  762  cd ..
  763  cd loginWeb/
  764  pm2 start npm --name login --  run start
  765  docker ps
  766  df -h
  767  docker ps -as
  768  docker rmi ghcr.io/ysw7939/api-server:latest
  769  docker bed754f93bf6
  770  docker rmi bed754f93bf6
  771  docker rm  bed754f93bf6
  772  docker rmi bed754f93bf6
  773  docker rmi ghcr.io/ysw7939/api-server:latest
  774  docker ps -as
  775  free -h
  776  docker ps
  777  df -h .
  778  free -h
  779  df
  780  df -h
  781  docker ps
  782  docker kill bed
  783  docekr ps
  784  docker ps
  785  free -h
  786  cd docker-compose/
  787  docker compose up -d
  788  free -h
  789  ps
  790  jobs
  791  top
  792  htop
  793  docker ps
  794  docker stop e700
  795  free -h
  796  docker start e700
  797  free -h
  798  cat /proc/meminfo | grep -i "page"
  799  vmstat
  800  sudo swapon /swapfile
  801  sudo swapon --show
  802  sudo fallocate -l 4G /swapfile
  803  sudo chmod 600 /swapfile
  804  sudo mkswap /swapfile
  805  sudo swapon /swapfile
  806  sudo swapon --show
  807  free -h
  808  docker ps
  809  cd ..
  810  free -h
  811  cd loginWeb/
  812  cd ..
  813  cd colyseus-gateway/
  814  cd colyseus-server/
  815  pm2 start npm --name ugizz --  run start
  816  cd ..
  817  cd loginWeb/
  818  free -h
  819  pm2 start npm --name login --  run start
  820  free -h
  821  pm2 delete 1
  822  npm run build
  823  sudo npm run build
  824  pm2 start npm --name login --  run start
  825  df -h
  826  free -h
  827  docker ps
  828  docker logs 6aa421fbd0a7
  829  docker ps
  830  ls
  831  cd actions-runner/
  832  nohup ./run.sh &
  833  docker ps
  834  docker logs e700e00b5cd1
  835  docker ps
  836  docker logs 1811cb5b1894
  837  docker ps
  838  docker logs 1811cb5b1894
  839  docker ps
  840  docker logs e700e00b5cd1
  841  free -h
  842  docker ps
  843  docker logs 7afd008d4c0f
  844  docker ps
  845  docker restart 7afd008d4c0f
  846  docker ps
  847  docker logs 7afd008d4c0f
  848  docker ps
  849  docker logs c564ff2d640d
  850  docker ps
  851  docker restart c564ff2d640d
  852  docker logs e61173fb7ca4
  853  docker ps
  854  docker logs e61173fb7ca4
  855  docker ps
  856  docker logs 7afd008d4c0f
  857  docker ps
  858  docker logs a0a8852e2c8f
  859  docker ps
  860  docker logs e61173fb7ca4
  861  docker ps
  862  docker logs a0a8852e2c8f
  863  docker ps
  864  docker logs 61117e90c532
  865  docker ps
  866  docker logs a0a8852e2c8f
  867  docker ps
  868  docker logs 61117e90c532
  869  pm2 delete 1
  870  pm2 monit
  871  pm2 delete 2
  872  cd loginWeb/
  873  sudo npm run buildpm2 start npm --name u
  874  pm2 start npm --name login --  run start
  875  crontab -e
  876  pm2 delete all
  877  cd loginWeb/
  878  pm2 start
  879  pm2 start npm --name login --  run start
  880  cd ..
  881  ls
  882  docker p
  883  docker logs bb6
  884  docker ps
  885  docker logs 1ad
  886  docker ps
  887  docker 081
  888  docker logs 081
  889  docker ps
  890  docker logs d
  891  docker logs dd9
  892  docker logs d9
  893  docker ps
  894  docker logs a5
  895  docker 
  896  docker logs 91
  897  cd docker-compose/
  898  docker compose up -d
  899  docker ps
  900  docker restart 91
  901  free -h
  902  docker ps
  903  docker exec -it 7815b11335ab /bin/bash
  904  docker ps
  905  docker logs c869de52706a
  906  pm2 delete 0
  907  cd loginWeb/
  908  sudo npm run build
  909  pm2 start npm --name login --  run start
  910  pm2 save
  911  docekr ps
  912  docker ps
  913  docker logs 94
  914  docker ps
  915  docker logs -tail 5 76
  916  docker logs 76
  917  docker ps
  918  docker logs 7685ff3bb532
  919  history

스크린샷 2024-03-01 오후 9.02.03.png