1. Enable Web Sharing:
System Preferences-> sharing-> check Web Sharing
The default website directory is located in ~ /Sites
Test: http: // localhost /~ Elfsundae (elfsundae is your user name)
2. Configure Apache, install and configure MySQL
For details, see:
Install Apache/PHP/MySQL on Mac snow leopard
Http://www.cnblogs.com/elfsundae/archive/2010/11/27/1889570.html
Note: This article is an article I have reposted outside China. It is the essence of stackoverflow's heated discussion. It is re
1, Error: After installation, the first time is can start OpenFire server, but the computer restarts, it can no longer start the server, each time a click "Start OpenFire", and then load, state or "Start OpenFire" unchanged, Sometimes even jump out of the error box, prompting "Could not start the OpenFire server", ¥¥¥2, Workaround: Open the terminal, enter the fo
In fact, the terminal terminal on Mac OS system comes with it.At first, I used the command SSH [email protected], which is by default via port 22.And my VPS SSH port is not 22, the result is not connected, display: Ssh:connect to host localhost Port 22:connection refusedSo I Google, found that it is to change ssh_config, the result is not used, and some people said to change the ssh.plist, the results can not be changed.Finally, I ran SSH, prompting f
ArticleDirectory
Step 1: Install freetds
Step 2: Install tiny_tds
Step 3: Install activerecord_sqlserver_adapter
Step 4: Modify the gemfile in the root directory of the ROR project and add the following two sentences:
Step 5: Run bundle install
Step 6: Modify database. yml
Finally, success
After a long time of hard work, Ror can finally access the SQL Server database in OS
Install and configure the Apache server on Mac OS X
Note: When the Mac system is installed, it has its own Apache server. Next, it is configured and started to run. The next thing to do is:
1. Configure the apache configuration file2. Set Virtual HostsStart and view apache
Open the terminal and enter the following command:
$ Sudo apachectl start$ Sudo apachectl-v
, backup files, only need to execute once: sudo cp httpd.conf Httpd.conf.bak3, if the Operation error! You can use the command to restore the backed up httpd.conf file: sudo cp httpd.conf.bak httpd.conf4. Use VIM to edit httpd.conf file, httpd.conf file when Apache configuration file: sudo vim httpd.confAt this point you need to enter a password to obtain permissions, the following interface appears:Enter into the following interface:5, Press and hold (shift +:) search/documentroot, find the cor
Panel,--" --" -- > --" --"Delete the "Guest" account inside.l Change network access model " Control Panel", "Management Tools"- "--" --" -- > --" --"l change sharingOpen My Computer-tools-Folder Options-View-Remove the tick " use Simple File sharing (recommended)" .You should be able to access it now, and if not, you can enable the Guest account.L If the administrator's account of the monitored machine is empty or does not exist, the Administrator user account and password need to be reset. Cli
Description: SERVER: Mac OS X Server 10.5
Screen Sharing has been used normally. Use Windows XP tight VNC to connect.
However, the screen sharing function was accidentally canceled during the operation. You cannot use VNC connection but can log on remotely through SSH.
The following describes how to re-enable screen sharing on the Character interface:
Apache 2.2.27 and PHP 5.5.12 in Mac OS X 10.8.5 Compile the installation process:
Before you begin, upgrade the components of Xcode: Preferences = Downloads = Download command line tools package
Then enter the Apache source package, for most of the source package can use the following command to see the compilation options:
./configure--help
To configure compilation options:
./configure--prefix=/users/levin/dev/apache2.2.27--enable-modules=most--enab
Vshpere cloud OS 4 vcenter server add ESX host and network and storage
First, set the forward and reverse records of the ESX host on the DNS. If you do not want to set them, modify the host file.
Enter the Administrator account of the VC host to go To the VC console.
First, create a data center and rename it to VMware.
Add hosts to the VC console to manage ESX hosts using VC.
Enter the ESX host name a
The Apache 2.2.27 and PHP 5.5.12 compile the installation process in Mac OS X 10.8.5:Upgrade Xcode components first before starting: Preferences => Downloads => download command line tools Kit
Then enter the Apache source package, for most of the source package can use the following instructions to view the compilation options:
./configure--help
To configure compilation options:
./configure--prefix=/users/levin/dev/apache2.2.27-
A lot of similar online, mostly said to modify the my.cnf, in my case does not work, in addition, many are Linux under, tried for a long time, the final reason is quite simple: MySQL service did not get up.Because the Mysql.sock file is not very familiar, the beginning of a very large time wasted on this, after the reload is not, and then entered the/usr/local/mysql/bin/under the use of Mysqld start, the following problems occurOkay, I started with root, and the results came back.Please read "Se
Mac OS X: Disable and enable the connect to server option in the finder menu
This function can easily restrict user access to other networks for sharing. Of course, it must be used together with other functions to better implement this function.
By default, this option is enabled:
You can also disable:
It is easy to implement.Program, Enter the following command to disable
After Tomcat is configured for IDEA in Mac OS, The system starts to display 404 the origin server did not find a current representation for The target resource or is not willing to disclose that one exists .,
As shown in.
After searching for information on the Internet, I found out the cause of the problem for two days. Solution:
1. Stop Tomcat in idea (click the Red Square button in the upper right co
Command-line Operation SVN does not use the interface form of the tortoisesvn intuitive, but anyway, the command line Operation SVN still has it a bit, if you encounter a need SVN add many files what to do? The following commands can help you solve this problemAdd all new files to the SVN repository at once:awk ' {if (= = = "?") {print $}} ' xargs svn addDelete all files that need to be deleted from SVN library at onceawk ' {if (= = = "!") {print $}} ' Xargs RMFinally submit your changes directl
Brief introduction
SQL Server OS is a user-level operating system hierarchy on top of Windows that serves SQL Server. It abstracts the functionality of the operating system part from the entire SQL Server engine and forms a separate layer to serve the storage engine. SQL Server
In addition to providing Best-in-class j2ee™ application runtimes on top of the IBM System z™ platform, ibm®websphere®application Server for z/os® is optimized to take advantage of Sy, the core engine of today's enterprise SOA environment Stem Z's unique technical advantages. One of the most important unique features of WebSphere application Server for z/
On the official Ubuntu website, I listed the six reasons why I chose the Ubuntu server operating system, which were explained in terms of cost, system integration, virtualization, cloud computing, security, and system management. Compiled by IT168 as follows. Let's take a look at the six reasons for using Ubuntu server to grasp your mind. 1. Reduce costs (1) reduce data center costs Ubuntu
How to view server information in centos LinuxSome customers often ask Cloud Zhi interconnection to view some hardware configuration methods of the server. The following uses centos as an example to share various information viewing methods with users. This tutorial is applicable to centos, Debian, and other Linux distributions.1. view the server CPU ModelMore/pr
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.