Tags: blog http OS file SP 2014 C on LogChange host name permanentlyOne of the methods mentioned on the Internet is to modify the/etc/sysconfig/network file.Set hostname = localhost. localdomainChanged to what you want, but the configuration in the file centos7 is empty. It will not work if you add the file and restart it.Finally, the/etc/hosts file was modified,My file does not have the master after the localhost on the first line. After adding the f
The machine already exists in the salt, in order to standardize, need to rename this batch of hostOperation Flow: Remove the machine from master, modify the host name of the machine, rename the minion_id and PKI directories in the/etc/salt directory, and restart the Salt-minion service (after the Mster segment can monitor the host again, can delete the file renamed above)Environment: http://www.cnblogs.com/zzzhfo/p/6126223.htmlRename the salt-client-01 to salt-minion-01
Remove salt-clie
Modify Host name : "Change inside HOSTNAME can"
Vim/etc/sysconfig/network
Nic Eth0 IP modified to 102.168.0.1
Ifconfig eth0 102.168.0.1 netmask 255.255.255.0
Gateway modified to 102.168.0.254
Route add default GW 102.168.0.254
Linux command line modify DNS
echo "NameServer 202.202.202.20" >>/etc/resolv.conf
Can be modified with the VIM command, multiple DNS can be multiple nameserver, one line a
1. Modify the/etc/sysconfig/network configuration fileVi/etc/sysconfig/networkModify hostnameHostname=new-hostname.domainnameMy network changed to:Hostname=redhat5.xiaomu.com.2. Modify the local domain name resolution file/etc/hosts, so that the native application can resolve the new host name.Vi/etc/hostsWill 127.0.0.1 Localhost.localdomain localhostInstead: 127.0.0.1 new-hostname.domainname new-hostname mine is.127.0.0.1 redhat5.xiaomu.com redhat5 R
Environment:System hardware: VMware vsphere (cpu:2*4 core, memory 2G, dual NIC)System version: Centos-7.0-1406-x86_64-dvd.isoInstallation steps:1. Virtual system Installation1.1 Use the VMware virtual machine to read the ISO for installation. Install the interface after startup1.2 Select the Install CentOS7 for language selection1.3 Select Simplified Chinese and go to the information summary1.4 Click "Install Location", select the hard disk that the system needs to install, click "Finish".1.5 Cl
all. Unfortunately, if the IP address is for this host changes, you are also have to also update the file. This May is a concern for a single server and but can become laborious if it has to being done companywide. For ease of management, it's often easiest to limit entries in this file to just the loopback interface and also the Serv Er ' s own hostname, and use a centralized DNS server to handle most of the rest. Sometimes you might is the one mana
After SQL Server changes the hostname, you need to do something, otherwise the maintenance plan and subscription publishing will have problems, the following steps:Sometimes after the computer name is modified, the execution of the SELECT @ @servername still returns the original computer name, indicating that the "instance" has not been modified and needs to be performed manually:Sp_dropserver ' original host name 'And then executesp_addserver ' new h
Tags: nbsp desire ida BSP Convert sys ITER State host nameTherefore perform the next steps after the hostname is updated/changed/modified in the Oracle Restart Configurati On 1) Configure the CSS Ohas services as root user as follows: # 11.2 Grid Infrastructure Oracle home>/crs/ install /roothas.pl-deconfig-force # 11.2 Grid Infrastructure Oracle home>/crs/ Install /roothas.pl # cd 12.1 Grid infrastructure Oracle Home>/crs/install # perl Ro
Analysis:Because the performance of the load generator is very good, the server responds particularly quickly, causing the load generator's port to be fully occupied before the timeout is reached.Solution One:In the load generator's registry hkey_local_machine/system/currentcontrolset/services/tcpip/parameters, There are two key values: TcpTimedWaitDelayMaxUserPort1, here the TcpTimedWaitDelay default value should be 30s, so here, turn this value to 5s (adjust as needed). 2, you can also turn th
This error is because the configuration file is not configured properly. The solution is as follows:1 Open Profile FileVim/etc/profile2 The content that is added at the end of the document should be as follows (two highlighted sentences are generally missing):Export JAVA_HOME=/USR/JAVA/JDKExport hadoop_home=/itcast/hadoop-2.6.4Export hadoop_common_lib_native_dir= $HADOOP _home/lib/nativeExport hadoop_opts= "-djava.library.path= $HADOOP _home/lib"Export path= $PATH: $JAVA _home/bin: $HADOOP _home
The problem with modifying the host header is simple, as described earlier how to use IP to access your site. The location of the modification is the same. Remember you have a host header when you create a new WEB application? Change your settings now. The operation is as follows.Application Management-----Configure Alternate Access Mappings---Open, click the url--you want to modify in the URL protocol and port to modify and then save it. 3.1 Note To change your access Mapping Collection----in a
The company's business needs may require a better value of 5.5 for mysql5.1. Therefore, the mysql5.5green edition is downloaded at ftp://ftp.ntu.edu.tw/pub/mysql/downloads/website. Tested in Windows Server 2003 R2.
1042-can't get hostname for your address error is reported during remote connection, and the authorization is completed on the server.
The solution is as follows:
Edit my. iniAdd or modify the following two rows under the [mysqld] node
Download an Ubuntu image file with fedora wget today. The result is always displayed.Resolving xxxxxxxxxxxx (Domain Name)... failed: No address associated with hostname.Wget: Unable to Resolve Host address "xxxxxxxxxx (Domain Name )"I checked some information, most of which are DNS problems. But I have read/etc/resolv. conf. Use grep to search for the complete string about the domain name and find a script containing the export for setting http_proxy = XXXXXXXXX (domain name. It is estimated tha
During the configuration of the MySQL database remote connection, the firewall and authorization have been done, but the connection still cannot be connected, and the error 1042 (hy000) is reported when the connection is found ): can't get hostname for your address,
After checking the information, it may be that there is a problem with MySQL DNS resolution, as long as we configure the following in the MySQL configuration file my. CNF:CodeThe connecti
View the error prompt in the system log as
2014/09/19 18:06:55 [4696] name lookup failed for 212.173.9.32:no address associated with hostname
The solution is because the main rsync configuration file does not have access to IP settings so access is denied.
Find the rsyncd.conf file in your installation directory
Hosts allow = Your IP address is like this
And then you can save it.
Summary, today made a day, one is the firewall to prevent the spec
1. Mount method The virtual machine gives the command when it is mounted2. Sudo adduser yourusername vboxsf (vboxsf is the user group of the Mounted folder, can be seen in/media directory under ls-l command)3. The command to modify the host name issudo gedit/etc/sudoersPressing ENTER will open the/etc/sudoers file, giving the Hadoop user the same permissions as the root user. Add Hadoop all= (All:all) all under root all= (All:all) all4. The command line cannot parse the new host namesudo gedit/e
1. Configure IP Address#vim/etc/sysconfig/network-scripts/ifcfg-eth0Bootproto=staticOnboot=yesipaddr=192.168.1.2netmask=255.255.255.0gateway=192.168.1.254#vim/etc/udev/rules.d/70-persistent-net.rules2. Configure host Name:# vim/etc/sysconfig/networkNetworking=yesHostname=Localhost.localdomain#vim/etc/hosts192.168.1.2 hostname3. Turn off the firewall:(1) Turn off bootOpen: Chkconfig iptables onOFF: Chkconfig iptables off(2) Close the serviceOpen: Service iptables startClose: Service iptables sto
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.