# Debian packaging workshop (9) ###### tags: `Debian packaging workshop` 上週筆記:Debian packaging workshop 8 下週筆記:Debian packaging workshop 10 日期:2015/06/02 網路聊天室:http://webchat.freenode.net/?channels=tossug 直播及錄影:http://youtu.be/Hn_YfEq8wUU 主題:mini-buildd & buildd 在 Ubuntu 上面使用 LXD 來架設 Debian jessie 的環境 Debian 的相關套件 https://tracker.debian.org/pkg/lxc https://tracker.debian.org/pkg/cgmanager lxd 跟 lxcfs 處於 WNPP 的狀態 https://www.debian.org/devel/wnpp/ http://wnpp.debian.net/ https://linuxcontainers.org/lxd/getting-started-cli/ https://github.com/lxc/lxd/blob/master/specs/command-line-user-experience.md # 更詳細的說明 安裝 LXD sudo add-apt-repository ppa:ubuntu-lxc/stable sudo apt-get update sudo apt-get install lxd 取得 lxd 群組權限 newgrp lxd 下載 Debian jessie 的 base image lxd-images import lxc debian jessie amd64 --alias debian/jessie lxc image list 建立 Debian jessie 的實體 lxc launch debian/jessie tossug 進入 Debian jessie 的環境 lxc exec tossug -- /bin/bash 建立 tossug 帳號 adduser tossug adduser tossug sudo 安裝 SSH Server apt-get install openssh-server sudo vim 安裝 mini-buildd http://mini-buildd.installiert.net/blog/post_jessie_housekeeping.html # 要來使用 backport cat > /etc/apt/sources.list <<ENDLINE deb [arch=amd64] http://free.nchc.org.tw/debian jessie main contrib non-free deb [arch=amd64] http://free.nchc.org.tw/debian jessie-updates main contrib non-free deb [arch=amd64] http://free.nchc.org.tw/debian jessie-backports main contrib non-free ENDLINE apt-get update apt-get install -t jessie-backports mini-buildd haveged python-docutils 1.0.5 -> 1.0.6 # 本週進展 (結果在 LXD 裡面安裝 mini-buildd 還是會撞到問題... Orz) apt-get install -y upstart # 將 systemd 移掉,改用 upstart 就沒問題了。 XD 不過後來使用過程中會遇到 aufs 的問題,大概是 Linux container 的某些障礙。 (VBoxManage startvm Debian --type headless # 默默地打開 VirtualBox 的 VM 起來用...) 安裝 buildd apt-get install buildd (延到下週)
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up