Modify the time zone, date, and time synchronization method of CentOS 6 Environment
Sometimes we install the system in the vps host solution provided by the selected VPS service provider, and directly mount the website after installing the site building environment, however, we may find that the published articles or the automatic script execution time set in some cases does not match our actual time. Some
Solution: CentOS 6 cannot be started after the system time is changed
System Environment: CentOS 6.5Recurrence: set the current system time to a time in the previous day, and then restart the system.
I. Problem Analysis:The above red box shows:/Dev/sda2: Superblock last mount time (Mon Jan 13 04:47:28 2014, now = Fri Jan 10 11:02:20 2014) is in the future.The
Set iptables firewall whitelist in Linux (RHEL 6 and CentOS 7)
Go to the Linux Command Line and edit the firewall rule configuration file iptables.Vi/etc/sysconfig/iptables
The following is an example of whitelist settings:
# Firewall configuration written by system-config-securitylevel# Manual customization of this file is not recommended.* Filter: Input accept [0: 0]: Forward accept [0: 0]: Output accept
The XEN architecture VPS generally provides a capacity of no less than 10 Gb, but most VPS Based on the Xensystem panel are mounted with 10 Gb hard disks by default (the first disk), and the remaining capacity (the second disk) you need to manually mount it to expand the default 10 Gb capacity.
We recommend that you operate on the new system. If the system already has data, we recommend that you back up the data first to prevent data loss caused by mounting errors.
This tutorial applies to
, default denyPages in any directory can only be accessed by explicit authorization允许所有主机访问: Require all granted拒绝所有主机访问: Require all denied允许指定: Require ip IP地址 Require host 主机FQDN名称可整个域名之下的主机拒绝指定: Require not ip IP地址 Require not host 主机FQDN名称可整个域名之下的主机Grammar:允许所有,拒绝特定 (拒绝优先)Virtual HostFQDN-based virtual host no longer requires namevirutalhost directivesSendfile mechanismImprove performance. Sendfile () reduces the number of switc
Today old left in trying to learn Iredmail installation process, I was based on CentOS installed, but there are some errors in the installation process, such as the implementation of the installation script appears "installation failed, please check the Terminal output"Such an error prompt.
This problem resolution occurs:
First, I was installed in the CentOS
Docker container with the following command:Docker run--name mysql5.7-p 3306:3306-e mysql_root_password=123456-d mysql:5.7Note that the container name here is: Mysql5.7,mysql root user password is: 123456, map host child port 3306 to container Port 3306, warehouse name MySQL and tag (tag) uniquely determine the image to be specified, In fact, if there is only one MySQL is also necessary to tag, the result of executing the command returned is:9238d9feb10a0c553d950451add144727b659a0972ccf04d7c59c
Centos lacks the Shared Library: libstdc ++. so.6
When some commands are executed, the following error occurs when the shared library is missing:
Error while loading shared libraries: libstdc ++. so.6: cannot open shared object file: No such file or directory
Solution:
1. Execute the command: yum whatprovides libstdc ++. so.
Reference: http://www.rackspace.com/knowledge_center/article/installing-rhel-epel-repo-on-centos-5x-or-6x
Many tutorials on the Internet have expired. The above references are valid.
1. Download the Installation File
Wget http://rpms.famillecollet.com/enterprise/remi-release-6.rpm
Wget http://dl.fedoraproject.org/pub/epel/6/i386/epel-release-
Web login: Http://ip/zabbix. The main will be reported some PHP error information, the corresponding modification is good, Date.timezone = Asia/shanghai Finally there may be said/var/www/html/zabbix/conf/zabbix.conf.php file problem, this need to put a template file zabbix.conf.php.example copy to zabbix.conf.php, and then edit the PHP file, mainly the database connection information, check the correct. Initial login account and password: admin Zabbix This installation environment is 6.5 system
Install the KVM Virtual Machine in CentOS 6
I. KVM Introduction
KVM is an open-source software. It is short for kernel-based virtual machine (kernel-based virtual machine). It is an open-source system virtualization module that is fully virtualized based on hardware, however, hardware support is required (such as Intel VT or amd v ). Linux 2.6.20 and later are integrated into various major Linux Release ver
1. Download the U-Mail for CentOS (6.X) independent installation packageNOTE: For the latest version, see http://www.comingchina.com/html/downloads/download page.
2. log on to the system as a root user, store the compressed package in the/root directory, and decompress the package using the unzip command, for example:
3. decompress the package and generate the u-mail directory. Use the cd u-mail command t
this interface, enter 1 in the back, enter the single user mode, single user mode does not require a password to enter the system directly650) this.width=650; "Src=" Http://s1.51cto.com/wyfs02/M01/83/DD/wKiom1d-TfjBRd_2AAAU6PD2Ua4306.png-wh_500x0-wm_3 -wmp_4-s_2191288899.png "title=" 04.png "alt=" Wkiom1d-tfjbrd_2aaau6pd2ua4306.png-wh_50 "/>After entering this interface, you can change the root password, then reboot, and the password will be changed to complete.2, encrypted grub file, after the
First, put the DVD disc into the redhat/centos6.x server/PC CD-ROMSecond, mount the DVD drive to/mnt/cdrommkdir -p/mnt/Mount -T iso9660/dev/cdrom/mnt/cdrom/Third, modify the Yum configuration:# cd/etc/Yumrepos.d/mkdir -mv *.repo bak/vi /etc/ yum. repos.d/dvd.repo[dvd]name=centos6. 6 BaseURL=file://mnt/cdromgpgcheck=0Gpgkey= file:///mnt/cdrom/rpm-gpg-key-centos-6enabled=1Iv. Cleanup of Yum:Yum Clean AllFive,
① server power up, load BIOS information, BIOS system detection, according to the BIOS settings, to find the first bootable device (usually hard disk)② reads the MBR (Master boot Record) of the first device, loads the boot Loader (boot loader) in the MBR③ the kernel is loaded according to boot loader settings, the kernel will perform a system check and load the hardware driver by loading the dynamic module.④ kernel boot, the first process is/sbin/init⑤ is called by/sbin/init/etc/init/rcs.conf fi
Summary of installation of Nvidia graphics card driver under CentOS 6
1. Download the driver http://www.geforce.cn/drivers from the official website based on the specific models of nvidia graphics card
Note that the driver file should not be placed in the Chinese directory; otherwise, the directory will not be available in terminal mode.
2. Install the compiling environment: gcc kernel-devel kernel-headers[
Today, the company server, Tomcat to read the data in MySQL, incredibly can not read the success, looked at the next Tomcat log, found that there is a sentence contains the letter of the case, in order to solve this problem, online search, incredibly is to let MySQL ignore case, But our company's MySQL is done by the master and subordinate, in order not to affect the master-slave environment and data in MySQL, we gave the boss in advance, said to stop the Web services, Tomcat services and MySQL
1.SSH LoginRecommended Xshell (free, support for custom port numbers)Log in directly with root2. Installing the NODEJS compilation environmentYum-y Install gcc gcc-c++ openssl-devel3. Install gitYum Install git4. Install NVMcurl-o-https://raw.githubusercontent.com/creationix/nvm/v0.31.0/install.sh | BashIndicates that commands in install.sh are executed with bash5. Install nodeNVM Install 4.4.4NVM Install 6.1.0Because it is a foreign VPS has 10Gbps download speed and no FQ so don't need anything
Access windows Shared Folder su with Samba Client on CentOS 6 (get root permission) yum install samba (in fact, we only use winbind in samba so that we can find the network address of the machine using the name of the windows machine. This will be used in the following process. In addition, make sure that there are two network protocols for installing the microsoft network client, microsoft network file, an
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.