1. Convert the contents of the/etc/issue file to uppercase and save to the/tmp/issue.out file2. Convert the current system login user's information to uppercase and save to the/tmp/who.out file3, a Linux user to the root email, request the message titled "Help", the message body is as follows: Hello, I am user name, the system version is Here,please help me to check it, thanks! Operating system Version Information4, the/root/file list, displayed as a line, and the file name separated by a space5
permission is selected.(3) Create a new role model, add data validation,(4) Add a hook function _after_insert () to the role model, and the function completes the inbound It_role_privilege table(5) How to modify and add a role2. List of roles (1) Create a new LST method, copy the corresponding static page, and modify the path of the style and pictureRequirements: The name of the role, and the names of the role corresponding permissions are also listed.Thinking: The table in which the permission
to complete the It_admin_role form modificationAdd a hook function to the admin model.Job thinking: Deleting Administrators in bulk,Idea: Set a form at the outermost of the administrator list.Five, Model Management When adding a model, the corresponding additional table is automatically generated and the corresponding field information is created in the attached table.Tables that need to create models#模型表 dede_channeltype table ID model name Append table nameCREATE TABLE It_model (ID tinyint un
' '-F1--implements the Cat/etc/passwd | WC-L--displays the number of rows in the directory LS/usr/bin | Wc-lAfter-school assignments:Practice:1. Statistical/usr/bin/the number of files in the directory;#Ls/usr/bin | wc-l2, the shell of all the users on the current system is removed, and each shell is displayed only once, and is displayed sequentially;#cut-d:-f7/etc/passwd | sort-u3, thinking: How to display/var/What is the content type of each file in the log directory? #file/var/log/*#cd/var/lo
nozzle from group, which makes a plumbing image from the group. Painter automatically generates a file for the image collection, Ctrl+s saves the file, RIF it in the original format of painter, and saves it in a custom folder.
8. Select load nozzle (load water pipe image), find the file just saved, with image hose brush on the screen spraying. Don't be too early, this custom water pipe image is not yet load
>> 1.txt(2) Commad >/path/to/somefile 2>1[Email protected] nzg]# llls al > 1.txt 2>1Commad >>/path/to/somefile 2>1[Email protected] nzg]# llls al >> 1.txt 2>16. PipingThe combination of redirect and pipeline can play his greatest advantage, it will be very flexible and practical.When using a pipe segment, we can imagine that two water pipes flow into the water pipe at the input of another program, which allows us to stitch the program arbitrarily.Pipeline: A connection program that implements t
install-y bash-completion)3.alias aliases:To set the custom alias:Alias name = ' The name to be replaced 'Alias restartnet= ' systemctl restart Network.service 'To cancel a custom alias:Ualias restartnetwhere alias is definedEach user has their own configuration alias file ~/.BASHRCls/etc/profile.d/Wildcard characters1. *: Indicates 0 or more characters2.? : represents an arbitrary character3.ls [0-3].txt[Range] Any one satisfies the condition, takes only one.4.ls {1,2,3,a}.txt take a 1 or 2 or
diameter is different, the time required to prepare the operation may be different. Water companies always want to doodle to find such a water supply path, all the pipelines on the path are ready for the shortest possible time. Dudu wants you to help him complete such a path-selecting system to meet the requirements of the water supply company. In addition, due to the old water pipes in my city, some of the water pipes will occasionally fail to use, your program must take this into account.Thin
"Hello World" | Tee/tmp/hello.outCan be displayed once, and then written to a file.Several exercises for piping:1) Statistics of the number of documents in the Usr/bin directory;Answer: Ls/uer/bin |wc-l2) Remove the shell from all users on the current system and require that each shell be displayed only once.Answer: cut-d:-f7/etc/passwd|sort-u3) Think: How to display the content type of each file under the/var/log directory. Answer: File/var/log.4) Remove the 6th line of the/etc/inittab file.Th
Max is from the server with Apache and PHP, do not need to install additional, this article on the relevant configuration is described.
First: Apache
Enter the terminal and the following command will launch the Apache server:
Start sudo apachectl-k start //restart sudo apachectl-k restart
Verify:
Enter in the browser: http://127.0.0.1, displayed as it works!
The IIS server default port for window is also 80,
The Wamp Apache (httpd) default port is also 80,
Any port conflict caused by the Wamp open failure, causing wamp the lower right corner of the icon is yellow color (normal open green),
You can change the port number of Apache (httpd).
Specific programmes
To be replaced by:
Then restart the Wamp service, or the Wamp itself will be
The above descr
1. First, you need to install Apache service, here does not describe how to install.
2. First configure window virtual domain to open hosts
Path is C:\WINDOWS\SYSTEM32\DRIVERS\ETC
After opening, write the domain name in the inside like www.cms.com
3. Modify the Apache configuration file httpd.conf
Found it
Remove the note
Modify
To open state
4. Modify Apa
First, modify the Apache default Site Directory
After the Apache HTTP server is installed, the default site directory is located in the Htdocs folder under its installation directory, and the default home page is the index.html file for that folder. For example, my Apache is installed inside c:/wamp/bin/apache/apache2
First, redirect method; Piping method: Cat $FILENAME | While Read lineFunction While_read_line () {Cat $FILENAME | While Read lineDoEcho $LINEDone}Note: I only call this method the pipe method, compared to everyone should be able to see it. When the
1.Reference: http://bbs.chinaunix.net/thread-3699479-1-1.html1.1, the second floor said:“Write that is less than or equal to pipe_buf bytes must be an atomic operation that exceeds this value.POSIX Specifies that PIPE_BUF is at least 512.”1.2, nine
Environment: Window 7, apache/2.2.19 (WIN32) php/5.2.9-1
1. Configure the server name
Remove the #ServerName localhost:80 comments from the inside.
Re-run the Apache service.
The http://localhost:80 can then be accessed through a browser, which means that Apache has been installed and started successfully if the page is displayed.
2. Add PHP Support
A few days ago in the Apache implementation of multi-tomcat load Balancing cluster through JK, the reference network configuration to configure the configuration file, access to the existing tomcat in the JSP file found that the Apache prompt URL does not exist, and then check the configuration file and the Tomcat project deployment, There is no problem with the configuration deployment found. Trying to acc
Some days before doing Apache through JK to achieve a multi-tomcat load Balancing cluster, the reference network configuration after configuring the profile, access to the existing Tomcat file in the Apache hint URL does not exist, and then check the configuration file and Tomcat deployment, Found no problem with configuration deployment. Attempting to access the Apache
In my last article, (4) How to operate an Excel file with Apache POI-----found POI-3.12 a regression, by testing the version of POI-3.12, I found a bug, then what to do when the bug was found. We have 2 kinds of processing, first we go to the Apache POI Bug Library to search, to see if others have created a similar bug, if there is created, this is the best result, we only need to focus on when the bug was
Summary: Apache support Chinese domain name binding, Apache support Chinese domain name binding, teach you how to let Apache support Chinese domain name binding , according to my actual experience, how to let Apache support Chinese domain name binding, It's absolutely useful for Ap
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.