Preparatory work:1. Confirm that the version number of Mac OS X is 10.10.3;2.mac OS X Yosemite Pre-installed Apache, Python, so there is no need to download the package;Enter Python under the shell to view the version:Python 2.7.6 (default, Sep 9, 15:04:36) [GCC 4.2.1 Compatible Apple LLVM 6.0 (clang-600.0.39)] on Darwintype "help "," copyright "," credits "or" license "for more information.Enter apachectl-v under the shell to view the pre-installed
Multiple critical security vulnerabilities in OS X Yosemite
Emil Kvarnhammar from Swedish security company Truesec found multiple security vulnerabilities in OS X 10.10, codenamed Yosemite. He named it rootpipe. He published an article explaining how to discover these vulnerabilities and how to prevent them. These security vulnerabilities allow attackers to obtain the highest permissions of the machine, th
Since the system was upgraded from OS X Mavericks 10.9 to OS X Yosemite 10.10, the configuration of Apache and PHP was not working properly.Reset the configuration as follows:First, check the Apache version of the current system and enter it under Terminal: HTTPD-V apache/2.4.01. Launch Apache Servicesudo apachectl startOpen Safari, visit: http://localhost, show "It works! "indicates Apache boot normalThe default directory for Apache is currently bei
, before 10.8 mac OS x version of its content and "http://localhost/~[user name" is exactly the same.Note that the log "errorlog"/private/var/log/apache2/sites-error_log "" can also be deleted, but logging is actually a good habit, in case of problems can help us to judge. If you keep these log code, a certain log file path is present, if you arbitrarily modify a non-existent, will cause Apache can not service without error prompts, this is more disgusting.ForbiddenAfter the above settings are
The error message is as follows:
/usr/local/bin/brew: /usr/local/Library/brew.rb: /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby: bad interpreter: No such file or directory/usr/local/bin/brew: line 23: /usr/local/Library/brew.rb: Undefined error: 0
The author explains as follows:
Mac OS X 10.10 (Yosemite) no longer ships with Ruby 1.8 (only 2.0 ). I have changed the brew. RB file to use the 'current' directory found in the ruby. f
/
Replace the icon with the Liteicon, and then clear the cache to unregister the system. Then, the familiar quasi-materialized world came back again.
for the dock, you can install cdock this SIMBL plugin to fix http://sourceforge.net/projects/cdock/ , his Yosemite 3D is the Moonlight Mirror 3D effect of the dock. Second, the Finder article650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/56/BF/wKiom1SL-TWBsFbrAAA-3TEL7Bo144.jpg "titl
MacBook updated the new system OS X Yosemite 10.10, the local site verification code is not displayed, compared to the PHP configuration, found that the GD library extension is less freetype. Help.
How to recompile GD for Mac
Reply content:
MacBook updated the new system OS X Yosemite 10.10, the local site verification code is not displayed, compared to the PHP configuration, found that the GD library
1. Under Windows, only WMware workstation 11 is now supported for installation of Yosemite, if it is a different version of WMware, you need to install 11 first, click to download2. After installing the WMware Workstation 11, create a new virtual machine, discover that there is no Apple OS x option, then need to crack, the cracked file in click Download, extract Code 9513. Before running the hack file, you need to make sure that Python is already inst
Xdebug, it has taught you in the php.ini configuration, but need to add a xdebug.remote_enable=on, this in the validation of the time, the other configuration items using the default is good.
3,>sudo apachectl Restart, restart Apache and you'll be able to see the xdebug information.
4, build a blank PHP project.
5, create a new PHP file, write some statements, you can use HTML embedded PHP format, or a pure PHP, can be.
Like what:
HTML>head>title>debug php
title>
Head>body>P>3+5=
Yosemite change is very big, followed by a heap of pits, before the previous version of the OS effective method on the new version of the OS has no effect, creating a personal site is one example.Mac OS built-in Apache, the installation directory is hidden by default in/etc/apache2/,etc. Can be viewed in any of the following ways:
Finder, select "Go to Folder" and enter "/etc"
Terminal, enter "Open/etc"
First, modify the file /etc/ap
Newly bought Arduino Development Board USB to serial port using the CH340 chip, on Mac OS X Yosemite after the normal installation of the driver, the Arduino IDE port did not find the corresponding device, using the following methods can be used after the USB to serial debugging and burning program.1. Installing the CH340 Drive (drive: http://www.wch.cn/download/CH341SER_MAC_ZIP.html)2. Open terminal to run the following command:sudo nvram boot-args=
PHP is automatically upgraded after Mac upgrade, resulting in PHP environment corruptionSo there are a few points to fix1.sudo ln-s/applications/xcode.app/contents/developer/platforms/macosx.platform/developer/sdks/ MACOSX10.10.SDK/usr/include/usr/includeNote the red part, if you upgrade to mertricks then it should be 10.10.If you're the newest Yosemite, then it's 10.0.If you execute this command error, please delete/usr/include firstsudo rm/usr/incl
X to upgrade to 10.10 Yosemite;2 iphone and Mac Bluetooth are open, but do not pair, as long as the opening on the line;3 The iphone and Mac FaceTime are logged in with the same icloud account;42 devices are connected to the same WiFi signal;5 Mac's FaceTime settings to allow iphone cellular network calls;6 "Text message Forwarding" page in iphone info settings7 then select a forwarding device, then the device will receive a verification code, and th
Upgrade upgrade Mac OS X 10.10 Yosemite when he upgrades Mac OS X 10.9 Mavericks, it can be done directly via the app Store.
The biggest change is the interface, continue to flat, IOS 7 style, the menu font has changed. The two programs you use most and care about are Safari and Terminal.
Safari.app improvement is very large, and finally add Google Chrome a few years ago, "directly in the Address bar search", because never shut down, so the browser
Apple officially unveiled its new operating system OS X Yosemite (Yosemite) in its October launch, a new operating system that differs from the previous one, Jony Ive, Apple's vice president of design. But in the small weave, the apple is highly recommended by the operating system is nothing more than the following highlights:
Nice look design
Although the small is not "appearance association"
; stringGT;HD (0,1) HD (0,5) HD (1,5) HD (1,1) HD (1,5) HD (1,6) HD (1,7) HD (2,5) string> string>yesstring> string>5string> string>yesstring>The combination effect I tried out was as follows: Quiet Boot is yes, Instant menu is yes, set the default Partition, Go directly to the Mac system Quiet Boot No, Instant Menu Yes, To manually select the system disk press ENTER to enter the MAC system quiet Boot Yes, Span style= "color: #ff0000;" >instant menu for No, set the default Part
protected]DocumentRoot "/users/hinet/sites/shanxiang/trunk"ServerName localhost#ServerAlias www.dummy-host.example.comErrorlog "/private/var/log/apache2/dummy-host.example.com-error_log"Customlog "/private/var/log/apache2/dummy-host.example.com-access_log" common#rewrite需指明路径Options Indexes followsymlinks MultiViewsAllowOverride all #AllowOverride None to allowoverride all to support. htaccessRequire all granted#ServerAdmin [email protected]DocumentRoot "/users/hinet/sites/phpmyadmin"ServerName
authz_core_module libexec/apache2/mod_authz_core.soloadmodule authz_host_module libexec/ apache2/mod_authz_host.soloadmodule userdir_module libexec/apache2//private/etc/apache2/extra/ Httpd-userdir.conf2. Modify the /etc/apache2/extra/httpd-userdir.conf file. Locate the following line of code and remove the previous # number. Include/private/etc/apache2/users/*. conf3. Modify the /etc/apache2/users/qyfmac.conf file. If the file does not exist, create one, my qyfmac is my user name, can be creat
RSMacBook-Pro:~ RS$ pod search jsonkit/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require‘: cannot load such file -- xcodeproj/prebuilt/universal.x86_64-darwin14-2.0.0/xcodeproj_ext (LoadError) from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require‘ from /Library/Ruby/Gems/2.0.0/gems/xcodeproj-0.17.0/lib/xcodeproj/ext.rb:6:in `rescue in
I alwa
official guide to install, basically is to download zip and extract to the ~/.vim/directory.
3.Setting up:
Vim color: Refer to the Official guide, edit the ~/.VIMRC configuration file, add ColorScheme solarized, and other personalization settings.
Latex-vim: Refer to the Official guide, edit the ~/.VIMRC configuration file, and note the following points:
A. Bug fix: I downloaded the vim-latex-1.8.23-20141116.812-gitd0f31c9 version has a bug called skim, please refer to he
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.