Update documentation
This commit is contained in:
parent
c880a2be19
commit
e1b168166a
45
README.md
45
README.md
|
@ -57,9 +57,6 @@ sudo chroot $HOME/live-ubuntu-from-scratch/chroot
|
|||
```
|
||||
|
||||
3. **Configure apt sources.list**
|
||||
|
||||
Edit /etc/apt/source.list
|
||||
|
||||
```
|
||||
cat <<EOF > /etc/apt/sources.list
|
||||
deb http://us.archive.ubuntu.com/ubuntu/ bionic main restricted universe multiverse
|
||||
|
@ -70,20 +67,17 @@ sudo chroot $HOME/live-ubuntu-from-scratch/chroot
|
|||
EOF
|
||||
```
|
||||
|
||||
4. **Upgrade packages if you want**
|
||||
4. **Update indexes packages**
|
||||
```
|
||||
apt-get update
|
||||
|
||||
apt-get -y upgrade
|
||||
```
|
||||
|
||||
5. **Install and configure dbus**
|
||||
5. **Install systemd**
|
||||
```
|
||||
apt-get install -y systemd-sysv
|
||||
|
||||
apt-get install -y dbus
|
||||
```
|
||||
|
||||
5. **Configure machine-id and divert**
|
||||
```
|
||||
dbus-uuidgen > /var/lib/dbus/machine-id
|
||||
|
||||
|
@ -102,10 +96,19 @@ sudo chroot $HOME/live-ubuntu-from-scratch/chroot
|
|||
laptop-detect \
|
||||
os-prober \
|
||||
network-manager \
|
||||
net-tools \
|
||||
wireless-tools \
|
||||
wpagui \
|
||||
locales \
|
||||
linux-generic
|
||||
```
|
||||
|
||||
7. **Graphical installer**
|
||||
7. **Generate locales**
|
||||
```
|
||||
dpkg-reconfigure locales
|
||||
```
|
||||
|
||||
8. **Graphical installer**
|
||||
```
|
||||
apt-get install -y \
|
||||
ubiquity \
|
||||
|
@ -115,7 +118,7 @@ sudo chroot $HOME/live-ubuntu-from-scratch/chroot
|
|||
ubiquity-ubuntu-artwork
|
||||
```
|
||||
|
||||
8. **Install window manager**
|
||||
9. **Install window manager**
|
||||
```
|
||||
apt-get install -y \
|
||||
plymouth-theme-ubuntu-gnome-logo \
|
||||
|
@ -123,7 +126,7 @@ sudo chroot $HOME/live-ubuntu-from-scratch/chroot
|
|||
ubuntu-gnome-wallpapers
|
||||
```
|
||||
|
||||
9. **Install usefull applications**
|
||||
10. **Install usefull applications**
|
||||
```
|
||||
apt-get install -y \
|
||||
clamav-daemon \
|
||||
|
@ -134,7 +137,7 @@ sudo chroot $HOME/live-ubuntu-from-scratch/chroot
|
|||
nano
|
||||
```
|
||||
|
||||
10. **Install Visual Studio Code**
|
||||
11. **Install Visual Studio Code**
|
||||
|
||||
1. Download and install the key
|
||||
```
|
||||
|
@ -154,7 +157,7 @@ sudo chroot $HOME/live-ubuntu-from-scratch/chroot
|
|||
apt-get install -y code
|
||||
```
|
||||
|
||||
11. **Install Google Chrome**
|
||||
12. **Install Google Chrome**
|
||||
|
||||
1. Download and install the key
|
||||
```
|
||||
|
@ -173,14 +176,14 @@ sudo chroot $HOME/live-ubuntu-from-scratch/chroot
|
|||
apt-get install google-chrome-stable
|
||||
```
|
||||
|
||||
12. **Install Java JDK 8**
|
||||
13. **Install Java JDK 8**
|
||||
```
|
||||
apt-get install -y \
|
||||
openjdk-8-jdk \
|
||||
openjdk-8-jre
|
||||
```
|
||||
|
||||
13. **Remove unused applications**
|
||||
14. **Remove unused applications**
|
||||
```
|
||||
apt-get purge -y \
|
||||
transmission-gtk \
|
||||
|
@ -192,12 +195,12 @@ sudo chroot $HOME/live-ubuntu-from-scratch/chroot
|
|||
hitori
|
||||
```
|
||||
|
||||
14. **Remove unused packages**
|
||||
15. **Remove unused packages**
|
||||
```
|
||||
apt-get autoremove -y
|
||||
```
|
||||
|
||||
15. **Cleanup the chroot environment**
|
||||
16. **Cleanup the chroot environment**
|
||||
|
||||
1. If you installed software, be sure to run
|
||||
```
|
||||
|
@ -215,7 +218,7 @@ sudo chroot $HOME/live-ubuntu-from-scratch/chroot
|
|||
```
|
||||
apt-get clean
|
||||
|
||||
rm -rf /tmp/*
|
||||
rm -rf /tmp/* ~/.bash_history
|
||||
|
||||
rm /etc/resolv.conf
|
||||
|
||||
|
@ -225,6 +228,8 @@ sudo chroot $HOME/live-ubuntu-from-scratch/chroot
|
|||
|
||||
umount /dev/pts
|
||||
|
||||
export HISTSIZE=0
|
||||
|
||||
exit
|
||||
```
|
||||
|
||||
|
@ -280,7 +285,7 @@ sudo umount $HOME/live-ubuntu-from-scratch/chroot/run
|
|||
|
||||
3. Move image
|
||||
```
|
||||
sudo mv splash.png image/
|
||||
sudo mv splash.png image/isolinux/
|
||||
```
|
||||
|
||||
2. **Boot-loader configuration**
|
||||
|
|
Loading…
Reference in New Issue