- Pip install 卡住不动的解决方案啥也不说了,眼泪哗哗的 –来自怨念深重的不灵狗。【运行环境】在ubuntu下使用pip安装flask-mongoengine;pip已经升到最高版本,你妹,旧版本ctrl + c后还能知道断在哪,新的就直接连个p都没有;使用了豆瓣的源做了加速,安装时还加了能翻墙的代理,然并卵;卡住了,怎么.
- I want to install certbot in a docker environment with an Ubuntu 16.04 image. For example: docker run -it ubuntu:16.04 /bin/bash When I'm inside the container, the most straightforward way to install certbot does not work as it requires user intervention.
Stable releases liberally follow the usual major.minor.patch semantic versioning schema.
$ docker pull quay.io/plotly/orca Usage. If no arguments are specified, it starts an Orca server on port 9091. You can publish the port to the outside world the usual way: $ docker run -d -p 9091:9091 quay.io/plotly/orca If the first argument is graph, it executes the command line application orca graph: $ docker run -i quay.io/plotly/orca.
Unstable
This is where all the development happens. Only for hard-core hackers. Use only if you need to test the latest features or performance improvements. This is going to be the next Redis release in a few months.Stable (6.2)
Redis 6.2 includes many new commands and improvements, but no big features. It mainly makes Redis more complete and addresses issues that have been requested by many users frequently or for a long time.Docker Hub
It is possible to get Docker images of Redis from the Docker Hub. Multiple versions are available, usually updated in a short time after a new release is available.In the Cloud
Get a free-for-life Redis instance with Redis Cloud Essentials from Redis Labs, the home of Redis.
*Other versions
Old (6.0)
Redis 6.0 introduces SSL, the new RESP3 protocol, ACLs, client side caching, diskless replicas, I/O threads, faster RDB loading, new modules APIs and many more improvements.See the release notes or download 6.0.12.
Older (5.0)
Redis 5.0 is the first version of Redis to introduce the new stream data type with consumer groups, sorted sets blocking pop operations, LFU/LRU info in RDB, Cluster manager inside redis-cli, active defragmentation V2, HyperLogLogs improvements and many other improvements. Redis 5 was release as GA in October 2018.See the release notes or download 5.0.12.
*Other
Historical downloads are still available on https://download.redis.io/releases/.Scripts and other automatic downloads can easily access the tarball of the latest Redis stable version at https://download.redis.io/redis-stable.tar.gz, and its respective SHA256 sum at https://download.redis.io/redis-stable.tar.gz.SHA256SUM. The source code of the latest stable release is always browsable here, use the file src/version.h in order to extract the version in an automatic way.
*How to verify files for integrity
The Github repository redis-hashes contains a README file with SHA1 digests of released tarball archives. Note: the generic redis-stable.tar.gz tarball does not match any hash because it is modified to untar to the redis-stable directory.
*Installation
*From source code
Download, extract and compile Redis with:
The binaries that are now compiled are available in the src
directory. Run Redis with:
You can interact with Redis using the built-in client:
*From the official Ubuntu PPA
You can install the latest stable version of Redis from the redislabs/redis
package repository. Add the repository to the apt
index, update it and install:
*From Snapcraft
You can install the latest stable version of Redis from the Snapcraft marketplace:
Are you new to Redis? Try our online, interactive tutorial.
RPM Installation
For openSUSE users, OpenCFD Ltd. is working with the community SciencePortal and the build service to provide OpenFOAM as precompiled RPMpackages.
Simply go to the download pagehttps://software.opensuse.org//download.html?project=science&package=openfoam2006and follow the instructions there.
If you already have the Science repository registered on your system, youshould be able to install it directly with dnf (Fedora) or zypper (openSUSE) orwith graphical tools such as YaST2.
Note that the science repository also includes the latest versions of scotch andParaView for using with OpenFOAM.
Up-to-date information can be found on our wiki page.
Fedora, RedHat
For RedHat-based systems, OpenCFD Ltd. current uses the copr infrastructure toprovide RPM packages. These pre-compiled packages leverage standardcomponents available from EPEL (Extra Packages for Enterprise Linux) and someelements of PowerTools as well.
Up-to-date information can be found on our wiki page.
Ubuntu
For Debian/Ubuntu, OpenCFD works actively with the Debian (science)maintainers to improve the packaging, but also provides its own early-releaserepository.
Up-to-date information can be found on our wiki page.
Docker
OpenCFD Ltd. uses Docker Hub to distribute pre-compiled versions ofOpenFOAM for Linux, Mac OS X and Windows, including a completedevelopment environment.
Docker containers enable binaries compiled on a given Linux environment tobe run on other platforms without any performance degradation. Docker alsooperates on Windows and Mac OS X wrapped in a light-weight VirtualBox.
An image of OpenFOAM contains binaries and source code. The Dockerenvironment provides:
Docker Ubuntu Install Curl
- A complete development environment to compile local modifications and create executables.
- A consistent behaviour of the OpenFOAM across all platforms
Check if your (Linux or Windows or Mac OS X) system is supported by visitinghttps://docs.docker.com/engine/installation/
Installing Docker
Docker is available in two editions: Community Edition (CE) and EnterpriseEdition (EE). For installing and running the OpenFOAM image, the CommunityEdition is sufficient. Please see:
https://docs.docker.com/engine/installation/
Installing and running OpenFOAM
- Make sure the user is in the group ‘docker’. This can be checked with The list of groups should include docker.
- Make sure the Docker daemon is running:
- Download the following scripts from the release instructions and put them in a local directory (e.g. home directory)
- Make the install script executable
- Download and create the Docker container for OpenFOAM by executing the first script
- This only needs to be done once per login. The first ever invocation will download the whole OpenFOAM installation so might take some time to finish. Any future invocations will take a few seconds only.
- Make the start script executable
- Start the Docker container with the second script:
- This will open a new shell with the OpenFOAM environment fully installed and ready to use, e.g.mkdir -p $FOAM_RUN
run
cp -r $FOAM_TUTORIALS/incompressible/icoFoam/cavity/cavity .
cd cavity
blockMesh
icoFoam - All user files inside the Docker environment are available on the host inside the home directory.
Frequently Asked Questions on Docker
Docker Ubuntu Install Java
Docker Ubuntu Installation
- Is there any performance degradation when running via Docker?
No performance penalties are expected. On Linux, OpenFOAM inside Docker should run as fast as natively compiled code. On Windows and Mac OS X there may be a slight performance penalty associated with I/O. - How do I check if the OpenFOAM image has been downloaded correctly?
Type the command to show the images available in Docker environment, e.g.REPOSITORY TAG IMAGE ID CREATED VIRTUAL SIZEIf you receive an error message about not being able to contact the Docker daemon check that
openfoamplus/of_v1706_centos73 latest 88d542266184 4 hours ago 1.574 GB- the Docker daemon is started at boot time
- the user account is in the group ‘docker’
- Where are my files?
The user files inside Docker are visible (i.e. mounted) in your home area and can be operated on just like any other file. - Why doesn’t paraFoam display?
- Make sure that your machine’s software is fully up-to-date. See if you can start a simple X-windows, non-graphics program, e.g.: xterm If this does not come up there may be a problem with the xhost access to the host screen. This is one of the steps inside the startOpenFOAM script.
- An alternative remedy is to install the native ParaView version for your system, and use the built-in OpenFOAM reader and/or OpenFOAM data conversion tools.
- How do I run parallel?
Same as any other OpenFOAM installation, e.g.: mpirun -np 2 icoFoam-parallel - How do I run parallel on multiple computers?
This is not trivial inside the Docker environment. Also you might want to include optimised communication libraries (MPI) so it probably makes more sense to perform a native compilation. - How do I compile code?
The Docker environment contains a full OpenFOAM development environment so all Allwmake, wmake, wclean etc. commands work (it is running the actual environment OpenFOAM was compiled in!) - What does installOpenFOAM do?
It downloads the OpenFOAM image from the Docker Hub and creates a specialised container. This container- mounts the home directory of the user with read/write access
- optionally channels the graphics
- sets up the OpenFOAM environment.
The image itself was created from CentOS 7.3. If you wish to install any additional tool in your docker container, start it as usual via the startOpenFOAM script, login as root with the password openfoam and use e.g. yum.
- I still have questions...
The Docker route to OpenFOAM is new and still being refined. It you have comments/tips please mail them to: docker (at) opencfd.co.uk.