=4 rm-rf/usr/local/imap-2007f/ mkdir/usr/local/imap-2007f/ mkdir/usr/local/imap-2007f/include/ mkdir/usr/local/imap-2007f/lib/ CP c-client/*.h/usr/local/imap-2007f/ include/ CP c-client/*.c/usr/local/imap-2007f/lib/ CP c-client/c-client.a/usr/local/imap-2007f/lib/ LIBC-CLIENT.A
Note: At 64-bit compile time the make parameter needs to be extracflags=-fpic, not required under 32 digits.Also, when compiling the PHP IMAP extension under
two port rules added above in-a forward-j reect .... After the rule, the port is not open, and Telnet does not come in outside.
(2) Restart Iptablesservice iptables restartAfter rebooting, use Telnet 192.168.31.128 3306 again, normal.Use Navicat to connect to the database, normal.
Vi. Summary
(1) The host network is normal and cannot access the extranet in the CentOS of the virtual machine.workaround : Use NAT connection mode, set
--.1rootroot649Mar3115:27CentOS-Debuginfo.repo-rw-r--r--.1rootroot290Mar3115:27CentOS-fasttrack.repo-rw-r--r--.1rootroot1331Mar3115:27CentOS-Sources.repo-rw-r--r--.1rootroot1002Mar3115:27CentOS-Vault.repo
Delete these files. rm-RF centos * or the MV centos */Yum folder is removed.
2. manually configure the yum Repository
1. Copy all RPM software packages to a folder.Here, we use the RPM package that comes w
libs), for GNU/Linux 2.6.32, BuildID[sha1]=aa7ff68f13de25936a098016243ce57c3c982e06, strippedMethod 3:[root@bogon ~]# cat /proc/versionLinux version 3.10.0-327.18.2.el7.x86_64 (builder@kbuilder.dev.centos.org) (gcc version 4.8.3 20140911 (Red Hat 4.8.3-9) (GCC) ) #1 SMP Thu May 12 11:03:55 UTC 2016Method 4:
(In 32-bit systems, the int and long types are generally 4 bytes. In 64-bit systems, the int
System environment:
CentOS 7
Apache 2.4
PHP 5.4
MARIADB 5.5
Project requirements:
Create 3 virtual hosts, set up Phpmyadmin,wordpress,discuz separately
Where phpMyAdmin provides HTTPS services.
Components required to install the environment using Yum
Httpd,php,php-mysql,mariadb-server
# yum Install httpd php php-mysql mariadb-server
Second, close the SELinux and configure the fire
‘deb [arch=amd64,i386] http://kartolo.sby.datautama.net.id/mariadb/repo/10.1/ubuntu wily main‘
Important:don ' t forget to replace the Ubuntu wily with your distribution name and release.
Step 3:remove MariaDB 5.5
If you have taken backup of your databases as suggested in Step 1, you is now ready to proceed and remove the existing Ma RIADB installation.
To does this, simply run the following command:
# yum remove mariadb-server mariadb mariadb-libs [
User and permission management in centos 7
1. user, group knowledge is related commands
A. user category:
Administrator: root
Common users:
System User: Used to run service programs only;
Login User: normal user of system resources;
User ID: UserID, UID
16 bits binary number: 0-65535;
Administrator: 0
Common users:
System User:
CentOS 5, 5: 1-499
, strippedMethod 3:[[emailprotected] ~]# cat /proc/versionLinux version 3.10.0-327.18.2.el7.x86_64 ([emailprotected]) (gcc version 4.8.3 20140911 (Red Hat 4.8.3-9) (GCC) ) #1 SMP Thu May 12 11:03:55 UTC 2016Method 4:
(the int type and long type are generally 4 bytes in a 32-bit system, and the int type in the 64-bit system is still 4 bytes, but long has
CentOS 7 Network settings in VMware
because of the need to use Linux in the work, in the virtual machine loaded with CentOS7 for the experiment, the installation after the use of a lot of problems, mainly network problems, after the installation of the following kinds of conditions:(1) Host network Normal, in the virtual machine CentOS can not access the
Install Nginx in CentOS 7 for reverse proxyQuestion
Nginx reverse proxy is required. The test environment is centos + NGINX 1.8.0.
Skip some tedious issues and directly record the coreProcedure
(1) install centos In the VM, so pay attention to network connection issues (2) install nginx using the yum feature with netwo
, status=0/success)January 18:17:07 bogoniptables.init[14648]: iptables:applying firewall rules: [OK]January 18:17:07 bogonsystemd[1]: Started IPv4 Firewall with iptables.It is possible to permanently shut down the iptables firewall anyway, but remember to reboot.7. Set up MySQL boot from bootSet Boot start service Select Use the Chkconfig command, you can see that we permanently shut down iptables this command, the format of the command is as follows
Lazy!
The name of the newly installed centos 7 Nic is no longer the same as before by default, and I feel a little crazy myself... we have to make him think about eth0... after searching for N for a long time, I couldn't find a solution. Later, I yelled at it in the group. Some friends gave a link to the solution... thank you, Beijing-dezhong!
Centos
How to add new disks in CentOS 7 without restarting the system
For most system administrators, expanding the disk space of Linux servers is one of the daily tasks. Therefore, this article uses Linux commands to demonstrate some simple operation steps on CentOS 7 to expand your disk space without restarting your product
Guide
Expanding the disk space of a Linux server is one of the day-to-day tasks for most system administrators. So this article will expand your disk space without restarting your production server by using Linux commands to demonstrate some simple steps on the CentOS 7 system. Regarding the expansion and addition of new disk to Linux systems, we will mention a variety of methods and a variety of possib
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.