Closed JasonYao closed 8 years ago
[ OK ] All unnecessary packages removed grep: root daemon bin sys sync games man lp mail news uucp proxy www-data backup list irc gnats nobody systemd-timesync systemd-network systemd-resolve systemd-bus-proxy syslog _apt messagebus lxd dnsmasq sshd pollinate uuidd: No such file or directory [ OK ] Created user jason
Errors fixed, now just for cleanup:
[ .. ] Downloading init script [ .. ] Updating packages [ OK ] Packages were updated [ .. ] Upgrading packages [ OK ] Packages were upgraded [ .. ] Checking for wget [ OK ] wget is already installed [ .. ] Checking for git [ OK ] git is already installed [ .. ] Checking for unzip [ .. ] unzip not found, installing now [ OK ] unzip successfully installed [ .. ] Checking for build-essential [ .. ] build-essential not found, installing now Extracting templates from packages: 100% [ OK ] build-essential successfully installed [ .. ] Checking for make [ OK ] make is already installed [ .. ] Checking for libssl-dev [ .. ] libssl-dev not found, installing now [ OK ] libssl-dev successfully installed [ .. ] Checking for zlib1g-dev [ OK ] zlib1g-dev is already installed [ .. ] Checking for libbz2-dev [ .. ] libbz2-dev not found, installing now [ OK ] libbz2-dev successfully installed [ .. ] Checking for libreadline-dev [ .. ] libreadline-dev not found, installing now [ OK ] libreadline-dev successfully installed [ .. ] Checking for libsqlite3-dev [ .. ] libsqlite3-dev not found, installing now [ OK ] libsqlite3-dev successfully installed [ .. ] Checking for curl [ OK ] curl is already installed [ .. ] Checking for llvm [ .. ] llvm not found, installing now [ OK ] llvm successfully installed [ .. ] Checking for libncurses5-dev [ .. ] libncurses5-dev not found, installing now [ OK ] libncurses5-dev successfully installed [ .. ] Checking for xz-utils [ OK ] xz-utils is already installed [ .. ] Auto removing any unnecessary packages [ OK ] All unnecessary packages removed [ OK ] Created user jason [ OK ] User jason has been added to the sudo group [ .. ] SSHD: Creating a backup of /etc/ssh/sshd_config [ OK ] SSHD: SSH Port is set to 30000 [ OK ] SSHD: SSH root login is denied [ OK ] SSHD: jason has been added to the SSH access list [ .. ] Checking for unattended-upgrades [ OK ] unattended-upgrades is already installed [ .. ] Checking for update-notifier-common [ OK ] update-notifier-common is already installed [ OK ] Auto Updates: All configurations have been set [ .. ] Checking for ufw [ OK ] ufw is already installed [ OK ] UFW: SSH port has been rate-limited [ OK ] UFW: Firewall is now active [ .. ] Checking for fail2ban [ .. ] fail2ban not found, installing now [ OK ] fail2ban successfully installed [ .. ] Fail2Ban: Creating local jail [ OK ] Fail2Ban: Local jail created [ .. ] Shared Memory: Checking hardened status [ .. ] Shared Memory: Memory is currently unsecured, securing now tmpfs /run/shm tmpfs defaults,noexec,nosuid 0 0 [ OK ] Shared Memory: Memory is now secured [ .. ] Su Privileges: Checking security status now [ OK ] Su Privileges: Admin group is already created [ .. ] Su Privileges: Checking jason's admin status [ .. ] Su Privileges: jason is not a part of the admin group, adding jason now [ OK ] Su Privileges: jason has now been added to the admin group [ .. ] Su Privileges: Securing su usage to only root and admin [ OK ] Su Privileges: su command is now secured [ .. ] Network: Backing up old sysctl.conf file [ OK ] Network: sysctl.conf file is now backed up [ .. ] Network: Setting IP spoofing protection [ OK ] Network: IP spoofing protection is enabled [ .. ] Network: Disabling source packet routing (we are not a router) [ OK ] Network: Source packet routing disabled (we are not a router) [ .. ] Network: Disabling sending of ICMP redirects (we are not a router) [ OK ] Network: ICMP send redirects now ignored by default (we are not a router) [ .. ] Network: Blocking SYN attacks via SYN cookie enabling [ OK ] Network: SYN cookie enabled [ .. ] Network: Logging Martian packets [ OK ] Network: All Martian packets are now logged [ .. ] Network: Blocking MitM attacks via ICMP redirect disable [ OK ] Network: ICMP redirects are now disabled [ .. ] Network: Reloading network configurations now net.ipv4.conf.default.rp_filter = 1 net.ipv4.conf.all.rp_filter = 1 net.ipv4.tcp_syncookies = 1 net.ipv4.conf.all.accept_redirects = 0 net.ipv6.conf.all.accept_redirects = 0 net.ipv4.conf.all.send_redirects = 0 net.ipv4.conf.all.accept_source_route = 0 net.ipv6.conf.all.accept_source_route = 0 net.ipv4.conf.all.log_martians = 1 net.ipv4.icmp_echo_ignore_broadcasts = 1 net.ipv4.conf.default.accept_source_route = 0 net.ipv6.conf.default.accept_source_route = 0 net.ipv4.conf.default.send_redirects = 0 net.ipv4.tcp_max_syn_backlog = 2048 net.ipv4.tcp_synack_retries = 2 net.ipv4.tcp_syn_retries = 5 net.ipv4.icmp_ignore_bogus_error_responses = 1 net.ipv4.conf.default.accept_redirects = 0 net.ipv6.conf.default.accept_redirects = 0 net.ipv4.icmp_echo_ignore_all = 1 [ .. ] Dotfiles: Downloading missing dotfiles [ OK ] Git dependency is already installed [ OK ] Dotfiles: Successfully downloaded dotfiles [ OK ] Installed SSH key access for jason [ .. ] OS detected was: Unix, running unix setup script now [ .. ] Installing dotfiles [ OK ] Linked /home/jason/.dotfiles/osx/bash_profile.symlink to /home/jason/.dotfiles/../.bash_profile [ ?? ] File already exists: /home/jason/.dotfiles/../.profile (profile.symlink), what do you want to do? [ OK ] Moved /home/jason/.dotfiles/../.profile to /home/jason/.dotfiles/../.profile.backup [ OK ] Linked /home/jason/.dotfiles/unix/profile.symlink to /home/jason/.dotfiles/../.profile [ OK ] Linked /home/jason/.dotfiles/common/servers.symlink to /home/jason/.dotfiles/../.servers [ OK ] Linked /home/jason/.dotfiles/common/iterm2_shell_integration.bash.symlink to /home/jason/.dotfiles/../.iterm2_shell_integration.bash [ OK ] Linked /home/jason/.dotfiles/common/colour.symlink to /home/jason/.dotfiles/../.colour [ OK ] Linked /home/jason/.dotfiles/common/specific.symlink to /home/jason/.dotfiles/../.specific [ OK ] Moved /home/jason/.dotfiles/../.bashrc to /home/jason/.dotfiles/../.bashrc.backup [ OK ] Linked /home/jason/.dotfiles/common/bashrc.symlink to /home/jason/.dotfiles/../.bashrc [ OK ] Linked /home/jason/.dotfiles/common/env.symlink to /home/jason/.dotfiles/../.env [ OK ] Linked /home/jason/.dotfiles/common/utilities.symlink to /home/jason/.dotfiles/../.utilities [ OK ] Linked /home/jason/.dotfiles/common/inputrc.symlink to /home/jason/.dotfiles/../.inputrc [ OK ] Linked /home/jason/.dotfiles/common/motd.symlink to /home/jason/.dotfiles/../.motd [ OK ] MotD: Disabled header text [ OK ] MotD: Disabled help text [ OK ] MotD: Disabled legal notice [ .. ] .bin: Private bin has not been setup, setting up now [ OK ] .bin: Private bin is now set up [ .. ] Developing Environments: Pyenv is not installed, installing now [ .. ] Developing Environments: Pyenv was not found in the cache, downloading now /home/jason/.dotfiles_cache/pyenv.zip 100%[============================================================================================>] 775.56K --.-KB/s in 0.1s [ OK ] Developing Environments: Pyenv is now downloaded and cached [ .. ] Developing Environments: Checking pyenv directory [ .. ] Developing Environments: Pyenv directory has not been extracted yet, extracting now [ OK ] Developing Environments: Pyenv directory is now extracted [ .. ] Developing Environments: Rbenv is not installed, installing now [ .. ] Developing Environments: Rbenv was not found in the cache, downloading now /home/jason/.dotfiles_cache/rbenv.zip 100%[============================================================================================>] 51.86K --.-KB/s in 0.04s [ OK ] Developing Environments: Rbenv is now downloaded and cached [ .. ] Developing Environments: Checking rbenv directory [ .. ] Developing Environments: Rbenv directory has not been extracted yet, extracting now [ OK ] Developing Environments: Rbenv directory is now extracted [ .. ] Developing Environments: [Optional] Checking rbenv pre-compilation status (speed increase) [ .. ] Developing Environments: [Optional] Rbenv pre-compilation is not complete, compiling now make: Entering directory '/home/jason/.rbenv/src' gcc -fPIC -c -o realpath.o realpath.c gcc -shared -Wl,-soname,../libexec/rbenv-realpath.dylib -o ../libexec/rbenv-realpath.dylib realpath.o make: Leaving directory '/home/jason/.rbenv/src' [ OK ] Developing Environments: [Optional] Rbenv pre-compilation is now complete [ .. ] Developing Environments: Rbenv install plugin is not installed, downloading now [ OK ] Developing Environments: Rbenv install plugin is now installed [ .. ] Pyenv: Python version 3.5.2 is not installed yet, installing now [ .. ] Pyenv: Checking for python version 3.5.2 [ OK ] Pyenv: Python version 3.5.2 was found [ .. ] Pyenv: Attempting normal install [ OK ] Pyenv: Python version 3.5.2 is now installed [ .. ] Pyenv: Python version 2.7.12 is not installed yet, installing now [ .. ] Pyenv: Checking for python version 2.7.12 [ OK ] Pyenv: Python version 2.7.12 was found [ .. ] Pyenv: Attempting normal install [ OK ] Pyenv: Python version 2.7.12 is now installed [ .. ] Java: Version 8 JDK was not installed, installing now [ OK ] Java: Version 8 JDK is now installed Warning: no Ruby detected on the system [ .. ] Rbenv: Ruby version 2.3.1 is not installed yet, installing now [ .. ] Rbenv: Checking for ruby version 2.3.1 [ OK ] Rbenv: Ruby version 2.3.1 was found [ .. ] Rbenv: Attempting normal install now [ OK ] Rbenv: Ruby version 2.3.1 is now installed [ .. ] Fancy Diff: Package was not found, downloading now [ OK ] Fancy Diff: Package is now installed [ .. ] Git: Checking current environment [ OK ] Git: Set user.name to Jason Yao [ OK ] Git: Set user.email to xxxxxxxxx@gmail.com [ OK ] Git: Set push.default to simple [ OK ] Git: Set color.ui to auto [ OK ] Git: Set core.editor to nano [ OK ] Git: Set core.pager to diff-so-fancy | less --tabs=4 -RFX [ OK ] Git: Environment installed! [ .. ] Nano: Editor settings have not ben applied yet, applying now [ OK ] Nano: Editor settings are now applied
Fixed as of 1d003a0de13cbdedc9581fe6b4b7123234131e94
[ OK ] All unnecessary packages removed grep: root: No such file or directory grep: daemon: No such file or directory grep: bin: No such file or directory grep: sys: No such file or directory grep: sync: No such file or directory grep: games: No such file or directory grep: man: No such file or directory grep: lp: No such file or directory grep: mail: No such file or directory grep: news: No such file or directory grep: uucp: No such file or directory grep: proxy: No such file or directory grep: www-data: No such file or directory grep: backup: No such file or directory grep: list: No such file or directory grep: irc: No such file or directory grep: gnats: No such file or directory grep: nobody: No such file or directory grep: systemd-timesync: No such file or directory grep: systemd-network: No such file or directory grep: systemd-resolve: No such file or directory grep: systemd-bus-proxy: No such file or directory grep: syslog: No such file or directory grep: _apt: No such file or directory grep: messagebus: No such file or directory grep: lxd: No such file or directory grep: dnsmasq: No such file or directory grep: sshd: No such file or directory grep: pollinate: No such file or directory grep: uuidd: No such file or directory [ OK ] Created user jason [ OK ] User jason has been added to the sudo group