...
Code Block | ||
---|---|---|
| ||
nano /etc/skel/.bash_logout insert "echo '' > ~/.bash_history" nano /etc/skel/.bashrc insert "echo '' > ~/.bash_history" profile uncomment force_color_prompt=yes edit PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ to PS1='${debian_chroot:+($debian_chroot)}\[\033[00m\]\u\[\033[01;33m\]@\[\033[01;32m\]\h\[\033[00m\]:\[\033[01;36m\]\w\[\033[00m\]\$ edit eval "`dircolors -b`" to eval "`dircolors -b ~/.dircolors`" add "cd ~" nano /etc/profile #Custom Attributes Added by Admin linux_logo echo '' > ~/.bash_history cd ~ dircolors -p > /etc/skel/.dircolors nano /etc/skel/.dircolors edit DIR 01;34 # directory to DIR 01;36 # directory |
install ntpd
open /etc/ntp
configured time to point to "server server1"
restart Daemon
type "date" to confirm
...
Code Block | ||
---|---|---|
| ||
echo '#Webmin' >> /etc/apt/sources.list && echo 'deb http://download.webmin.com/download/repository sarge contrib' >> /etc/apt/sources.list
cd /home/vault && wget http://www.webmin.com/jcameron-key.asc && apt-key add jcameron-key.asc
apt-get update
apt-get install webmin
echo 'webmin ALL=(ALL) ALL' >> /etc/sudoers
adduser webmin PASSWORD
|
install apache2
install php5
install mysql-server-5.0
...
Install Linux Logo
Code Block |
---|
apt-get install linuxlogo nano /etc/init.d/bootmisc.sh #uname -snrvm > /var/run/motdlinux_logo.conf /usr/bin/linux_logo > /var/run/motd echo 'Insert -L 14 -F"Welcome to My DomainYou have Accessed a Secure Unauthorized System. Please disconnect now. \n#H \n#O Kernel #V \n#X #T #M #P \n#R RAM \n#U \n#L"' /etc/linux_logo.conf /etc/init.d/bootmisc.sh |