Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Ubuntu Container on macOS (Apple Container) as an Alternative Development Environment

Đang mở
#129 0 bình luận 1 reaction 0 người được giao Xem trên GitHub

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.

Image
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

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của sysprog21/semu

Tất cả issue của sysprog21/semu

Issue tương tự

Thêm issue về C

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.