Add htop to useful basic tools
This commit is contained in:
parent
a47d649f71
commit
1a01080537
12
01-basic.sh
12
01-basic.sh
@ -7,7 +7,7 @@ apt-get -y purge bsdmainutils dictionaries-common emacsen-common iamerican ibrit
|
||||
|
||||
# Install useful packages
|
||||
apt-get -y update
|
||||
apt-get -y --no-install-recommends install bash-completion ca-certificates git ntp openssl sudo unzip vim
|
||||
apt-get -y --no-install-recommends install bash-completion ca-certificates git htop ntp openssl sudo unzip vim
|
||||
|
||||
|
||||
######
|
||||
@ -17,12 +17,14 @@ apt-get -y --no-install-recommends install bash-completion ca-certificates git n
|
||||
# Install OpenSSH server
|
||||
apt-get -y --no-install-recommends install openssh-server
|
||||
mkdir ~/.ssh
|
||||
|
||||
# Copy profile files
|
||||
cp ${SOURCE_DIR}/basic/root/.bashrc /root/.bashrc
|
||||
cp ${SOURCE_DIR}/basic/root/.vimrc /root/.vimrc
|
||||
cp ${SOURCE_DIR}/basic/root/.ssh/authorized_keys /root/.ssh/authorized_keys
|
||||
|
||||
# Copy profile files and settings
|
||||
mkdir -p /root/.config/htop
|
||||
cp ${SOURCE_DIR}/basic/root/.bashrc /root/.bashrc
|
||||
cp ${SOURCE_DIR}/basic/root/.config/htop/htoprc /root/.config/htop/htoprc
|
||||
cp ${SOURCE_DIR}/basic/root/.vimrc /root/.vimrc
|
||||
|
||||
# Remove default user
|
||||
deluser --remove-all-files user 2>/dev/null
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Remove packages not necessary for release
|
||||
apt-get -y purge git openssh-server vim
|
||||
apt-get -y purge bash-completion git htop openssh-server vim
|
||||
apt-get -y --purge autoremove
|
||||
|
||||
# Clean package cache
|
||||
|
4
basic/root/.config/htop/htoprc
Normal file
4
basic/root/.config/htop/htoprc
Normal file
@ -0,0 +1,4 @@
|
||||
hide_kernel_threads=0
|
||||
highlight_threads=1
|
||||
tree_view=1
|
||||
update_process_names=1
|
Loading…
Reference in New Issue
Block a user