Linux system is: CentOS 6.4 64-bit
I. Limitation of changes in the number of documents (1) VI /etc/security/limits.conf appended at the end * Soft nofile 10240 * Hard Nofile 10240 (2) VI /etc/pam.d/login Append session
Optimize content:
(1. Set history history
(2. Add ordinary users, set sudo permissions
(3. Prevent root remote user from logging in
(4. Modify Remote port
(5. Streamlined boot server
(6. Close SELinux
(7. Configure Iptables
(8. Modify the maximum
March 6, 2017 11:43:07
1. Operating level of the Chkconfig management program
Such as: Set firewall default does not open
Chkconfig--level iptables off Run Level 3 (command line), 5 (interface) does not open iptables 2. Configure network card
Ps-a-O Stat,ppid,pid,cmd | Grep-e ' ^[zz] '
How to view and kill the zombie process under CentOS
Yesterday, the server expired, before the server due to small space, can not meet the current service requirements, the new purchase of a server,
Https://www.ezloo.com/2007/11/centos_dialog_installation.html
I installed under the virtual machine CentOS system, the most recent to do a big shell experiment, but in the Run dialog Display command not found, I consulted the expert on the Forum,
Objective:
I currently use the server for the centos6.x system from the Python version of the 2.6.x, but at present, whether learning or using Python,python3 are preferred, then the problem comes. --How to install the PYTHON3 environment, and how to
Compiling the installation steps is simple, as follows:
# wget https://www.python.org/ftp/python/2.6.1/Python-2.6.1.tgz
# tar zxvf python-2.6.1.tgz
# CD Python-2.6.1
#./configure--prefix=/usr/local--enable-shared
# make && make install
The
Original link: http://blog.sina.com.cn/s/blog_a7cf995a0101azak.html
A new Linux CentOS server, installed PHP environment, found that the Apache default resolution path is/var/www/html, if you do not want to use this default path, you can set up a
You can get the size of a file or folder in the following way, where FD is the file (folder) descriptor
Long fileSize = Lseek (FD, 0, Seek_end)
But the following problems exist
CT6.3
If the FD passed to Lseek is a regular file, there is no
My CentOS version is:
#cat/etc/issue:
CentOS Release 6.2 (Final)
1. Install the associated package
Yum install kernel-headers kernel-devel gcc make
2. View the downloaded kernel code version
ls/usr/src/kernels/
2.6.32-279.14.1.el6.i686
CentOS7 loading VMware process notes.
First, install the bundle file of VMware
Find the bundle file for VMware at end-of-year terminal
Law One: (recommended)
Vmware-workstation-full-10.0.2-1744117.x86_64.bundle
Bash Vmware-workstation-full-10.0.2-174
1) server:192.168.3.56
2) client:192.168.3.57
Server End:
Setsebool-p Allow_rsync_anon_write onSetsebool-p Rsync_server on
A
Cat/etc/xinetd.d/rsync
# Default:off
# description:the Rsync server is a good addition to an FTP server, as it \# allows CRC
There is another 5.5 under the installation of http://blog.livedoor.jp/extension/archives/50249503.html, but I did not succeed (~. ~
The R language is mainly used for statistical analysis, drawing of the language and operating environment. Official
I've tried the following, but I'm 7,http://fedora.mirrors.pair.com/epel/epel-release-latest-7.noarch. RPM, you may have a new bag to look for
Installing some software on CentOS is really hard, like ... FileZilla. After the arduous work, found
1. Enter the command to query the system for the installed MySQL2.. Uninstall MySQL individuallyYum Remove system displays the installed MySQLFor example: Yum remove mysql-client-5.6.33-1.linux_glibc2.5.x86_643. Use the Find command to find the
One, four modes of network card configuration
1, directly modify the configuration file
vim /etc/sysconfig/network-scripts/ifcfg-ens33
Bootproto represents the way the address is assigned, with DHCP, static, noneOnboot
1, boot start + + + crontab timed execution (timed execution can refer to: https://www.cnblogs.com/prefectjava/p/9399552.html) can realize the purpose of automatic operation, simplifying the workload of maintenance personnel.Under CentOS or redhat
Tag: RPM GREP-V indicates. So project content port net root configuration1. Install the SVN server:Check whether you have installed# Rpm-qa SubversionInstalling the SVN server# yum Install httpd httpd-devel Subversion mod_dav_svn
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