techandme / wordpress-vm Goto Github PK
View Code? Open in Web Editor NEWScripts to setup and configure the Wordpress VM. Find all the latest VMs here:
Home Page: https://www.hanssonit.se/wordpress-vm/
License: GNU General Public License v3.0
Scripts to setup and configure the Wordpress VM. Find all the latest VMs here:
Home Page: https://www.hanssonit.se/wordpress-vm/
License: GNU General Public License v3.0
From: Robert DuWors
Subject: Wordpress Linux VM broken
Message Body:
Had to patch the resolver address in the WordPress Port 80 config file. Nginx says it is installed by not configured.
Adminer change did not work. Port 81 broken.
Only Webadmin on port 10000 is working.
Wordpress nowhere to be found. Did not install an SSL cert but docs say it should work anyway.
Is this VM still considered to be good? How to fix? Running VMWorkStation Pro 15.5 on Window 10.
Thanks, Rob
I had to manually run activate-ssl.sh after it failed to generate cert during install of latest Wordpress Pre-configured VM released 5/27/18. When I ran it I received the following errors after first running activate-ssl.sh (which appeared to generate cert) and I also had to re-run test-new-config.sh which generated errors as well:
We will now test that everything is OK
Press any key to continue...
Job for nginx.service failed because the control process exited with error code.
See "systemctl status nginx.service" and "journalctl -xe" for details.
Couldn't load new config, reverted to old settings. Self-signed SSL is OK!
Press any key to continue...
Sorry but something went wrong. Please report this issue to https://github.com/techandme/wordpress-vm/issues and include the output of the error message. Thank you!
bash /var/scripts/test-new-config.sh rsa-systems.org.conf failed
wordpress@wordpress:$ sudo /var/scripts/activate-ssl.sh$ bash /var/scripts/test-new-config.sh
Are you sure you want to continue? ([y]es or [N]o): n
wordpress@wordpress:
We will now test that everything is OK
Press any key to continue...
ln: failed to create symbolic link '/etc/nginx/sites-enabled/sites-available': Permission denied
rm: cannot remove '/etc/nginx/sites-enabled/wordpress_port_80.conf': Permission denied
==== AUTHENTICATING FOR org.freedesktop.systemd1.manage-units ===
Authentication is required to restart 'nginx.service'.
Authenticating as: wordpress,,, (wordpress)
Password:
==== AUTHENTICATION COMPLETE ===
New settings works! SSL is now activated and OK!
This cert will expire in 90 days, so you have to renew it.
There are several ways of doing so, here are some tips and tricks: https://goo.gl/c1JHR0
This script will add a renew cronjob to get you started, edit it by typing:
'crontab -u root -e'
Feel free to contribute to this project: https://goo.gl/3fQD65
Press any key to continue...
must be privileged to use -u
must be privileged to use -u
grep: /etc/nginx/sites-enabled/: Is a directory
Setting hostname to ...
sed: couldn't open temporary file /etc/sedpefeF8: Permission denied
/var/scripts/test-new-config.sh: line 46: /var/scripts/letsencryptrenew.sh: Permission denied
chmod: cannot access '/var/scripts/letsencryptrenew.sh': No such file or directory
rm: remove write-protected regular file '/var/scripts/test-new-config.sh'?
# Run scheluded tasks
* */1 * * * php /usr/local/bin/wp --url=https://shop.hanssonit.se --path=/var/www/html/shop wp cron event run --due-now
No option for proxy configuration settings in the configuration steps.
Thomas
Hi techandme. So I just downloaded and installed the wordpress VM OVA, and Installed in in my ESXi server. The script runs great, until I get to "For better security, change the system user password for []". And I press any key, and it runs in an endless circle with the output "passwd user [] does not exist" continuously. Take a look at the screen shots. Then, I tried to load the wordpress site on my page and it just hangs. Banner says "just another wordpress site" then a white page on my browser. Nothing else. Wordpress just doesn't work at all. Attached are the resources. I mean I gave it plenty of resources. Any clue? Take a look at the screenshots. I'm using VMware ESXi. My networking is fine, my DNS forward/reverse works great. My NTP is fine. firewall is wide open. I'm at a loss.
as the title says
https://github.com/nextcloud/vm/blob/master/static/static_ip.sh
While this code is open source, there is no obvious indication of license. Without a license, it’s unclear to others whether the code here can be modified or redistributed.
Perhaps that indicates the copyright holder is okay to any form of usage — but that would be an unfair and unsafe assumption to make. Therefore, the only safe assumption is that it should not be copied or redistributed in any way.
Could you please add a LICENSE
file to the repo root to establish terms of use?
Hi,
Have downloaded the wordpress ova and have tried to run it twice from scratch. After logging in and changing timezones etc, the scripts go do their thing.
Eventually, it gets to the point where it is preparing to unpack mariadb-server and seems to get stuck. (screenshot hopefully below)
resetting the VM and trying again generates a bunch of errors with duplicate entries, so I deleted the VM and re-imported the ova. Different mirrors offered and accepted, but same eventual result.
not sure if there's anything I can do to kick it along?
Hi the Wordpress_VM_www.hanssonit.se-disk1.vhdx image has the keyboard set to sweden.
Makes it very hard to type in commands if that not where you are from :-)
Could you run the dpkg-reconfigure keyboard-configuration or something to help on startup ?
Thomas
Allow TLSv1.3
define('FORCE_SSL_ADMIN', true);
if ( isset( $_SERVER['HTTP_X_FORWARDED_PROTO'] ) && $_SERVER['HTTP_X_FORWARDED_PROTO'] == 'https')
$_SERVER['HTTPS']='on';
Error: Error establishing a database connection.
Sorry but something went wrong. Please report this issue to https://github.com/techandme/wordpress-vm/issues and include the output of the error message. Thank you!
sudo -u www-data /usr/local/bin/wp option update siteurl --path=/var/www/html/wordpress failed
Have a look at why the master's nginx.conf is not set.
(Probably an easy fix)
Install script:
/dev/fd/63: line 172: php7.2-fpm: command not found
Redis installation OK!
cat: /tmp/redis_pass.txt: No such file or directory
doubt 100%
Install script
mv -f /etc/mysql/my.cnf /etc/mysql/my.cnf.old
ln -sf mariadb.cnf /etc/mysql/my.cnf
Warning: Failed to create directory '/home/wordpress/.wp-cli/cache/': mkdir(): Permission denied.
Warning: Regenerating a .htaccess file requires special configuration. See usage docs.
Update script
Error: /usr/local/bin/wp is not writable by current user.
welcome.txt
Stuff looks odd, bold and very large sized letters.
Are there any instructions on adding a new virtual host website to the Wordpress VM? Is it possible to install virtualmin to make this easier?
I have setup the Hyper-V as per instructed, both manually on version 9.0 as well as using the command to setup version 5.0 and then mapped the VHDX, however in both instances, the ubuntu does not connect to the internet, after I enter my public IP details.
Hi Techandme
I am trying to install your fantastic WordPress VM on my VMM. Everything ist going fine until he is trying to activate SSL (Let's encrypt).
The output is like this:
"We will now test that everything is ok
Press any key to continue…
Job for nginx.service failed because the control process exited with error code.
…
Couldn't load new config, reverted to old settings. Self-signed SLL is OK!
Can you perhaps tell me what is going wrong here?
Hello,
I have just installed the vm and import it within VMWare.
The system is asking me about login and password for Wordpress.
What is the default username/password configured ?
this link is dead:
https://www.techandme.se/user-pass/
The Ubuntu VM doesn't have any usable text editor. Both Nano and VIM aren't available for use. I tried installing one but get an error.
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.