jmsdonline / vstacklet Goto Github PK
View Code? Open in Web Editor NEWvStacklet is a kit to quickly install a LEMP Stack w/ Varnish and perform basic configurations of new Ubuntu 20.04/22.04 and Debian 11/12 servers.
License: MIT License
vStacklet is a kit to quickly install a LEMP Stack w/ Varnish and perform basic configurations of new Ubuntu 20.04/22.04 and Debian 11/12 servers.
License: MIT License
I am testing this script with Ubuntu 16.04 fresh install.
I have tested the script with php 5 and 7, a total of 4 times and I get the same error each time.
Apr 29 17:14:11 testbox nginx[28690]: nginx: [emerg] BIO_new_file("/srv/www/no/ssl/sitename.crt") failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen('/srv/www/no/ssl/sitename.crt','r') error:2006D080:BIO routines:BIO_new_file:no such file)
Apr 29 17:14:11 testbox nginx[28690]: nginx: configuration file /etc/nginx/nginx.conf test failed
I was not able to find sitename.crt anywhere on the system.
Thanks
I ran the installer and selected PHP 5 and PHP 7 was installed.
1) php7.0
2) php5
What version of php do you want? (Default php7.0): 2
Installing and Adjusting php5-fpm w/ OPCode Cache ... [ DONE ]
Do you want to install IonCube Loader? (Y/n):
Installing IonCube Loader ... vstacklet/vstacklet-ubuntu-stack.sh: line 597: /etc/php5/fpm/conf.d/20-ioncube.ini: No such file or directory
vstacklet/vstacklet-ubuntu-stack.sh: line 598: /etc/php5/fpm/php.ini: No such file or directory
[ DONE ]
root@testbox:~# php -v
PHP 7.0.6-1+donate.sury.org~xenial+1 (cli) ( NTS )
Copyright (c) 1997-2016 The PHP Group
Zend Engine v3.0.0, Copyright (c) 1998-2016 Zend Technologies
with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2016, by Zend Technologies
Thanks
`Visit http://168.235.147.194/checkinfo.php to verify your install.
Remember to remove the checkinfo.php file after verification.
INSTALLATION COMPLETED in 31/min
root@ubuntu:## Do you want to generate an SSL cert and configure HTTPS? (Y/n): Y
root@ubuntu:
-bash: syntax error near unexpected token (' root@ubuntu:~# Generating a 2048 bit RSA private key Generating: command not found root@ubuntu:~# ........................................................................................................................................................................................................................................................................................................................................................................+++ ........................................................................................................................................................................................................................................................................................................................................................................+++: command not found root@ubuntu:~# ................................................................................+++ ................................................................................+++: command not found root@ubuntu:~# writing new private key to '/srv/www/allvologda/ssl/allvologda.key' writing: command not found root@ubuntu:~# ----- -----: command not found root@ubuntu:~# You are about to be asked to enter information that will be incorporated You: command not found root@ubuntu:~# into your certificate request. No command 'into' found, did you mean: Command 'info' from package 'info' (main) Command 'pinto' from package 'pinto' (universe) into: command not found root@ubuntu:~# What you are about to enter is what is called a Distinguished Name or a DN. No command 'What' found, did you mean: Command 'jhat' from package 'openjdk-7-jdk' (main) Command 'jhat' from package 'openjdk-6-jdk' (universe) Command 'chat' from package 'ppp' (main) What: command not found root@ubuntu:~# There are quite a few fields but you can leave some blank There: command not found root@ubuntu:~# For some fields there will be a default value, No command 'For' found, did you mean: Command 'sor' from package 'pccts' (universe) Command 'vor' from package 'vor' (universe) Command 'tor' from package 'tor' (universe) For: command not found root@ubuntu:~# If you enter '.', the field will be left blank. If: command not found root@ubuntu:~# ----- -----: command not found root@ubuntu:~# Country Name (2 letter code) [AU]:RU -bash: syntax error near unexpected token
('
root@ubuntu:# State or Province Name (full name) [Some-State]:Vologda# Organization Name (eg, company) [Internet Widgits Pty Ltd]:Nikitin Alexey Vladimirovich
-bash: syntax error near unexpected token (' root@ubuntu:~# Locality Name (eg, city) []:Vologda -bash: syntax error near unexpected token
('
root@ubuntu:
-bash: syntax error near unexpected token (' root@ubuntu:~# Organizational Unit Name (eg, section) []Private Entrepreneur Common Name (e.g. server FQDN or YOUR name) []:Nikitin Alexey Vladimirovich -bash: syntax error near unexpected token
('
root@ubuntu:# Email Address []:[email protected]# chmod: cannot access โ/etc/ssl/private/allvologda.keyโ: No such file or directory
No command 'Email' found, did you mean:
Command 'wmail' from package 'wmail' (universe)
Command 'mail' from package 'mailutils' (universe)
Command 'tmail' from package 'uw-mailutils' (universe)
Command 'kmail' from package 'kmail' (universe)
Command 'dmail' from package 'uw-mailutils' (universe)
Command 'cmail' from package 'xboard' (universe)
Command 'rmail' from package 'courier-mta' (universe)
Command 'rmail' from package 'postfix' (main)
Command 'rmail' from package 'exim4-daemon-heavy' (main)
Command 'rmail' from package 'exim4-daemon-light' (main)
Command 'rmail' from package 'masqmail' (universe)
Command 'rmail' from package 'rmail' (universe)
Email: command not found
root@ubuntu:
No command 'chmod:' found, did you mean:
Command 'chmod' from package 'coreutils' (main)
chmod:: command not found
root@ubuntu:## Do you want to generate an SSL cert and configure HTTPS? (Y/n): Y
root@ubuntu:
-bash: syntax error near unexpected token (' root@ubuntu:~# Generating a 2048 bit RSA private key Generating: command not found
My ip/checkinfo.php
Error 503 Backend fetch failed
Backend fetch failed
Guru Meditation:
XID: 65545
Varnish cache server
CSF URL changed.
New URL: https://download.configserver.com/csf.tgz
Files Affected:
https://github.com/JMSDOnline/vstacklet/blob/master/vstacklet-ubuntu-stack.sh#L741
Do you want to install phpMyAdmin? (Y/n): Y vstacklet/vstacklet-ubuntu-stack.sh: line 671: mysqladmin: command not found
Hello;
Nice script giving it a test.... i have few questions.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.