yeonghoon.kim

  • 게시판
  • 갤러리
  • aws

마구루

이렇게 해서 성공했습니다. 참고하시라고 적는데... 필요 없다면 지우셔도 됩니다.

 

다른데서 하던 리눅스 세이브 파일(보통은 구글 클라우드에서 운영하던)도 옮겨서 그대로 할 수 있습니다.

OCI

1. sudo apt-get update -y
  - 시스템 업데이트
2. sudo apt-get install apt-transport-https ca-certificates curl software-properties-common -y
  - docker 설치
3. curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
  - docker key 추가
4. sudo add-apt-repository "deb [arch=arm64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
  - docker 공식 저장소를 시스템에 추가
5. sudo apt-get update
  - 시스템 업데이트 
6. sudo apt-get install docker-ce docker-ce-cli -y
  - docker CE 설치
7. sudo usermod -aG docker $USER
  - docker 권한주기
8. 로그아웃 후 재접속
  - putty 면 프로그램 종료했다가 다시 접속
9. systemctl status docker
  - docker 정상 동작 확인 active (running) 라고 나오면 정상.
  - :q 로 빠져 나옴
9. sudo curl -L "https://github.com/docker/compose/releases/download/v2.24.3/docker-compose-linux-aarch64" -o /usr/local/bin/docker-compose
  - Docker Compose 설치
10. sudo chmod +x /usr/local/bin/docker-compose
  - docker-compose 권한 주기
11. mkdir palworld
12. chmod 777 palworld
13. chown -R 1000:1000 palworld/
14. vi docker-compose.yml
  - i 누르고 ----- 안의 내용 복사 후 붙여넣기
-------------------
version: '3.9'
services:
  palworld-server:
    image: 'nitrog0d/palworld-arm64:latest'
    container_name: 'palworld-server'
    ports:
      - '8211:8211/udp'
    environment:
      - ALWAYS_UPDATE_ON_START=true
      - MULTITHREAD_ENABLED=true
      - COMMUNITY_SERVER=false
    restart: 'unless-stopped'
    volumes:
      - './palworld:/palworld'
-------------------
  - ESC 키 입력
  - :wq!
15. docker-compose up -d --build
16. docker ps 
  - CONTAINER_ID 복사해서 어디에 남겨두세요.
  - 이 아래 부분 [CONTAINER_ID] 에 복사한거 넣어주시면 됩니다.
17. docker logs [CONTAINER_ID]
  - 로그 확인 로그 마지막에  [S_API FAIL] Tried to access Steam interface SteamNetworkingUtils004 before SteamAPI_Init succeeded.
    되어 있어야 함.
18. docker stop [CONTAINER_ID]
  - palworld 서버 중지
19. cd ./palworld/Pal/Saved/Config
  - 폴더 이동
20. sudo chmod 777 LinuxServer
  - LinuxServer 폴더 권한 주기
21. cd LinuxServer
  - 폴더 이동
22. - i 누르고 
  - DedicatedServerName=449E4861224541BA8ABB166B8C34AD87
  으로 변경. 저건 세이브 폴더의 폴더명으로 변경하면 됨. 그래야 세이브 파일을 기존꺼로 쓸수 있음.
  - ESC 키
  - :wq!
23. vi PalWorldSettings.ini
  - ----------------- 안의 내용 복사
-------------------------------------------
[/Script/Pal.PalGameWorldSettings]
OptionSettings=(Difficulty=None,DayTimeSpeedRate=1.000000,NightTimeSpeedRate=1.000000,ExpRate=1.000000,PalCaptureRate=1.000000,PalSpawnNumRate=1.000000,PalDamageRateAttack=1.000000,PalDamageRateDefense=1.000000,PlayerDamageRateAttack=1.000000,PlayerDamageRateDefense=1.000000,PlayerStomachDecreaceRate=1.000000,PlayerStaminaDecreaceRate=1.000000,PlayerAutoHPRegeneRate=1.000000,PlayerAutoHpRegeneRateInSleep=1.000000,PalStomachDecreaceRate=1.000000,PalStaminaDecreaceRate=1.000000,PalAutoHPRegeneRate=1.000000,PalAutoHpRegeneRateInSleep=1.000000,BuildObjectDamageRate=1.000000,BuildObjectDeteriorationDamageRate=1.000000,CollectionDropRate=1.000000,CollectionObjectHpRate=1.000000,CollectionObjectRespawnSpeedRate=1.000000,EnemyDropItemRate=1.000000,DeathPenalty=Item,bEnablePlayerToPlayerDamage=False,bEnableFriendlyFire=False,bEnableInvaderEnemy=True,bActiveUNKO=False,bEnableAimAssistPad=True,bEnableAimAssistKeyboard=False,DropItemMaxNum=3000,DropItemMaxNum_UNKO=100,BaseCampMaxNum=128,BaseCampWorkerMaxNum=15,DropItemAliveMaxHours=1.000000,bAutoResetGuildNoOnlinePlayers=False,AutoResetGuildTimeNoOnlinePlayers=72.000000,GuildPlayerMaxNum=20,PalEggDefaultHatchingTime=1.000000,WorkSpeedRate=1.000000,bIsMultiplay=False,bIsPvP=False,bCanPickupOtherGuildDeathPenaltyDrop=False,bEnableNonLoginPenalty=True,bEnableFastTravel=True,bIsStartLocationSelectByMap=True,bExistPlayerAfterLogout=False,bEnableDefenseOtherGuildPlayer=False,CoopPlayerMaxNum=4,ServerPlayerMaxNum=32,ServerName="Default Palworld Server",ServerDescription="",AdminPassword="",ServerPassword="",PublicPort=8211,PublicIP="",RCONEnabled=False,RCONPort=25575,Region="",bUseAuth=True,BanListURL="https://api.palworldgame.com/api/banlist.txt")
-------------------------------------------
  - i 누르고 붙여넣기 
  - ESC 키
  - :wq!
24. cd
  - 루트 폴더로 이동
25. cd ./palworld/Pal/Saved/SaveGames
  - 폴더 이동
26. cd 0
  - 폴더 이동
27. 세이브 폴더 복사 처리(FileZilla 이용)
  - 세이브 폴더를 0 폴더 안에 복사 처리
28. sudo chown -R 1000:1000 [세이브폴더]
  - 세이브 폴더에 사용 권한 주기
  - 이거 안하면 docker 무한 실행 되면서 제대로 게임 안됨.
29. docker start [CONTAINER_ID]
  - docker 실행
30. docker logs  [CONTAINER_ID]
  - 마지막에 [S_API FAIL] Tried to access Steam interface SteamNetworkingUtils004 before SteamAPI_Init succeeded.
    또는
    Engine crash handling finished; re-raising signal 0 for the default handler. Good bye.
    이면 정상임.
31. 게임 들어가서 접속

사진 및 파일 첨부

여기에 파일을 끌어 놓거나 왼쪽의 버튼을 클릭하세요.

파일 용량 제한 : 0MB (허용 확장자 : *.*)

업로드 중... (0%)

0개 첨부 됨 ( / )