First, the phenomenon of failure
Database user feedback executes under Oracle user CRONTAB-L output results are not normal, and there are errors: Authentication token is no longer valid; New one required (Oracle) are not allowed to access to
Log file description
/var/log/message information and error logs after system startup is one of the most commonly used logs in red Hat Linux
/var/log/secure Security-related log information
/var/log/maillog Mail-related log
Pack Zxsdw This folder (where the V parameter is the display process)
Tar zcvf/home/zxsdw.com_$ (date +%y%m%d). Tar.gz-c/home/wwwroot Zxsdw
Tar to exclude files from the Zxsdw folder when compressing a backup (--exclude folders and files that
The basic usage of the Linux zip command is:Zip [parameters] [packaged filename] [packaged directory path]List of Linux zip command parameters:-A to turn files into ASCII mode-F attempt to repair corrupted compressed files-H Display Help interface-M
It's a good habit that experienced Linux system engineers like to set up Bash's histsize/histfilesize so that they can log more history commands for later review, but one small problem is that the large amount of information that history records is
The code is as follows
Copy Code
/etc/sysconfig/iptables
Change
The code is as follows
Copy Code
/etc/httpd/conf/httpd.conf
FileFound it
The code is as follows
Copy
Problems encountered today, the server version is ubuntu9.04 I went insane to change the user uid in the/etc/passwd file
After a change, Sudo went wrong:
Sudo:uid 1000 does not exist in the passwd file!Who are?
As a result nothing can be done,
V Operating system: CentOS 5.5
1, add users, first with the AddUser command to add a normal User:
The code is as follows
Copy Code
#adduser junguoguo//to add a user named Junguoguo#passwd Junguoguo//Change
MySQL Service configuration: Modify the parameters in the MySQL profile (My.ini under Windows, MY.CNF under Linux):
SolutionsModify the php.ini parameter to
[MySQL]
The code is as follows
Copy Code
; Allow or block
Ubuntu now has its own apparmor and can get the appropriate information in the manual. The article is from a lot of English data collated summed up, there may be inaccurate places, please forgive me.
Access Control with program bindings
The access
One, PUREFTPD hint 553 error
After the LNMP installation pureftpd succeeded, the FTP connection prompts the following error:
We can try to restart PUREFTPD to see if we can solve this problem.
The code is as follows
Copy
Partitioning scheme
Server partitions, should be guaranteed to have the following partitions, the purpose is simple, in order to manage the convenience and system security.Take the size of a 10G hard disk as an example:/size of 1G, more waste/boot
The first method:
1. Create a script file
The code is as follows
Copy Code
Cat phplog.sh2. Edit Script Content#!/bin/bashWhile:;d o/home/scripts.sh 2>/dev/null &Sleep 1Done
Note: Do not use bash phplog.sh &
Solutions
Modify system default encoding to Chinese
The code is as follows
Copy Code
vim/etc/sysconfig/i18n
Delete the inside and add the following
The code is as follows
Copy Code
The method is super simple.## If you wish httpd to run as a different user or group, you must run# Httpd as root initially and it will switch.## User/Group: The name (or # number) of the user/group to run httpd.# It is usually good practice to
Linux is case sensitive. The following section shows how to make aparch case insensitive.Http. conf The code is as follows:Copy code Load mod_speling module: LoadModule speling_module/usr/lib/apache2/modules/mod_speling.soEnabling module:
1. Back up the master configuration file of the Apache service[Root @ KCentOS5C ~] # Cp/etc/httpd/conf/httpd. conf/etc/httpd/conf/httpd. conf. backup2. Configure the main configuration file of the Apache service in linux[Root @ KCentOS5C ~] # Vi/etc/
Apachectl is the script file attached to the Apache HTTP Server in slackware, which can be used by administrators to control the server. However, this file may not be available on Apache HTTP servers in other Linux systems.SyntaxApachectl
Sfdisk is a hard disk partitioning tool program that displays partition settings and checks whether the partitions are normal.SyntaxSfdisk [-? Tvx] [-d ] [-g ] [-l ] [-s ] [-V ]Parameters: -? Or -- help to display help. -D displays the hard
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.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service