shell limits (system resource limit) to improve the running efficiency of the software.
A. Add the following red lines to the/etc/security/limits. conf file:
Oracle soft nofile 65536
Oracle hard nofile 65536
Oracle soft nproc 16384
Hard nproc 16384
B. Add the following lines to the/etc/PAM. d/login file, if not:
Session required/lib/security/pam_limits.so
Session required pam_limits.so
C. Add the following statement after/etc/profile:
VI/etc/profile
has been revoked
HTTP 403.15-Access prohibited: too many access permits from customers
HTTP 403.16-Access prohibited: the client certificate is untrusted or invalid
HTTP 403.17-Access prohibited: the client certificate has expired or has not yet taken effect HTTP 404.1-
The web site cannot be found.
HTTP 404-file not found
HTTP 405-the resource is forbidden
HTTP 406-unacceptable
HTTP 407-proxy authentication required
HTTP 410-never available
HTTP 412-precondition failed
HTT
acceptableUnacceptable
407
Proxy authentication requiredProxy verification required
408
Request timeoutRequest timeout
409
ConflictConflict
410
GoneNo longer available
411
Length requiredLength required
412
Precondition failedPrerequisite failed
413
Request Entity too largeThe Request Entity is too large.
414
Request URI Too long URIThe request URI is too long.
Useradd example:
After talking about this for a long time, we also started to use the useradd command to create several accounts to improve our hands-on capabilities. In addition, let's make a demonstration. After all, we have a good idea. Oh, but I forgot what a great man said. Well.# Create a new user chongpig by default without adding any parameters
[Simaopig @ xiaoxiaozi ~] $ Useradd chongpig
Bash:/usr/sbin/useradd: insufficient Permissions
[Simaopig @ xiaoxiaozi ~] $ Su
Password:
[
control and select Properties. A dialog box is displayed, this dialog box has a style option. This parameter corresponds to this style.
Now that we understand the above, let's create a button dynamically. First, add a member variable cbutton m_button in the corresponding class;
In the dialog box editing area, add a button control to the dialog box (click this button to create a button control), add this button control, click the message processing function, and add the following statement to th
(create a Grid Management Group)#/Usr/sbin/useradd-g oinstall-G dba, asmdba oracle-d/home/oracle (oinstall is the main group to ensure that/home/oracle does not exist)# Id oracle (remember the uid and gid of the oracle user)Uid = 501 (oracle) gid = 501 (oinstall) groups = 501 (oinstall), 502 (dba), 504 (asmdba)# Passwd oracle
4. Adjust OS Kernel ParametersSettin
42424 4096 Oct 23 2005 database-Rw-r -- 1 root 801603584 Oct 14 2009 10201_database_linux_x86_64.cpio2. Create a software installation environment2.1 create an Oracle account and directory:Code highlighting produced by Actipro CodeHighlighter (freeware) http://www.CodeHighlighter.com/--> [root @ Fantasy ~] # Groupadd oinstall[Root @ Fantasy ~] # Groupadd dba[Root @ Fantasy ~] # Useradd-g oinstall-G dba oracle[Root @ Fantasy ~] # Passwd oracleChanging password for user oracle.New UNIX password:B
changes the data in the third column of/etc/shadow.
-U unlock
Uerdel deletes user-related data
Account Password:/etc/passwd,/etc/shadow
User group:/etc/group,/etc/gshadow
User personal file data:/home/username,/var/spool/mail/username
Userdel-r username
-R is also deleted along with the user's main folder.
User features:
Id
Uid = 501 (lixue) gid = 501 (lixue) group =
, -- password PASSWORD to encrypt the new account password-r, -- system to create a system account-R, -- root CHROOT_DIR chroot to the directory-s, -- shell SHELL New Account Login shell-u, -- uid UID new account user ID-U, -- user-group creates a group-Z with the same name as the user, -- selinux-user SEUSER is SELinux user ing using the specified SEUSER
Create a new user named "/home/test5" with UID = 501, GID =, and validity period of 30 days.
Comm
the login shell for the new user account-u, --uid UID force use the UID for the new user account-Z, --selinux-user SEUSER use a specific SEUSER for the SELinux user mapping[root@localhost ~]# useradd -DGROUP=100HOME=/homeINACTIVE=-1EXPIRE=SHELL=/bin/bashSKEL=/etc/skelCREATE_MAIL_SPOOL=yes[root@localhost ~]# useradd test[root@localhost ~]# id testuid=500(test) gid=501(test) groups=5
quotafile: No such fileor directoryquotacheck: Cannot stat old group quotafile: No such fileor directoryquotacheck: Checked 2 directories and 0 filesquotacheck: Old filenot found. quotacheck: Old filenot found. [root @ localhost ~] # Ll/mnt/sdb -- view the two generated files total 26-rw -------. 1 root 6144 Jan 9 aqu59 aquota. group-rw -------. 1 root 6144 Jan 9 aqu59 aquota. userdrwx ------. 2 root 12288 Jan 9 17: 55 lost + found [root @ localhost ~] # Quotaon-avug -- enable the quota functio
email subject! "); Try {mimeMsg. setSubject (MimeUtility. encodeText (mailSubject, "UTF-8", "B"); return true;} catch (Exception e) {log = "An error occurred when setting the email subject! "+ E; System. err. println (log); return false ;}} public boolean setBody (String mailBody) {try {System. out. println ("set the mail body format"); BodyPart bp = new MimeBodyPart (); // convert it to the Chinese format bp. setContent ("
Ii. Problem Summary
2.1 error reported during local execution
Java e
prohibited: Password Change
HTTP 403.12-Access prohibited: mappers reject access
HTTP 403.13-Access prohibited: the client certificate has been revoked
HTTP 403.15-Access prohibited: too many access permits from customers
HTTP 403.16-Access prohibited: the client certificate is untrusted or invalid
HTTP 403.17-Access prohibited: the client certificate has expired or has not yet taken effect
HTTP 404.1-not foundWebSite
HTTP 404-file not found
HTTP 405-the resource is forbidden
HTTP 406-unaccepta
the middle of the first two points)
[Ora10 @ localhost DBS] $Env | grep oraCheck again that our environment variable has been modified.
Oracle_sid =Chongshi
Oracle_base =/ora10/product
ORACLE_HOME =/ora10/product/10.2.0/dba_1
PromptIn this example, you do not need to use environment variables to switch back to other users. The environment variable becomes the default environment variable. Of course, you still need to execute../Chongshi. env.
Step 3:Select a database administrator
There are N teams (1 Input inputs have several groups, the first behavior in each group is two n (1Output gives a ranking that meets the requirements. There is a space between the queue numbers at the time of the output, and no space after the last. Other Notes: Qualifying rankings may not be unique, at which point the output is required to be numbered in front of the team; the input data is guaranteed to be correct, i.e. the input data ensures that there must be a qualifying ranking.Sample Inpu
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.