Step1. System Mount Data diskDf-h, the data disk is not visible.Fdisk-l, you can see the data diskExecute the "fdisk-s 56/dev/xvdb" command to partition the data disk;According to the prompts, enter "n", "P" "1", two times carriage return, "Wq", the
1. If it is installed, there will be the following tips:
samba-3.0.28-0.el5.8samba-common-3.0.28-0.el5.8samba-client-3.0.28-0.el5.8System-config-samba-1.2.39-1.el52. If not installed, you can install using the Yum Install Samba command3. Configure
64-bitVim
The code is as follows
Copy Code
wget http://downloads.zend.com/optimizer/3.3.3/ZendOptimizer-3.3.3-linux-glibc23-x86_64.tar.gzTAR-ZVXF zendoptimizer-3.3.3-linux-glibc23-x86_64.tar.gzCD
① Modify the maximum number of files that can be opened by the server open files, because the Linux socket is also file, so this parameter has a direct impact on the number of network connections, the general machine is 1024, can be set to
Method One,
Edit/etc/rc.d/rc.local File
Format is program name program path
such as a.sh/home/a.sh
The second method
Just replace the your_prog_name with the name of your actual script or execution file, and set the Prog_path to a specific path.
Method One, get the inode number to delete the garbled filename file by Ls-li, for example, get 123456Perform deletes
Find./-inum 123456-exec RM-RF {}\;Note: after "{}", empty a grid and add "\;".
Method Two, when the file name is garbled, can not
#CentOS Install Nginx Server #
1, if not installed GCC development tools, please install first: Yum groupinstall-y "Development Tools"
2, download the new version of the nginx:http://nginx.org/en/download.html,Download to Local: wget
This example describes the CentOS firewall usage. Share to everyone for your reference, specific as follows:
Shut down:
/etc/init.d/iptables stop
Open:
/etc/init.d/iptables start
Reboot:
/etc/init.d/iptables
1, under the/etc/yum.repos.d/to establish Mariadb.repo, the contents are as follows:
Copy Code code as follows:
[Azureuser@mono etc]$ CD/ETC/YUM.REPOS.D
[Azureuser@mono yum.repos.d]$ VI Mariadb.repo
# MARIADB 10.0 CentOS
Under CENTOS6: RM-RF/has been blocked.Windows recover deleted files by mistake: Final data v2.0 and EasyrecoveryRemoval of files on CentOS ext4 file system can restore Extundelete (using range EXT4 and previous ext series file types)Extended:The
General idea, prepare master and slave server, configure Primary server can SSH login from server without password, unzip and install JDK, unpack and install Hadoop, configure HDFs, MapReduce and other subordinate relations.1, the environment, 3
LVS is short for Linux Virtual Server. It is a Virtual Server cluster system.In the following case, we use three hosts with IP addresses:192.168.1.100192.168.1.101192.168.1.102Among them, 192.168.1.100 uses LVS as the server load balancer to
We now have two servers, one with an intranet IP address and the other with an intranet IP address. To access an intranet server, you need to map the intranet port to the Internet.Server 1:Internet IP address 10.0.0.1Intranet IP address
In order to write iptables rules, this port must be fixed to better use, so in/usr/lib/systemd/scripts/nfs-utils_env.sh found a very interesting thing So I directly wrote the sysctl file.Echo-e '### nfs add \ nfs. nfs. nlm_tcpport = 32803 \ nfs. nfs.
Install sendmailRun:[Root @ vps478753 ~] # Yum-y install sendmailThe program will automatically search for the sendmail installer for automatic installation.After installing sendmail, run the following command to start sendmail.[Root @ vps478753 ~] #
Because the company's internal network needs to be tested, domain names are used to access the company's internal server. However, the vro does not have the domain name forwarding function. Therefore, the DNS method is used.Background:One internal
1. First uninstall CentOS's built-in git1.7.1:Use git-version to view the version of the system. Cento6.5 should contain the git version 1.7.1.> # Yum remove git2. Install the package required for git compilation> # Yum install curl-devel
After the Centos system is customized, toolkit may be added later due to the company's needs. At this time, how should we provide this toolkit separately and install the required dependency packages. The following are several cases: 1. When
In fact, this problem is more like a Linux user problem. Apache automatically generates permissions for using apache users and apache user groups to operate on things in Linux by default. If this permission is used, you cannot delete or edit files
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