Add htop to useful basic tools

This commit is contained in:
Disassembler 2017-09-17 23:05:00 +02:00
parent a47d649f71
commit 1a01080537
3 changed files with 12 additions and 6 deletions

View File

@ -7,7 +7,7 @@ apt-get -y purge bsdmainutils dictionaries-common emacsen-common iamerican ibrit
# Install useful packages # Install useful packages
apt-get -y update 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 # Install OpenSSH server
apt-get -y --no-install-recommends install openssh-server apt-get -y --no-install-recommends install openssh-server
mkdir ~/.ssh 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 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 # Remove default user
deluser --remove-all-files user 2>/dev/null deluser --remove-all-files user 2>/dev/null

View File

@ -1,7 +1,7 @@
#!/bin/bash #!/bin/bash
# Remove packages not necessary for release # 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 apt-get -y --purge autoremove
# Clean package cache # Clean package cache

View File

@ -0,0 +1,4 @@
hide_kernel_threads=0
highlight_threads=1
tree_view=1
update_process_names=1