Code Monkey home page Code Monkey logo

minstall's Introduction

About Me

Hey there, I'm Max ๐Ÿ‘‹

With over a decade in the tech world, Iโ€™m passionate about creating smooth and efficient cloud solutions. Iโ€™ve led small, agile teams, cutting project delivery times in half and saving over 20% in costs through optimisation and smart cloud strategies. My focus areas include cloud solutions, automation and infrastructure. I thrive on tackling complex challenges and finding innovative solutions to make tech work better for everyone.

Outside of work, I dive into a variety of hobbies. I love retro gaming and often find myself tinkering with my homelab and home network setups. Linux is a constant source of experimentation for me, and I enjoy archiving the web and writing scripts to automate everyday tasks. Playing with new gadgets like the Flipper Zero, tiny small-factor devices and handheld gaming gear keeps me excited about the latest tech trends. Always up to learn and experiment!

LinkedIn

GitHub Stats

Tech Stack

AWS Azure Cloudflare Confluence CSS3 Docker Flask Git GitHub GitHub Actions GitLab GitLab CI Google Cloud HTML5 JavaScript Jira Nginx NodeJS NPM PHP Python Raspberry Pi Ruby Shell Script Styled Components React Terraform Wireguard

minstall's People

Contributors

hyperknot avatar maxexcloo avatar starise avatar thesupremecommander avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

minstall's Issues

dropbear install fails

I've installed install-ssd first and then I tried to install install-dropbear. What would be the correct way for installing these? Should it be either one or the other?
How can I fix my install now?


> > Install: Dropbear SSH Server <<
> > Do you want to update the package list? (Y/n) y
> > Hit http://packages.dotdeb.org squeeze Release.gpg
> > Ign http://packages.dotdeb.org/ squeeze/all Translation-en
> > Hit http://packages.dotdeb.org squeeze Release
> > Hit http://packages.dotdeb.org squeeze/all i386 Packages
> > Hit http://ftp.us.debian.org squeeze Release.gpg
> > Ign http://ftp.us.debian.org/debian/ squeeze/contrib Translation-en
> > Ign http://ftp.us.debian.org/debian/ squeeze/main Translation-en
> > Hit http://security.debian.org squeeze/updates Release.gpg
> > Ign http://security.debian.org/ squeeze/updates/contrib Translation-en
> > Ign http://security.debian.org/ squeeze/updates/main Translation-en
> > Ign http://ftp.us.debian.org/debian/ squeeze/non-free Translation-en
> > Hit http://ftp.us.debian.org squeeze-updates Release.gpg
> > Ign http://ftp.us.debian.org/debian/ squeeze-updates/contrib Translation-en
> > Ign http://ftp.us.debian.org/debian/ squeeze-updates/main Translation-en
> > Ign http://ftp.us.debian.org/debian/ squeeze-updates/non-free Translation-en
> > Hit http://ftp.us.debian.org squeeze Release
> > Hit http://deb.nickmoeck.com stable Release.gpg
> > Ign http://deb.nickmoeck.com/debian/ stable/main Translation-en
> > Hit http://ftp.us.debian.org squeeze-updates Release
> > Ign http://security.debian.org/ squeeze/updates/non-free Translation-en
> > Hit http://security.debian.org squeeze/updates Release
> > Hit http://ftp.us.debian.org squeeze/main i386 Packages
> > Hit http://ftp.us.debian.org squeeze/contrib i386 Packages
> > Hit http://ftp.us.debian.org squeeze/non-free i386 Packages
> > Hit http://deb.nickmoeck.com stable Release
> > Hit http://security.debian.org squeeze/updates/main i386 Packages
> > Hit http://ftp.us.debian.org squeeze-updates/main i386 Packages/DiffIndex
> > Hit http://ftp.us.debian.org squeeze-updates/contrib i386 Packages
> > Hit http://ftp.us.debian.org squeeze-updates/non-free i386 Packages
> > Hit http://ftp.us.debian.org squeeze-updates/main i386 Packages
> > Ign http://deb.nickmoeck.com stable/main i386 Packages
> > Hit http://security.debian.org squeeze/updates/contrib i386 Packages
> > Hit http://security.debian.org squeeze/updates/non-free i386 Packages
> > Hit http://deb.nickmoeck.com stable/main i386 Packages
> > Reading package lists... Done
> > Installing Package...
> > Reading package lists...
> > Building dependency tree...
> > Reading state information...
> > Suggested packages:
> >   runit
> > The following NEW packages will be installed:
> >   dropbear
> > 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
> > Need to get 225 kB of archives.
> > After this operation, 602 kB of additional disk space will be used.
> > Get:1 http://ftp.us.debian.org/debian/ squeeze/main dropbear i386 0.52-5+squeeze1 [225 kB]
> > Fetched 225 kB in 0s (240 kB/s)
> > Selecting previously deselected package dropbear.
> > (Reading database ... 7568 files and directories currently installed.)
> > Unpacking dropbear (from .../dropbear_0.52-5+squeeze1_i386.deb) ...
> > Setting up dropbear (0.52-5+squeeze1) ...
> > Converting existing OpenSSH RSA host key to Dropbear format.
> > Key is a RSA key
> > Wrote key to '/etc/dropbear/dropbear_rsa_host_key'
> > Converting existing OpenSSH RSA host key to Dropbear format.
> > Key is a DSS key
> > Wrote key to '/etc/dropbear/dropbear_dss_host_key'
> > OpenSSH appears to be installed.  Setting /etc/default/dropbear so that
> > Dropbear will not start by default.  Edit this file to change this behaviour.
> > Restarting Dropbear SSH server: [abort] NO_START is not set to zero in /etc/default/dropbear
> > Copying Configuration...
> > Installing OpenSSH SFTP Support...
> > Installing Package...
> > Reading package lists...
> > Building dependency tree...
> > Reading state information...
> > openssh-server is already the newest version.
> > 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
> > Copying Configuration...
> > Restarting Daemon...
> > Restarting OpenBSD Secure Shell server: sshd.
> > Removing OpenSSH Daemon...
> > update-rc.d: using dependency based boot sequencing
> > Restarting Daemon...
> > Restarting Dropbear SSH server: invoke-rc.d: initscript dropbear, action "restart" failed.

