How to switch xcode on Mac?
How to switch xcode on Mac?
Because of the need of learning, I installed two versions of Xcode on MAC, one is Xcode 7.3, the other is Xcode 8.3. But in some cases I need to switch the version of xcode, so I find out the following experience.
1. View the current version of xcode
/usr/bin/cc --version
Here I am:
jhmdeiMac:~ jhm$ /usr/bi ...
Posted by warydig on Sun, 10 Feb 2019 14:00:18 -0800
Django+Apache+mod_wsgi deployment under Ubuntu
OS: Ubuntu16.04LTS
Django: 1.11
Python: 2.7.11
Apache: 2.4
This article is just a simple deployment of Django+Apache
First, put the Django Project in the / var/www directory
1. Install Apache and mod_wsgi
sudo apt-get install apache2
sudo apt install libapache2-mod-wsgi
pip install virtualenv
2. Modi ...
Posted by vbnullchar on Thu, 07 Feb 2019 16:03:16 -0800
Aliyun Student Server Builds TensorFlow&Tensorboard uses &jupyter notebook configuration
TensorFlow
This article is about how to build TensorFlow under Aliyun Student Server
OS Ubuntu 16.04 64-bit python 3.5
1. Updating Software Sources
$ apt-get update
2. Install Python 3.5
$ apt-get install python3.5
$ cp /usr/bin/python /usr/bin/python_bak #backups
$ rm /usr/bin/python #delete
$ ln -s /usr/bin/python3.5 /usr/bin/python #S ...
Posted by Jason_London on Thu, 07 Feb 2019 10:39:18 -0800
VirtualBox error reporting "kernel driver not installed(rc=-1908)"
Software environment:
Ubuntu16.04
VirtualBox5.1.34
When installing VirtualBox, the following error prompts appear when opening the virtual machine:
Firstly, the modprobe VBox DRV reload module was executed with root privilege according to the prompt, but the VBox DRV module could not be found.
So t ...
Posted by amar3d on Tue, 05 Feb 2019 16:45:16 -0800
Linux+Solr+Zookeeper-01: Build Solr Service (non-cluster) and register it as Service Service Service.
[Super Connection: Linux+Solr+Zookeeper Series - Chapter 1]
This article mainly explains how to build Solr service on Linux server and make it a Service service.
The Solr service built in this paper is non-clustered (non-SolrCloud mode), and is only used for Solr's single service use.
1. environment
Ubuntu 16.04 L ...
Posted by lostboy on Tue, 05 Feb 2019 12:27:16 -0800
PostgreSQL & PostGIS of GIS on CentOS 7
PostgreSQL & PostGIS
Install postgresql
After configuring the yum source, you can find that the version of PostgreSQL is 9.2.23 by using yum info postgresql. If you want to install the latest version, you can refer to the following operation
https://www.postgresql.org/download/linux/redhat/
http://docs.nextgis.com/docs_ngweb/source/install ...
Posted by dt_gry on Tue, 05 Feb 2019 02:18:16 -0800
FFmpeg Mac Compiler Downloaded in Installation
Articles Catalogue
Compile ffmpeg
Recording issues
Android cross-compilation
Download ndk
mac.sh script
Compile ffmpeg
Here we use the mac system, which will be supplemented later by other systems.
download
git clone https://git.ffmpeg.org/ffmpeg.git
Help
cd ffmpeg
./configure --help | more
cd ffmpeg
Installation ...
Posted by poe on Fri, 01 Feb 2019 19:15:15 -0800
FastDFS Actual Operation
1. The process of uploading and displaying pictures after Django integrates FastDFS
2.FastDFS Installation (Operation in Virtual Machine Environment), (omitted)
3.Django Project Core Code
(1) File location:
(2)storage_util.py
from django.core.files.storage import Storage
from django.conf import settings
from fdfs_client.client i ...
Posted by matt.sisto on Thu, 31 Jan 2019 13:00:15 -0800
redis builder and slave
redis cluster concept:
A group of redis services, to provide services to the outside world (originally a person to work, now a group of people to work together).The characteristics of redis cluster:
Each redis service in the redis cluster is a node (node) in the cluster.
In redis cluster, redis services are divided into many gr ...
Posted by vinpkl on Tue, 29 Jan 2019 05:09:16 -0800
Installing lantern under OpenSUSE
Statement: This article refers to guoxiaoxu's Install Lantern under CentOS 7 ! As I am a novice who has just transferred from Ubuntu to openSUSE for less than 2 days, my level is very limited, please forgive me.
Installation preparation
Essential package
Prepare an official deb package for lantern and convert the deb package to rpm package thro ...
Posted by jeopardy_68 on Sun, 27 Jan 2019 23:24:14 -0800