This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This post is a report on my recent experiment getting EE to run well on a Nginx/PHP-FPM/PHP5.3.3+, no-Apache2 setup. I'm new to EE, but not server administration, with plenty of experience using Apache2. | |
However, after seeing the excessive RAM usage by Apache2 on my Ubuntu 10.04 LTS virtual server, (ve) @ MediaTemple.net , I wanted to look into deploying my first EE site on a more lightweight, but still robust setup, capable of scaling well. After working with EE for a bit, and finding out just how cool it is, I thought I'd share my results of trying this with Nginx 1.x. | |
The point of this post is to garner input from other EE server admins to refine these Nginx configs, with the hopeful outcome of generating, as much as possible, a 'config-and-drop-in' Nginx setup. While setting up current versions of Nginx and PHP-FPM are not within the scope of this posting... | |
[b]On Ubuntu 10.0.4[/b], you may want to check out: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# assign env var, if set | |
HB="${HOMEBREW_PREFIX:=/usr/local}" | |
find -L "${HB}/opt" -name 'INSTALL_RECEIPT.json' -maxdepth 2 -print > /tmp/homebrew-installed.txt | |
printf '' > /tmp/homebrew-installed-w-options.txt | |
NAME='' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# usage: <script> "path to .app bundle" | |
# convert to absolute path (needed by 'defaults' command) | |
CMD="import os, sys; print os.path.realpath(\"$1\")" | |
# echo $CMD | |
APP=$(/usr/bin/python -c "$CMD" ) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Converting to Parallels ### | |
# convert .vmdk to a Parallels machine (tested on Mac OS X 10.9 and Parallels 9) | |
# first launch /Applications/Parallels\ Desktop.app (provides service for prl_convert) | |
# NOTE: the converted vm is named 'Ubuntu Linux.pvm' by default; | |
# ensure /<dest-volume> does not already contain a similarly named vm | |
# in Mac's Terminal.app | |
$ /Applications/Parallels\ Desktop.app/Contents/MacOS/prl_convert <path-to>/osgeo-live-7.9.vmdk --dst=/<dest-volume> --reg=n | |
WARNING: Reconfiguration iso is unavailable. Linux guest reconfiguration is impossible | |
Conversion progress: 100 % | |
The source third-party virtual disk was successfully converted to a Parallels virtual machine stored in /<some-other-volume>/Ubuntu Linux.pvm. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
D, [2018-11-14T17:04:15.237274 #35579] DEBUG -- net.ssh.authentication.methods.publickey[8380e6b0]: publickey succeeded (74:5f:a4:26:e8:b9:7d:cd:e2:5a:79:a8:48:21:4f:7a) | |
DEBUG winssh: == Net-SSH connection debug-level log END == | |
DEBUG winssh: Base SSH exec command: powershell -File C:\Windows\Temp\vagrant-ssh20181114-35579-14wzu48.ps1 | |
DEBUG winssh: stderr: File C:\Windows\Temp\vagrant-ssh20181114-35579-14wzu48.ps1 cannot be loaded because running | |
DEBUG winssh: stderr: scripts is disabled on this system. For more information, see about_Execution_Policies at | |
DEBUG winssh: stderr: https:/go.microsoft.com/fwlink/?LinkID=135170. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/customwidgets/CMakeLists.txt b/src/customwidgets/CMakeLists.txt | |
index c914eb11fa7..3f3c9151155 100644 | |
--- a/src/customwidgets/CMakeLists.txt | |
+++ b/src/customwidgets/CMakeLists.txt | |
@@ -116,6 +116,7 @@ INCLUDE_DIRECTORIES( | |
) | |
INCLUDE_DIRECTORIES(SYSTEM | |
${GEOS_INCLUDE_DIR} | |
+ ${QSCINTILLA_INCLUDE_DIR} | |
${Qt5UiPlugin_INCLUDE_DIRS} # For Qt5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/customwidgets/CMakeLists.txt b/src/customwidgets/CMakeLists.txt | |
index f0af8698fc7..0d71a3672a1 100644 | |
--- a/src/customwidgets/CMakeLists.txt | |
+++ b/src/customwidgets/CMakeLists.txt | |
@@ -114,6 +114,7 @@ INCLUDE_DIRECTORIES( | |
) | |
INCLUDE_DIRECTORIES(SYSTEM | |
${GEOS_INCLUDE_DIR} | |
+ ${QSCINTILLA_INCLUDE_DIR} | |
${Qt5UiPlugin_INCLUDE_DIRS} # For Qt5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: utf-8 -*- | |
""" | |
/*************************************************************************** | |
OSGeo4Mac Python startup script to strip macOS system Python site-packages | |
------------------- | |
begin : 2013-09-20 | |
copyright: (C) 2013, 2017 Larry Shaffer | |
email : larrys@dakotacarto.com | |
***************************************************************************/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
REM LS: last successful build: 2017/01/19 | |
REM off of master branch: 10b2a2baeb5e016d73bc3e88d188eba38466b796 | |
call "%~dp0\o4w-build-env-64.bat" | |
set BUILDCONF=Release | |
echo "PATH: %PATH%" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/sipgen/gencode.c b/sipgen/gencode.c | |
index c5707ef..7b477a8 100644 | |
--- a/sipgen/gencode.c | |
+++ b/sipgen/gencode.c | |
@@ -5913,15 +5913,20 @@ static void generateClassFunctions(sipSpec *pt, moduleDef *mod, classDef *cd, | |
else if (md->slot != no_slot) | |
generateSlot(mod, cd, NULL, md, fp); | |
- /* The cast function. */ | |
- if (needsCastFunction(cd)) |
NewerOlder