Do you want to clean the package cache? (Y/n) y

Dropbear - path error or missing file?

So, this happened:

root@localhost:~/minimal# sh minstall.sh install-dropbear
[..]

Installing OpenSSH SFTP Support...
modules/install-dropbear.sh: line 20: modules/install-openssh.sh: No such file or directory
root@localhost:~/minimal#

In the file, at line 20 is:
20 | source $MODULEPATH/install-openssh.sh

And:
root@localhost:~# ls minimal/modules/ | grep ssh
configure-ssh.sh
install-ssh
install-ssh.sh

suhosin and apc needs config

  1. Suhosin gets installed, even though I found no place where it's explicitly listed.
  2. Both Suhosin and APC needs to be configured or disabled.

I've found the following script to configure APC and Suhosin and general PHP values, please decide what you consider the best values on these:
source: https://github.com/ilevkov/lowendscript/blob/master/setup-debian.sh

cat > /etc/php5/conf.d/apc.ini <<END
[APC]
extension=apc.so
apc.enabled=1
apc.shm_segments=1
apc.shm_size=16
apc.ttl=7200
apc.user_ttl=7200
apc.num_files_hint=1024
apc.mmap_file_mask=/tmp/apc.XXXXXX
apc.max_file_size = 1M
apc.post_max_size = 1000M
apc.upload_max_filesize = 1000M
apc.enable_cli=0
apc.rfc1867=0
END

cat > /etc/php5/conf.d/suhosin.ini <<END
; configuration for php suhosin module
extension=suhosin.so
suhosin.executor.include.whitelist="phar"
suhosin.request.max_vars = 2048
suhosin.post.max_vars = 2048
suhosin.request.max_array_index_length = 256
suhosin.post.max_array_index_length = 256
suhosin.request.max_totalname_length = 8192
suhosin.post.max_totalname_length = 8192
suhosin.sql.bailout_on_error = Off
END

 if [ -f /etc/php5/fpm/php.ini ]
    then
        sed -i \
            "s/upload_max_filesize = 2M/upload_max_filesize = 200M/" \
            /etc/php5/fpm/php.ini
        sed -i \
            "s/post_max_size = 8M/post_max_size = 200M/" \
            /etc/php5/fpm/php.ini
        sed -i \
            "s/memory_limit = 128M/memory_limit = 96M/" \
            /etc/php5/fpm/php.ini
    fi

"optimise the default repositories?"

Apparently this means "replace anything in the sources.list file with the official US repository".

I understand this is how it is supposed to work. But for me it meant replacing a repository that is less than 1ms away with one that is halfway across the globe. Perhaps a warning message could be displayed?

manage-remove-host removes php config

When you remove a host using the manage-remove-host module, it also removes the php config, even if other hosts are using it. Maybe make it ask you if you wish to remove the PHP-configuration?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.