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
recommends adding
Delete a tasklaunchctl unload -w ***.plist
View the list launchctl list of tasks, which will show many tasks, and suggest filtering:launchctl list | grep ‘任务的部分名字‘
5 Todo (1) Boot from boot (2) Copy only those files that have been modified. (Requires a file to save the MD5 value of the file used, and then traverse each file, comparing the current MD5 value) http://blog.csdn.net/topasstem8/article/details/6551908/HTTP/ blog.chinaunix.net/uid-20613650-id-3269470.htm
Recently, the development environment has been transferred from Windows to Mac, and all environments have to be configured again. Because the MAC is based on UNIX system is not very familiar with, so encountered a lot of problems, the following small series for everyone to share.
Install Phpredis Extensions:
first of all, we first download Phpredis expansion package , this is the address https://nodeload.
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
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
Tags: brew mysql InstallationInstall MySQL Latest version 56install mysqlStart errorben:~ soul$ which mysql
/usr/local/bin/mysql
ben:~ soul$ mysql
2002tolocalthrough socket ‘/tmp/mysql.sock‘ (2)SolutionsRun ben:~ soul$ mysql.server start
Starting MySQL
. SUCCESS!
ben:~ soul$ mysql -uroot -p
Enter password:
tothe MySQL monitor. endwithor \g.
idis1
version5.6.26 HomebrewSet MySQL self-boot settings mysql root passwordben:~ soul$ ls /usr/local/bin | grep mysql --color
msql2mysql
mysql
mysql.serv
The development progress of building svn servers on mac can be relaxed a little bit today, and finally there is time to prepare for the establishment of the svn service to facilitate future code management. For www.2cto.com, you must first prepare the installation of the subversion. There is no special need for resolution here. After the subversion is installed, create a subversion under the user directory. Enter svnadmin create/Users/linsylar (User N
In Windows, Putty is often used to log on to a remote Linux host, during which PPK files are used. There is no putty in Mac OSX, but you can directly use the SSH command. This Command needs to be executed at terminal. Before using SSH, You need to convert the format of the PPK file. The method is: Open puttygen.exe in windows, read the PPK file, click the conversions menu, select OpenSSH, and assume that the file is saved as myppk. Ssh. In this case,
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.