file:Extension=/applications/ampps/php-5.3/lib/extensions/no-debug-non-zts-20090626/redis.so
To configure the memcache extension, run the following command ( note the location of the appropriate PHP version):
Wget-c Http://pecl.php.net/get/memcache-2.2.7.tgztar XZVF memcache-2.2.7.tgzcd memcache-2.2.7/applications/ampps/ Php-5.3/bin/phpizecflags=-m32 cppflags=-m32 ccasflags=-m32 ./configure--with-php-config=/applications/ampps/ Php-5.3/bin/php-configmakesudo make Insta
After upgrading to MacOS Sierra, there is a problem with releasing some of the software 1.git unavailable$ gitxcrun:error:invalid Active developer Path (/library/developer/commandlinetools), missing xcrun at:/library/develo Per/commandlinetools/usr/bin/xcrunSolutions$xcode-select--install Xcode-select:note:install requested for command line developer tools2.QQ Not availableSolutionsUpgrade to the latest version3. No problems found in other versionssuc
. build_release/lib/libcaffe.so.1.0.0Clang:warning:argument unused during compilation:'-pthread'[-wunused-command-line-argument]LD: Framework not found VecLibclang:error:linker command failed with exit code1(Use-v to see invocation) Make: * * * [. build_release/lib/libcaffe.so.1.0.0] Error1Solution:On the command line, enter: Xcode-select--installStep three, compile Pycaffe make PycaffeQuestion one:Cxx/ld-o python/caffe/_caffe.so Python/caffe/_caffe. CPP python/caffe/_caffe. cpp:'numpy/arrayobje
Learn MacOperating system usage Notes
Dock function Learning similar to shortcut icons
Command+q quit a program
Add and remove on dock drag
Command+delete Deleting files
Shift+command+delete completely removed
The Finder is a file management system.
Spotlight is a full search function
Command + W is the window to close windows
Command + table is the one that switches the programs on the desktop
Command + Contrl + F switch the full screen.
Lanuchpad:enter the pad module
My MacOS Sierra version number 10.12.2, the JRE package installed is: JRE-8U112-MACOSX-X64.DMGAfter you double-click Normal installation, entering java-version under terminal does not display the version properly, you need to configure environment variables.Here's how:Open Terminal, enter the following to create a profile in the current user directory:VI ~/.bash_profileClick the I key to enter edit mode, paste the following content:Java_home= "/Librar
-dfile.encoding=utf-8 in Charles ' Content/info.plist vmoption2, the development of the Android app is HTTP requests, and then changed to HTTPS, there is the following situation, can not read the content of the crawlWorkaround:(1) Check whether the mobile certificate is installedPS: Installation method Step no longer cumbersome, you can own Baidu method ha(2) The iOS installation is successful or the unknown is displayedWORKAROUND: Set the general "about this machine" certificate trust settings
Date: 2017.03.21
Category: "Operating system"
Comments
Mac Readlink does not have the-f parameter, such as Screenfetch will go to call readlink-f, so each time will appear:...]Very annoying, the solution is as follows:1. Install Coreutils:brew install coreutils2. Set environment variables, edit ~/.bash_profile, add:export PATH="/usr/local/opt/coreutils/libexec/gnubin:$PATH"3. Create aliases, use Greadlink instead of Readlink, edit ~/.bash_profile, add:alias readlink=greadlinkSolve
1. Use Brew to install OPENCVBrew Tap Homebrew/scienceBrew Install OpenCVLs/users/mac/library/python/2.7/lib/python/site-packagesMkdir-p/users/mac/library/python/2.7/lib/python/site-packagessudo mkdir-p/users/mac/library/python/2.7/lib/python/site-packagesecho ' Import site; Site.addsitedir ("/usr/local/lib/python2.7/site-packages") ' >>/users/mac/library/python/2.7/lib/python/ Site-packages/homebrew.pth2. Find the location of the installation OpenCV library file:/usr/local/cellar/opencv/2.4.13.
Lua is a very small scripting language, written by standard C, that makes it easy to call C + + or C + +. In addition, there is a Luajit, which is a compiler for LUA on some platforms.We are only installing LUA here.1. Detect if LUA is installed on your computerIn Terminal input:Login - at: ttys000zfydemacbook-pro:~5.3. 3 1994- lua.org, puc-RioBecause LUA is installed on my computer, the version number is displayed successfully. If it is not installed, it will prompt "command not found".2. Go
System version: Mac OS X 10This article briefly describes the compilation process of the Grpc-java, adding two packages to the installation dependencies in the official documentation steps.Build# Download Source codegit clone https://github.com/grpc/grpc-java.gitCD Grpc-java# Install MVNBrew Install Maven# Build Nettygit submodule update--initcd lib/nettymvn install-pl codec-http2-am-dskiptests=true# Build Protobufgit clone https://github.com/google/protobuf.gitCD Protobufgit Checkout alpha-2-X
Problem Description:After installing express globally using the NMP install EXPRESS-G command, the version number of Express can be obtained by using the EXPRESS-V command on the terminal, but when the project referencing express runs, it will report the lack of express errors, such asSolution:To add the path to node in the configuration file/etc/profileExport node_path= "/usr/local/lib/node_modules"Re-run/etc/profileRestart the terminal for normal use of ExpressProblems with
Brew Install MSMTPVI~/. MAILRCSetsendmail=/usr/local/bin/Msmtpwq!VI~/. msmtprc# use a external SMTP server with insecure authentication.# (manually choose an insecure authentication Metho D.) # Note that the password contains blanks.defaults################################################################### # # A Sample Configurationusingsina.cn################################################################### #accountdefaulthost Smtp.sina.cnport - from[email protected]auth logintls offuser [em
Before using native write NTFS functionality, the scenario for testing a third party's ntfs-3g is super-unstable, fearing data loss and decisive abandonment.NTFS-3G:HTTPS://GITHUB.COM/OSXFUSE/OSXFUSE/WIKI/NTFS-3G based on the Osxfuse1. Open the terminalsudo mkdir/volumes/ntfs sudo mount_ntfs-o rw,auto,nobrowse/dev/disk2s1/volumes/ntfs2. You can easily enter the write operation, you can shift+command+g in Findar, find/volumes, or open the hidden folder display shift+command+. Then go to the/volum
Recently upgraded the system, found that phpstorm run for a while to get up, according to the online method to increase the memory configuration is not effective;Run for a while, then the memory overflow, and then hang off;Thinking that only recently upgraded the operating system, and did not upgrade the JDK and other versions dependent, very annoying, inefficientJust see the official website this year out of the new version, so immediately uninstall, even the original hidden in each folder in t
The third method of parental test is effective
Already Tried:code Sign Error on MacOS Sierra, Xcode 8Please showing error imagecodesign/users/gururajtallur/library/developer/xcode/deriveddata/flow-bkqjkvtmvjovpyepfjeyqmjpintj/build/ Products/debug-iphoneos/super\ flow\ Flip.app cd "/volumes/development/project/top best GAMES/19. Lets Flow/35/let ' s Flow-source/proj.ios_mac ' export codesign_allocate=/applications/xcode.app/contents/devel
MacOS Java version Dynamic switching
1 Modifying the configuration file
$ VI ~/.bash_profile
2 Modify the contents of the file
# set JDK 6
export java_6_home= '/usr/libexec/java_home-v 1.6 '
# set JDK 8
export java_8_home= '/usr/libexec/ Java_home-v 1.8 '
# Set default JDK
export java_home= $JAVA _8_home
# Set the alias command to dynamically switch JDK versions
alias jdk6= "Export Java_home= $JAVA _6_home "
alias jdk8=" Export java_home= $JAVA
MacOS Tips: Set up separate wallpaper for different desktops
One of the functions of Mac system is to allow users to create multiple desktops, users can open different types of applications on each desktop, so that a single desktop is too Fanluan. But do you know, for each desktop can actually set up a separate wallpaper, so that desktop 1, desktop 2 or even desktop 3 of the wallpaper can show a different style.
To set different wallpapers for
1, the signing of GDB, the signature process is detailed: http://jingyan.baidu.com/article/d169e1864dc24d436611d839.html;2, restart the system, while holding the command + R key on the keyboard to enter the system Recovery mode ;3, Click the top menu bar, utility-"terminal, input command :csrutil enable--without debug; (Refer to Http://bbs.feng.com/read-htm-tid-9931290.html for a detailed introduction to the Csrutil command)4. Restart the systemAbout the solution that
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.