Ubuntu Container on macOS (Apple Container) as an Alternative Development Environment
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 42/100
- Loại issue
- Tài liệu
- Độ rõ ràng
- Cần làm rõ
- Mức độ hoạt động
- Ít trao đổi
- Công nghệ
- linux, macos, ubuntu
- Lĩnh vực
- devops, documentation
Hướng nghiên cứu
No repository file, test, or documentation entry point is identified. Start by reviewing the existing semu documentation structure and compare it with the Apple Container Ubuntu setup described here. Done means placing this environment guide in an appropriate project location, if the maintainers want it included.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Sharing my attempt to build an Ubuntu-based development environment for semu using Apple container on macOS.
This setup provides a lightweight Linux environment with GUI (Openbox + Tint2) access via VNC.
1. Install Apple Container
Follow the official guide:
https://github.com/apple/container
2. Create and Run Ubuntu Container
container run -it \
--name ubuntu \
--cpus 11 \
--memory 16g \
-p 5901:5901 \
--volume ${HOME}/container-data/ubuntu-home:/home \
docker.io/library/ubuntu:24.04 \
bash
container exec -it ubuntu /bin/bash
3. Install Basic Development Packages
apt-get update
apt-get install -y \
git vim htop \
python3 python3-pip npm \
tigervnc-standalone-server tigervnc-common \
openbox lxterminal \
iproute2 net-tools procps \
python3-venv python3-tk tint2 \
file wget cpio unzip rsync bc device-tree-compiler curl flex
4. Fix UTF-8 / Locale Issues (VNC Environment)
apt-get install -y \
locales \
language-pack-en \
fonts-dejavu \
fonts-liberation \
fonts-noto \
fonts-noto-cjk \
fonts-noto-color-emoji \
fontconfig
locale-gen en_US.UTF-8
update-locale LANG=en_US.UTF-8
cat <<'EOF' >> ~/.bashrc
export LANG=en_US.UTF-8
export LC_ALL=en_US.UTF-8
EOF
5. Configure VNC Startup
mkdir -p /home/.vnc
cat > /home/.vnc/xstartup <<'EOF'
#!/bin/sh
unset SESSION_MANAGER
unset DBUS_SESSION_BUS_ADDRESS
xsetroot -solid '#2E2E2E' &
(sleep 2 && /usr/bin/tint2) &
exec /usr/bin/openbox
EOF
chmod +x /home/.vnc/xstartup
6. Add VNC Start Script
cat <<'EOF' > ~/start_vnc.sh
vncserver :1 -geometry 1920x1080 -depth 24 -localhost no -xstartup /home/.vnc/xstartup
EOF
chmod +x ~/start_vnc.sh
7. Set VNC Password
vncpasswd
8. Start VNC Server
~/start_vnc.sh
9. Connect via VNC Viewer
127.0.0.1:5901
- Ngôn ngữ chính
- C
- Star
- 313
- Fork
- 75
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của sysprog21/semu
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 25/100
-
Implement VirtIO PCI transport layerCó thể làm lại được @shengwen-tw đã nhận 500 ngày trước và không có pull request nào đang mở. Đang mở
-
Implement VirtIO sound deviceCó thể làm lại được @Cuda-Chen đã nhận 799 ngày trước và không có pull request nào đang mở. Đang mở
-
Support PMEMĐang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
-
Run semu inside web browser via WebAssembly translationCó thể làm lại được @ChinYikMing đã nhận 1014 ngày trước và không có pull request nào đang mở. Đang mở
sysprog21/semu#38 · 11 bình luận · 1 reaction · 1 người được giao ·
Tất cả issue của sysprog21/semu
Issue tương tự
-
GPU-UNLOCK RTX 4070 (2786) Gigabyte 1458:416C: cold boot AND warm reboot unlock, Ubuntu 26.04Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
JustAResearcher/gpu-unlock-ada#124 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
-
inflate: total_in uses plain += on c_ulong (32-bit on Windows), panics in debug for streams > 4 GiBĐang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 85/100
trifectatechfoundation/zlib-rs#570 · 1 bình luận ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
Maintainer thường phản hồi trong vòng 1 ngày
-
vim.filetype.match() prefixes a URL buffer name with the cwd before passing it to filetype functionsĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 73/100
Maintainer thường phản hồi trong vòng 1 ngày