I have the current version of ngnix of:
nginx -v
nginx version: nginx/1.15.6
now I want to upgrade it, but do not know how?
I have found these resources: https://medium.com/#soban1193/upgrading-nginx-to-the-latest-version-on-ubuntu-c0ad9116cf87 and https://www.digitalocean.com/community/questions/how-to-update-nginx-and-should-i-update-it but they seem for upgrade using ubuntu commands.
I want to know how I can make the upgrade using macos
To upgrade nginx on macOS, use Homebrew:
Update Homebrew
brew update
Upgrade nginx
brew upgrade nginx
Cleanup old artifacts
brew cleanup
Reference
You can use Homebrew to manage package on MacOS.
For nginx, you can use brew install nginx
Related
I'm trying to upgrade SAM CLI, version 1.18.2 to 1.22.0 on Ubuntu 20.04. I used brew command:
~brew upgrade aws-sam-cli#1.22.0
but didn't work. Showed the next message:
Error: No available formula or cask with the name "aws-sam-cli#1.22".
Also I'm trying to find a downloadable to install a certain version.
Thanks for your help!
https://github.com/aws/aws-sam-cli/issues/1767
For anyone in the future, use pip.
pip3 install --user 'aws-sam-cli==1.12.0'
i am configuring an existing magento project on local system with WAMP server php version 7.2, while installing magento i get error "PHP extension "mcrypt" must be loaded."
Problem is mycrypt is no longer supported in php 7.2, can anyone suggest how can i resolve it?
mcrypt has been moved from php to pecl since 7.2
You still can install it.
Install dependencies
gcc make autoconf libc-dev pkg-config
install the lib itself
libmcrypt-dev
I assume php7.2 and pecl are installed so you just install mcrypt-1.0.1 (or whatever version is in rep.) with pecl
pecl install mcrypt-1.0.1
On working project, after installation of updates, I get errors with all dusk tests
1) Tests\Browser\ExampleTest::testBasicExample
Facebook\WebDriver\Exception\SessionNotCreatedException: session not created exception: Chrome version must be >= 60.0.3112.0
(Driver info: chromedriver=2.33.506092 (733a02544d189eeb751fe0d7ddca79a0ee28cce4),platform=Linux 4.4.0-81-generic x86_64)
I have already reinstalled dusk, updated composer and vagrant... And I have no any ideas how to update that dirver.
I am using macOS Sierra 10.12.1 and vagrant box on localhost. Chrome doesn't installed on the system.
Thanks for any advice..
Well...
After couple hours of dancing and googling, I installed update on the virtual Ubuntu
sudo apt-get update # Fetches the list of available updates
sudo apt-get upgrade # Strictly upgrades the current packages
sudo apt-get dist-upgrade # Installs updates (new ones)
It changed the version of Chrome.
After, I changed in my domain name .dev to .test, because Chrome >63+ forces .dev domains to HTTPS via preloaded HSTS.
Try to install chrome driver for a different version, I had the same issue and this fixed:
php artisan dusk:chrome-driver 74
I am using the Ubuntu PPA for Crossbar and am running 0.11.1. I need the option to use certificate chains which does not seem to be available in this version; is there an easy mechanism to upgrade at this point either using the PPA or copying files manually? I've tried the other Pypy based setups before and haven't been confident about running them in production.
From the django docs:
After installing Memcached itself, you'll need to install a memcached binding. There are several python memcached bindings available; the two most common are python-memcached and pylibmc.
The pylibmc docs have their own requirements:
-libmemcached 0.32 or later (last test with 0.51)
-zlib (required for compression support)
-libsasl2 (required for authentication support)
So it seems to me that I need to do the following:
-install memcached
-install libmemcached
-install zlib
-install libsas12
-install pylibmc
How/where can I do this? I've been used to just pip installing whatever I need but I can't even tell which of these are python packages. Are these bundled together anywhere?
Just do pip install python-memcached and you should be good.
As for installing memcached itself, it depends on the platform you are on.
Windows - http://pureform.wordpress.com/2008/01/10/installing-memcache-on-windows-for-php/
OS X - brew install memcached
Debian/Ubuntu - sudo apt-get install memcached
On OS X/Linux, just run memcached in the command line.
Detailed explanation here http://ilian.i-n-i.org/caching-websites-with-django-and-memcached/
The link above includes explanations for how to install Memcached on Ubuntu, how to configure it as cache engine in your Django project and how to use it.