Most of the software on Mac is charged, and the configuration of open-source Dongdong is quite troublesome. Online Search found that XAMPP software is integrated with multiple server software, similar to phpstudy on windows, it can help developers quickly build local servers. For more information, see.
(1) XAMPP software download: Workshop,If the latest download may be faulty, the MySQL option cannot be dis
1. The Apache server is installed by default when the system is installed.Config file unknown:/etc/apache2/httpd.conf2. Edit the configuration file httpd.conf2.1 Find DocumentRoot, and modify its value---this value is the server addressAlso modify the Directory below DocumentRoot* In fact, you can not change it. The root directory of the service is under the original documentroot.2.2 Find DirectoryIndex, an
configtest ":
(5) Deny all access to your server file system, if necessary, can be modified, temporarily do not change(6) Here is the default directory for Web pages, modify the path (7) The display file of the home page (that is, "It works! "), You can simply move the index.html file under the original path into the new path without making any changes .
Note: If you have modified the web hosting directory, you need to move t
Tools/Materials
Terminal
Method/Step
To open the terminal, we create a code repository, created with Svnadmin create, as in the example below, which creates the Svndir folder in the current directory.
We go to the Svndir folder to see the following content
Conf folder is the configuration folder, which has the relevant configuration, first select the svnserve.conf configuration, such as:# anon-access = Read# auth-access = Write# password-db = passwd# authz-db = AuthzRemove
Application for Amazon Cloud Server EC2, instance for Ubuntu systemFirst, open the terminal, locate the folder where the key is placed;Second, ensure that the private key is not publicly visible:chmod 400 key file name. PEMThree, two ways to connect to the cloud server: (assuming that the instance of the public IP is: 11.22.33.44)Ssh-i key file name. PEM [email protected]Ssh-i key file name. PEM [email prot
Suppose you want to connect to the server address of 123.123.123.123, the port number is 8888, the user name is root, the password is Mimamima
Write the shell file "login_server.sh" and place it under directory/usr/local/bin/(this directory can be arbitrarily specified), the file contents are as follows:
spawn ssh -p 8888 [emailprotected]expect"password:"send"mimamima\r"interactexpect eof
Open item2-profiles-open Profiles
Apachetl Server1. Create a Sites folder (the default is a network folder) to perform cd/etc/apache2/on the terminal2. If there is a"Swap file". File name. SWP "Already exists! [O]pen read-only, (E) dit anyway, (R) Ecover, (Q) uit: ") Remove the previousPlease choose Q to remove the previous one to upgrade this instructions you have previously configured, but the simplest way to upgrade is to delete directly and then select QIt didn't come out the best but3. Enter the Vim editor and do not enter
Sometimes the server vendors will make their own naming rules, such as some of Dell's server network card name may be the beginning of EM, such as EM1, and sometimes the beginning of the ETH, such as eth0, which let us get the network card command becomes less general, I wrote the following, no matter what the beginning of it can be:List all Macs:ifconfig-a |grep ' Ethernet ' | awk ' {print $} 'List only th
Open Apache
There are two ways to open a Web server:
Open Web share (Web sharing), System settings Preferences (Preferences), sharing (sharing)
Open by running Apache's start command directly on the terminal terminal:sudo apachectl start
After launching, we will find in the browser input http://localhost
The default Web root directory for Apache servers is: /Library/WebServer/DocumentsThe Apache configuration file is in:/etc/apach
Tags: HTTP official website href installation CHM ref good width hub1. First install the zsh "link" robbyrussell/oh-my-zsh什么是 oh-my-zsh(官网)Two ways to downloadDownload installation is successful as shownvi ~/.zshrc发开Open the Zsh configuration fileFind Example AliasesAdd alias test_server_jzweb= ' ssh-p 9528 [email protected] ' (xxx.xxx.xx.xx IP)Setup succeeded.: Wq Save ExitTo exit the terminal at this timeThen re-open the terminalEnter Test + TAB and the alias you set will appearTest_server_jzw
Tags: png nbsp Width data-bsp TPS Successfully entered GitHub1. First install the zsh "link" robbyrussell/oh-my-zsh什么是 oh-my-zsh(官网)Two ways to downloadDownload installation is successful as shownvi ~/.zshrc发开Open the Zsh configuration fileFind Example AliasesAdd alias test_server_jzweb= ' ssh-p 9528 [email protected] ' (xxx.xxx.xx.xx IP)Setup succeeded.: Wq Save ExitTo exit the terminal at this timeThen re-open the terminalEnter Test + TAB and the alias you set will appearTest_server_jzweb ente
General Mac sharing can be achieved by configuring WINS,SMB. Note in the same workgroup!Reference: http://computers.tutsplus.com/tutorials/how-to-set-up-an-smb-server-in-os-x-and-windows-8--mac-46276Helpless configuration after a variety of tossing, XP always cannot access shared resources. (Win7 can actually access, but also only hear the sound of the egg broken
Mac remote connection to centos server via Terminal SSH
Enter
Ssh-l root 204. 74. *. * can be connected. This is the case where the port is not changed, or the original 22
Ssh-P 448 (the port you changed)-l root (connection username) 204. 74. *. * This is the connection after the port is changed
Host key Verification Failed. Ssh during SSH connection Host key verification failed during SSH con
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
1 Create SVN library: mudydemacbook-air:~ mudy$Svnadmin CREATE/USERS/MUDY/SVN 2 Configuration, configure our SVNA, open the comments in the svnsever.conf file (that is, the # number, note that there can be no spaces, shelf)authz-db =Authzpassword-db = Passwdanon-access = Read Auth-access = writeb, configure user passwd[users]mudy=123456c, AUTHZ[/]MUDY=RW Start the SVN server.Svnserve-d-R/USERS/MUDY/SVNAbout the client,,,Using version, here is the version and its cracked file, Link: http://pan.ba
Re-installed the system, a new Ubuntu virtual machine, loading the original image, the results of the network becomes abnormal after startup, prompting informationWaiting for network configuration ...Waiting to + seconds for network configuration ...Once the system has logged in, the execution ifconfig found only one lo, less eth0Find the information on the Internet, find the solution, the method is very simple.[Email protected]:~$ sudo rm/etc/udev/rules.d/70-persistent-net.rulesor sudo mv/etc/u
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
A problem for a long time, usually do not use this synchronization of the calendar. Take some time tonight to settle down.Refer to the Apple website calendar for questions and answers.When the following conditions occur:
Exit calendars and reminders.
Choose System Preferences from the Apple (?) menu, then click ICloud.
Click the checkbox to uncheck Calendar and reminders. In OS X Mountain Lion, uncheck the single checkbox for calendars and reminders.
Turn off syst
Tags: cannot font rmi technology software download HTTP Consumer ftps command
Software
http://ww2.unime.it/flr/tftpserver/
After the software is downloaded, install, open the software, if it appears as shown in the case
Then when you click the Blue Fix button, the following prompt appearsAt this point, you need to change the owner of the file, please open your terminal, and execute the following command, make the corresponding changessudo chown your user name/privat
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.