something to a file and delete something. Write permission to delete the file, but still cannot modify the file3). If the user tangbohu a directory in the/tmp directory Mydir, he wants to let Wangcai and Xiaoqiang the two users can create, modify and delete files in the directory, what can you think of to achieve this purpose?For:1, chmod 777/tmp/mydir2, Chgrp Qiuxiang/tmp/mydirchmod 775/tmp/mydir3, Setfacl-m-u:wangcai:rwx/tmp/mkdirSetfacl-m-u:xiaoqi
|restart|reload"
Exit 1
Esac
Exit 0
Script 2 (Start database and listen only)The following 3 lines of the red font are required345: Define Run Level80: Service Start priority at boot (the smaller the number starts sooner)10: Service Stop priority at shutdown (the smaller the number, the sooner it is closed)
#!/bin/bash
# chkconfig:345 80 10
# Description:startup Script for Oracle Databases
#/etc/rc.d/init.d/oracle
Export oracle_base=/u01/oracle
Export oracle_home=/u01/oracle
pam_limits.so at the end
Adding profile environment Profiles
#vim/etc/profile at the end of the add if [$USER = "Oracle"] | |[$USER = "Grid"];thenif [$SHELL = "/bin/ksh"]; Thenulimit-p 16384ulimit-n 65536elseulimit-u 16384-n 65536fiumask 022fi
Create users and groups and create the appropriate passwords
#/usr/sbin/groupadd-g 501 OINSTALL#/USR/SBIN/GROUPADD-G 502 dba#/usr/sbin/groupadd-g 503 oper#/usr/sbin/groupadd-g 50 4 asmadmin#/usr/sbin/groupadd-g 505 asmoper#/usr
information on obtaining support for Nagios, visit:
Http://support.nagios.com
**************************************** *********************
Enjoy.
[Root @ DB2 nagios] # make install
* ** Main program, CGIs and HTML files installed ***
You can continue with installing Nagios as follows (type 'make'
Without any arguments for a list of all possible options ):
Make install-init
-This INSTALLThe init script in/etc/rc. d/init. d
Make install-commandmode
-This installand configures permissions
directory will make it inaccessible.
Sudo apt-get install libapache2-mod-php5
Sudo chmod 775/var/wwwSudo chmod 775/var/www /*/Etc/init. d/apache2 restart
Restart the Service (but why 775 ?). Now, write a simple php script:
Gedit/var/www/index. php
Save. Enter 127.0.0.1 in the address bar of the browser. You can see that php can be properly interpreted.
Fin
original version. Especially when the pxl cannot be cracked, pxl cannot be cracked;
The number of contractors is limited: Many now use 91 assistants to package pxl directly. There is only one XXX for most of them. apps in the app directory generally do not have problems, but if you encounter software that has strict requirements on file permissions and other data (for example, executable files do not have executable permissions, or mobile users cannot rewrite all root files, etc.), or software
similar to the following to create the recommended subdirectories in the mount point directory this you IDE Ntified and set the appropriate owner, group, and permissions on them:# mkdir-p/mount_point/app/# Chown-r oracle:oinstall/mount_point/app/# Chmod-r 775/mount_point/app/For example:# mkdir-p/u01/app/# Chown-r oracle:oinstall/u01/app/# Chmod-r 775/u01/app/
[Root@localhost ~]# vim/etc/security/limits.c
the folder does not have writable permissions, which causes the Writemanifest method write configuration to fail, thus throwing an exception error (App/controllers/errorcontroller), The exception-handling method in my project is to jump to/error?code=201.
Workaround:
Check that the App\storage\meta\services.json directory exists and check the Write permissions for the directory. If you want to guarantee write permissions first in a Linux environment, make sure SELinux is allowed to write in thi
Tags: Linux oracle 11gOracle 11g installation on Linux
Create the required users and groups
Vim mk_user.sh GROUPADD-G 501 OinstallGROUPADD-G 502 DBAGROUPADD-G 503 OperUseradd-u 501-g oinstall-g Dba,oper Oracle SH mk_user.sh
Create the desired directoryVim mk_dir.sh
Mkdir-p/u01/app/orainventoryChmod-r 775/u01/app/orainventoryMkdir-p/u01/app/oracleMkdir/u01/app/oracle/cfgtoollogsChown-r oracle:oinstall/u01Chmod-r
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.