Skip to content

Instantly share code, notes, and snippets.

@lechuhuuha
Created November 12, 2024 01:44
Show Gist options
  • Save lechuhuuha/bd71090149692b219e295a03821654e1 to your computer and use it in GitHub Desktop.
Save lechuhuuha/bd71090149692b219e295a03821654e1 to your computer and use it in GitHub Desktop.
install collab office local
mở command line trên windows
chạy dưới quyền administrator
wsl --install -d Ubuntu-22.04
sau khi cài xong
nhấn nút windows
tìm kiếm Ubuntu rồi mở
chạy command trên ubuntu
docker pull collabora/code
docker run -d -t -p 9980:9980 -e "domain=localhost" -e "extra_params=--o:ssl.ssl_verification=false" --restart always --name collabora-server collabora/code
kiểm tra collab cài đặt thành công
curl -k https://localhost:9980/hosting/discovery
ra file xml là thành công
cài xong wsl thì a cài giúp em cái này
nó là để a truy cập localhost trên
wsl như windows
windows + r
%USERPROFILE%
tạo 1 file .wslconfig
điền
[wsl2]
networkingMode=mirrored
lưu file rồi vào lại windows terminal dưới quyền admin
chạy wsl --shutdown
để restart
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment