CentOS add port

  CentOS defaults only 22 ports to use a different port, you need to add yourself, saidonline, long time did, and here is what successful bloggers own test methods:   Add port: #/sbin/iptables-I INPUT-p TCP–dport port-j ACCEPT   Save settings: #/etc/rc.d/init.d/iptables save   See if successfully added: #/etc/init.d/iptables status | grep tcp

CENTOS7 install mbstring extension

  1.Uncaught Error: Call to undefined function mb_strlen(); When errors occur, indicating we have no install mbstring extension;   2. Enter the PHP install directory cd /temp001/php-7.1.0/ext/mbstring   3. start the phpize (/usr/local/bin/phpize or/usr/local/PhP7-abel001/bin/phpize) command to install PHP extensions   4../configure–with-php-config=/usr/local/PhP7-abel001/bin/php-config according to your actual installation directory   5. compile make && make install   […]

Compile under CentOS installation AliSQL

  If you install MySQL RM/etc/my.cnf unload, otherwise ignore   Uninstall the installed MySQL   Yum remove MySQL MySQL-Server MySQL-libs compat-mysql51 (51 to version)   rm –rf /var/lib/mysql   rm /etc/my.cnf   See if there are MySQL software   rpm -qa|grep mysql   If there is, will continue to   Yum–y remove query software   […]

When you install CentOS USB stopped at the Reached target Basic System solutions

  A, problem description First describe the scenario, that is, during the boot process, when reading reading [OK] Reached target Basic System Stuck after this line do not proceed Second, seek solutions Actually this question two years ago has been found, but you can also use the CD to install the system, recently removed because […]

Centos6.8 set up NDS Server (bind)

First, install the software [root@dns-server named]# yum install bind -y [root@dns-server named]# /etc/init.d/named start Starting named: [ OK ] [root@dns-server named]# Second, the configuration name parameter [root@dns-server named]# cat /etc/named.conf // // named.conf // // Provided by Red Hat bind package to configure the ISC BIND named(8) DNS // server as a caching only nameserver […]

CentOS add port

  CentOS defaults only 22 ports to use a different port, you need to add yourself, saidonline, long time did, and here is what successful bloggers own test methods:   Add port: #/sbin/iptables-I INPUT-p TCP–dport port-j ACCEPT   Save settings: #/etc/rc.d/init.d/iptables save   See if successfully added: #/etc/init.d/iptables status | grep tcp

CentOS log anti-Cha’s invasion

  To view the log file   Linux view the/var/log/wtmp file the suspicious IP login last -f /var/log/wtmp   Permanent records of the log file for each user login, logout and system, shutdownevent. With increasing system uptime, the file size will increase, Increase the number of speeds depending on the system of the user logged […]

Solve the unable to ping under win-CentOS VM virtual machine system

  Description: company moves to new offices, computers after using xshell failed to connect to the CentOS VM system is always connected, and taking into account thecompany moved to the situation, I first suspected IP issues, and then execute ifconfig to find CentOS VM IP, get Windows to execute the ping command in the Middle,and […]

CentOS 7.2 installation Zabbix3.X

  First, CentOS installation 7   Turn off selinux #setenforce 0 temporarily closed   Need to turn off selinux, be sure to close the open SELinux may cause a series ofproblems, and even the discovery functionality of ZABBIX in normal use # sed -i “s/SELINUX=enforcing/SELINUX=disabled/g” /etc/selinux/config Confirm change success # grep SELINUX /etc/selinux/config Then restart […]

CentOS7.2 PHP (Xampp PHP7 integrated)

  CentOS7.2 PHP (Xampp PHP7 integrated)   Server: CentOS7.2   Xampp PHP7 integrated Edition–download

Operations commands   . Run file installation is very simple, you only need to add executable attribute to the file, you can perform the installation chmod +x xampp-linux-x64-7.0.13-0-installer.run ./xampp-linux-x64-7.0.13-0-installer.run   Installation: ./xampp-linux-x64-7.0.13-0-installer.run Well as long as confirmation.   Restart Service […]