Update documentation
This commit is contained in:
parent
a2deb00451
commit
c090c722a8
32
README.md
32
README.md
|
@ -33,10 +33,12 @@ sudo mount --bind /dev $HOME/live-ubuntu-from-scratch/chroot/dev
|
|||
sudo mount --bind /run $HOME/live-ubuntu-from-scratch/chroot/run
|
||||
```
|
||||
|
||||
## Access chroot environment
|
||||
```
|
||||
sudo chroot $HOME/live-ubuntu-from-scratch/chroot
|
||||
```
|
||||
|
||||
1. **Configure mount points**
|
||||
```
|
||||
mount none -t proc /proc
|
||||
|
||||
|
@ -49,12 +51,12 @@ export HOME=/root
|
|||
export LC_ALL=C
|
||||
```
|
||||
|
||||
## Set a custom hostname
|
||||
2. **Set a custom hostname**
|
||||
```
|
||||
echo "ubuntu-live" > /etc/hostname
|
||||
```
|
||||
|
||||
## Configure apt sources.list
|
||||
3. **Configure apt sources.list**
|
||||
|
||||
Edit /etc/apt/source.list
|
||||
|
||||
|
@ -68,14 +70,14 @@ deb http://us.archive.ubuntu.com/ubuntu/ bionic-updates main restricted universe
|
|||
EOF
|
||||
```
|
||||
|
||||
## Upgrade packages if you want
|
||||
4. **Upgrade packages if you want**
|
||||
```
|
||||
apt-get update
|
||||
|
||||
apt-get -y upgrade
|
||||
```
|
||||
|
||||
## Install and configure dbus
|
||||
5. **Install and configure dbus**
|
||||
```
|
||||
apt-get install -y systemd-sysv
|
||||
|
||||
|
@ -90,7 +92,7 @@ dpkg-divert --local --rename --add /sbin/initctl
|
|||
ln -s /bin/true /sbin/initctl
|
||||
```
|
||||
|
||||
## Install packages needed for Live System
|
||||
6. **Install packages needed for Live System**
|
||||
```
|
||||
apt-get install -y \
|
||||
ubuntu-standard \
|
||||
|
@ -103,7 +105,7 @@ apt-get install -y \
|
|||
linux-generic
|
||||
```
|
||||
|
||||
## Graphical installer
|
||||
7. **Graphical installer**
|
||||
```
|
||||
apt-get install -y \
|
||||
ubiquity \
|
||||
|
@ -113,7 +115,7 @@ apt-get install -y \
|
|||
ubiquity-ubuntu-artwork
|
||||
```
|
||||
|
||||
## Install window manager
|
||||
8. **Install window manager**
|
||||
```
|
||||
apt-get install -y \
|
||||
plymouth-theme-ubuntu-gnome-logo \
|
||||
|
@ -121,7 +123,7 @@ apt-get install -y \
|
|||
ubuntu-gnome-wallpapers
|
||||
```
|
||||
|
||||
## Install usefull applications
|
||||
9. **Install usefull applications**
|
||||
```
|
||||
apt-get install -y \
|
||||
clamav-daemon \
|
||||
|
@ -132,7 +134,7 @@ apt-get install -y \
|
|||
nano
|
||||
```
|
||||
|
||||
## Install Visual Studio Code
|
||||
10. **Install Visual Studio Code**
|
||||
|
||||
1. Download and install the key
|
||||
```
|
||||
|
@ -152,7 +154,7 @@ apt-get install -y \
|
|||
apt-get install -y code
|
||||
```
|
||||
|
||||
## Install Google Chrome
|
||||
11. **Install Google Chrome**
|
||||
|
||||
1. Download and install the key
|
||||
```
|
||||
|
@ -171,14 +173,14 @@ apt-get install -y \
|
|||
apt-get install google-chrome-stable
|
||||
```
|
||||
|
||||
## Install Java JDK 8
|
||||
12. **Install Java JDK 8**
|
||||
```
|
||||
apt-get install -y \
|
||||
openjdk-8-jdk \
|
||||
openjdk-8-jre
|
||||
```
|
||||
|
||||
## Remove unused applications
|
||||
13. **Remove unused applications**
|
||||
```
|
||||
apt-get purge -y \
|
||||
transmission-gtk \
|
||||
|
@ -190,12 +192,12 @@ apt-get purge -y \
|
|||
hitori
|
||||
```
|
||||
|
||||
## Remove unused packages
|
||||
14. **Remove unused packages**
|
||||
```
|
||||
apt-get autoremove -y
|
||||
```
|
||||
|
||||
## Cleanup the chroot environment
|
||||
15. **Cleanup the chroot environment**
|
||||
|
||||
1. If you installed software, be sure to run
|
||||
```
|
||||
|
@ -226,7 +228,7 @@ apt-get autoremove -y
|
|||
exit
|
||||
```
|
||||
|
||||
4. Unbind mount points
|
||||
## Unbind mount points
|
||||
```
|
||||
sudo umount $HOME/live-ubuntu-from-scratch/chroot/dev
|
||||
|
||||
|
|
Loading…
Reference in New Issue