Ubuntu Container on macOS (Apple Container) as an Alternative Development Environment
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 42/100
- Tipo di issue
- Documentazione
- Chiarezza
- Da chiarire
- Stato di attività
- Tranquilla
- Stack tecnologico
- linux, macos, ubuntu
- Ambito
- devops, documentation
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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
- Lingua principale
- C
- Stelle
- 313
- Fork
- 75
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di sysprog21/semu
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 25/100
-
Implement VirtIO PCI transport layerForse di nuovo libera @shengwen-tw l’ha presa 499 giorni fa e non c’è nessuna pull request aperta. Aperta
-
Implement VirtIO sound deviceForse di nuovo libera @Cuda-Chen l’ha presa 798 giorni fa e non c’è nessuna pull request aperta. Aperta
-
Support PMEMAperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
-
Run semu inside web browser via WebAssembly translationForse di nuovo libera @ChinYikMing l’ha presa 1013 giorni fa e non c’è nessuna pull request aperta. Aperta
sysprog21/semu#38 · 11 commenti · 1 reazione · 1 assegnatario ·
Tutte le issue di sysprog21/semu
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
CanadaHonk/porffor#426 ·
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 77/100
raysan5/raylib.com#132 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
libsdl-org/SDL#16607 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
PowerShell/Win32-OpenSSH#2482 · 1 reazione ·
-
needs-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
SoftEtherVPN/SoftEtherVPN#2322 ·
I maintainer di solito rispondono entro 1 giorno