Discover caching dns server centos, include the articles, news, trends, analysis and practical advice about caching dns server centos on alibabacloud.com
IP Address: Dynamic IP address range.
● Option routes IP Address: Default Gateway. This option can be used in both global and local configurations.
● Option subnet-mask subnet mask: Default subnet mask. This option can be used in both global and local configurations.
● Option domain-name-servers: DNS server address. This option can be used in both global and local configurations.
● Option domain-name:
broadband account billing Dial-up access to an Internet network.Third, Radius Server Setup:1. Install the CentOS system after the network is configured with the command: #yum update updates the system.2. See if each package is installed: #rpm –q PPP Rp-pppoe Freeradius mysql-* OpenSSLIf not installed, use the command: #yum install PPP Rp-pppoe freeradius-* mysql-* OpenSSLFor installation, the general OpenS
Set up pptp server in centos
PPTP(Point to Point Tunneling Protocol)
Default port: 1723
PPTP is the PPTF protocol. This protocol is a new enhanced security protocol developed on the basis of the PPP protocol. It supports multi-protocol Virtual Private Network (VPN) and can pass the password authentication protocol (PAP) and Extended Authentication Protocol (EAP) to enhance security. This allows remote users
error.You can refer to someone else's dhcpd.conf file for modification.Because I do the router, network card more, the parameters are more complex, it is not posted out.This is relatively easy to understand by pasting the others below:(5) LAN Nic binding dhcpdNot configured to listen on any interfaces!The reason for this error is that there is no statement on which network card to start the DHCP function.Workaround:Add a row in/ETC/SYSCONFIG/DHCPDThis is the path inside
, posix_times, posix_ttyname, Posix_u
#List the functions that PHP can disable, if some programs need to use this function, you can remove it and disable it.
Find:; d Ate.timezone =
Modified as: Date.timezone = PRC #Set the time zone
Find: expose_php = On
Modified to: expose_php = off #Suppress information about PHP version
Find: Short_open_tag = Off
Modified to: Short_open_tag = on #Support php short tags
Find Opcache.enable = 0
Modifiedto Opcache.enable = 1 #php supports opcode
error-------------Start the service, verify the--------------[[email protected] named]# systemctl start named//Start DNS Service[[email protected] named]# Systemctl enable named//Set boot up[[email protected] named]# vi/etc/resolv.conf//Set server domain name Save exit[[email protected] named]# nslookup mail.aa.com//parsing verificationSuccess such as: The second part: Build postfix and configure basic sen
MySQL is an open-source relational database. For those unfamiliar with these terms, a database was where an application keeps it data, and relational refers to how the Data is organized and accessed within the database. SQL refers to the language used by application queries to retrieve and store data:structured Query language.MySQL is free and widely used, meaning so can find a large amount of application support, tools, and community help For it. MySQL is a safe choice if you know so need a dat
Note: This article's mail server is used only to send mail, that is, the STMP server.
First, preparatory work
1. Add DNS resolution for mail server
Although you can send a message without DNS resolution, it will be treated as spam by most mail servers. According to our pr
need to specify the proxy server address, port, and other information, the proxy server needs to set a firewall policy to forward the client's Web access data to the proxy service program for processing;
Reverse Proxy: the proxy server is used to receive connection requests from the Internet and then forward the requests to servers on the internal network, retu
cannot be started)Hostname = centos (set the Host Name of the local machine. The host name set here must correspond to the host name set in/etc/hosts)Gateway = 192.168.1.1 (set the IP address of the gateway connected to the local machine. For example, the gateway is 10.0.0.2)
Modify DNSModify the DNS configuration file of the corresponding Nic# Vi/etc/resolv. confNameserver 202.101.224.68 (Domain Name
need to change the permission, you can change it like this # chmod-r 755/root and then access it to find it is normal
2: Name-based VMThe two domain names need to be resolved to your server. The corresponding relationship is/Var/www/Server server.example.com/Var/www/client client.example.comWhen you access these two domain names, you can display the content of the homepage in different files.# Echo "
Linux has been around for a long time and has never been used. Recently I want to deploy some small applications I have developed on linux servers. By the way, I also want to learn about linux servers. Then I configured a host (a common pc, and now I feel that the stability of the pc is still good, and it is not a big project), and then I put the server in their office, then install CentOS5.2 and you will be ready to use it. The installation process i
the gateway for the native connection. )I'm editing this here. The first three items are already default, so only the gateway is added.3. Modify the DNS configurationEDIT: vi/etc/resolv.conf modified as follows:NameServer 8.8.8.8NameServer is the DNS server IP address, the first is the preferred one, the second is the standby.4. Restart the Network ServiceExecut
Reference blog:CentOS Installation memcached Source installationYum installation Memcachememcached memory allocation optimization and usage issuesFirst, install the Memcache1. Yum Install memcache find memcachedYum Search memcachedThis command can query the Yum Library for memcached installation package information, the following is the search results:Installing memcachedYum-y Install memcachedThis command is used to install memcached and does not care about dependencies among the individual ins
Install the CentOS system, configure the network environment of the system
Configure static IP
Vi/etc/sysconfig/network-scripts/ifcfg-eth0device=Eth0type=ethernetonboot=yesnm_controlled=Yesbootproto= Staticipaddr=192.168. 126.5 NETMASK=255.255. 255.0 Gatway=192.168. 126.2
Configure DNS
Vi/etc/resolv.conf192.168. 126.2If it is a virtual machine, the gateway address is configured
-manual-2.2.3-31.el5.centosSystem-config-httpd-1.3.3.3-1.el5After installation, start Apache,
[Root @ host CentOS] # service httpd startNow let's take a look at what this service has brought to us, because this experiment should be conducted together with the DNS Service experiment, but the time issue is not done together. when accessing the WEB service, we do not use a Domain Name
Quickly build an ftp server in CentOS 6.5
Quickly build an ftp server in CentOS 6.5
1. Use root to enter the system
2. Run the command rpm-qa | grep vsftpd to check whether ftp is installed. If vsftp is installed, the vsftpd version is displayed on the screen.
3. Run the command rpm-e vsftpd to uninstall ftp.
4. Run rp
Centos-basedVersion 5.5 is customized and simplified. It is a customized version and also a lite version. It mainly removes most of the uncommonly used software packages and filters the basic system packages and basic web application packages, and updated and optimized to achieve the mostSmall and optimal. Some commonly used tool kits, such as iptraf, Nmap, sysstat, strace, and curl, are added to facilitate routine maintenance and troubleshooting.Succ
Build an iRedMail email server on a CentOS VM instance
As we can see, many VPS users are not used to build websites, but to create email servers and send emails. Therefore, the old left also learns such functions. To learn how to build an email server, you must first use the free open-source iRedMail software. IRedMail can quickly deploy the mail
. Select the IP address and DNS, and then let the server run there.Go back to my laptop and install a very small but very useful tool for remote linux control using PUTTY. then install WINSCP and use ssh to implement file transfer between windows and linux servers. In the next step, you can use the remote control server to install other servers.I use linux here m
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.