In Apache Httpd-vhosts can configure the virtual host domain name, can also set domain name alias, such as domain name www.111cn.net, can give it to set one or more domain name alias, through 111cn.net access.
This is defined in httpd-vhosts.conf:
Php
DocumentRoot "/xampp/htdocs/yii2/frontend/web"ServerName www.111cn.netServeralias www.111cn.net 111cn.net ErrorLog "Logs/www.111cn.net-error.log"Customlog
Looked up in the. Bash_profile configuration then the source method, tried, but the current terminal is valid, when the computer restarts or shuts down the terminal is invalid, had to look at the Mac profile code# system-wide. Profile forSh1)if[-x/usr/libexec/Path_helper]; Then eval '/usr/libexec/path_helper-S ' # # #将环境路径进行添加fiif["${bash-no}"!="No" ]; Then [-R/ETC/BASHRC] . /etc/BASHRC # # #很明显这个是加载etcThe use of/BASHRC although I do not understand-what does R mean fi### imitate above I create a
"Alias" means that multiple handles try to point to the same object, as shown in the previous example. If someone writes something to that object, it creates an alias problem. If the owner of the other handle does not want that object to change, I am afraid it will be disappointed. This can be illustrated by the following simple example:
: Alias1.java
//aliasing two handles to one object public
cla
Every derived table must has its own aliasIt means that each derived table must have an alias of its own.This error typically occurs when querying multiple tables.Because the result of the subquery when the query is nested is a derived table for the previous level of the query, so the result of the subquery must have an aliasThe problem is solved, although it only adds an alias total without any effect, but
1. Alias-define or display aliases
1) alias [alias-name = 'ininal-command']
Alias [alias-name [= string]...]
Alias [alias] = [command name]
Use unalias
A record
Quote:The A (Address) record is used to specify the IP address record corresponding to the Host Name (or domain name. You can direct the website server under this domain name to your web server. You can also set a subdomain name for your domain name. In general, a record is the IP address of the server, and a record bound to the domain name tells the DNS that when you enter the domain name, it directs you to the server corresponding to the record set in the DNS
Subdomain nameQuote:The
For example, a Web site: http://www.zhang-chao.com
Enter URL: www.zhang-chao.com to enter site
But many times only want to enter the zhang-chao.com into the website (simple) similar to g.cn, there are two ways to achieve this.
1. Forward through URL (1. Hide forwarding 2. Display forwarding)Now hide the forwarding to pass the review, it is very troublesome for example you enter the zhang-chao.com to forward to www.163.com if it is hidden forwarding will only show the Domain Name of the zhang-
Problem phenomenon:AD The domain controller operating system is WIN2008R2, and a rejected error occurs when a DNS host (A) or alias (CNAME) record is manually added in DNS Manager. However, after you join the client to the domain, you can see the DNS host (A) record for the corresponding client in DNS Manager. In the system log, you can find the error log with ID 4015:Event Type: ErrorEvent Source: DNSEvent Type: NoneEvent id:4015Date: 2016/4/1Event:
Activity-alias This is Android in order to re-use the activity design.When the activity of the OnCreate () is in the method, run Getintent (). Getcomponent (). GetClassName (); This may not get the activity name, alias name, For example: In Androidmenifest.xml There are examples of the following configurations:This application will establish two entry points on the desktop, which is the activity shortcut ic
In PHP5.3, if you want to introduce some classes with a long name, it will be difficult to write. in this case, you can use the class alias of PHP5.3, for example: classIrrational_Long_Class_Name {// emptyclass} class_alias (Irrational_Long_Class_Name, ShortAli
In PHP 5.3, if you want to introduce some classes with a long name, it will be difficult to write. at this timeYou can use the alias of PHP 5.3 clas
Alias//custom command = "Linux command" Alias//View all custom commands in the current system Unalias//Custom Commands//delete custom commandsNote that if the server restarts, it disappears and if you want to save for a long time, edit the. bashrc file into it[Email protected] ~]# CD ~[[email protected] ~]# ls-a.Anaconda-ks.cfg. Bash_logout. bashrc. Install.log.syslog. TCSHRC. . bash_history. bash_profile.
Reprint: http://www.91pen.net/linux-system-set-up-to-resolve-the-alias-command-to-restart-after-failure-problem.htmlIn the process of using a Linux system, most of the cases are performed under the character interface. There are some long commands that we don't want to repeat each time, which is not only a waste of time but also error-prone; we use the alias command to solveLike what:Alias ll=' ls-l--color
Entering shortcut commands in the terminal can improve productivity while keeping a few commands in mindHow to do:First edit in the ~/directory. Bash_profile This hidden file, if you want to directly double-click this file to open the editor, please enter it in the terminalMac Show hidden files command defaults write Com.apple.finder appleshowallfiles-bool trueAt this point you find the. bash_profile file in the ~/directory and open this fileAfter opening make sure that your source is set up, if
AliasUnaliasAlias view the current command's macro definition statusUnalias [command] cancels the macro definition of the commands (memory operations, non-modified macro definition source files, restart invalidation)To use the original command with the renamed command, add the "\" backslash symbol before the command, or use the absolute address of the command to invoke it.Cases:CP command, when there is a file with the same name at the destination address, prompts whether to overwrite pasteUse t
type safety
3. Performance is significantly improved by not forcing boxing and unboxing of value types, or by forcing type conversions downward on reference types. For value types, the general increase is 200%, and for reference types, it can also be increased by 100% (of course, the entire application may or may not be running more efficiently.)
using generics in the structure body
Defining the general structure body Codepublic struct point{public T x;Public T y;}
Run instance CodePointPoint.x
table name for the student table, for example: Example 2: Query the Student table for all information, for example:Third, you can use arithmetic expressions in SQL statements:+ 、-、 *,/.?such as: selectempno,ename,sal+500 from EMP;So the SAL column can do the arithmetic and then display it in the query results."Attention" Select after assuming that add * , then * And then you can't add anything else, for example .SELECT *, sname from A is wrong. ? Example 3: Query the Student Table Section colum
MySQL Delete alias problem-log of meteor flame-NetEase Blog http://wzl3585493.blog.163.com/blog/static/7615611020126188377970/Delete from student s where s.id in (All-in);(Execution failed)Select s.* from student s where s.id in ();( executed successfully )Result Processing: 1. No aliasesSuch as:Delete from student where ID in (All-in-a);( successful execution )2. Alias is also added after deleteSuch as:Del
Tags: sed use replacement system optimization Learn Linux Delete files Lin configuration delete system filesToday the main learning of Linux alias configuration, the use of SED and system optimization, the Linux alias is mainly to prevent personnel operation errors, delete files and set up, but its biggest pit is to restart the server will be restored to the previous configuration, so you need to configure
SET command alias command purpose alias is used to set command alias command syntax setting alias: alias [alias] = [command name] example: alias rm = 'rm-I 'clear
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.