General uninstall of domain controllers
We now have some experience with the deployment and management of Active Directory, today we want to consider a problem if a domain controller we don't need, What should be done about it. It is not right to hit it directly, this is too violent, and the current harmonious environment is a little out of tune. The point is
=" image "style=" border-left-0px; border-right-width:0px; Background-image:none; border-bottom-width:0px; padding-top:0px; padding-left:0px; margin:0px; padding-right:0px; border-top-width:0px "border=" 0 "alt=" image "src=" http://s3.51cto.com/wyfs02/M00/5C/5A/ Wkiol1udksujazvcaaasooo6nxk636.jpg "width=" 244 "height=" Bayi "/> LZ1 's a record is automatically generated in the DNS of the LZ domain controller after completion 650) this.width=650; "tit
In an article before Chen Nian, "Different situations of two domain name use analysis of the pros and cons," Chen Nian talked about a number of two-level domain name related issues, in fact, the choice of two domain name Baidu is given to our reference suggestions, choose to use a subdomain or directory to reasonable d
Environment configuration:Configure DNS for Domain name resolution
Install the bind package.
Yum install-y bind2. Modify the bind configuration file.Vim/etc/named.confListen-on Port 53 {192.168.200.101;};allow-query {any;};Vim/etc/named.rfc1912.zonesZone "A.com" in {Type master;File "A.com.localhost";allow-update {none;};};3. Modify the bind zone file.cd/var/named/Cp-p Named.localhost A.com.loaclhostVim A.com.loaclhost$TTL 1D@ in SOA a.c
-enabled/000-default.conf in 80 to 8080Service apache2 Restart restart Apache, Access 192.168.1.104:8080 in Windows Explorer, or you can open the index.html above.13. Down to modify the site root directory. Restore the above modified port to 80. Create a folder in your home directory that you want to use as the root directory, for example:/home/jerry/php-test14.
The following actions are performed on the old secondary domain controlled Windows Server R2Run--dcpromoSet the local administrator password, this password to rememberCheck that the settings are correctDemote the fallback domain and modify the IP address of the old secondary domain, then change the IP address of the new secondary
Enter.
14, type remove selected server, and then press Enter. A confirmation message appears stating that the deletion completed successfully.
15. Type quit in each menu and exit Ntdsutil utility.
Change Operation Step Two:
1. Delete CNAME records in the root domain > Zone of DNS _msdcs.
2. In the DNS console, use the DNS MMC to delete A records in DNS.
3, delete the CNAME record in the _msdcs container.
Change Operation step Three:
Use Activ
Like/bbs/301 jump to the new level two domain
With the LNMP, I was directly adding a bbs.conf file to the/usr/local/nginx/conf
Then add an include bbs2.conf in 111cn.net's conf configuration;
Reboot complete.
The contents of the bbs.conf are:
The code is as follows
Copy Code
Location ~* ^/bbs/{Rewrite ^/bbs/(. *) $ http://your level two domain name/$1 permanent;}
D
Why do I need to force uninstall on a domain controller? If the domain controller is unable to communicate with the replication partner, and the correction is hopeless, we will consider a forced uninstall. For example, I have seen a unit with 10 domain controllers, there are 7 can not replicate each other, mainly administrators mistakenly think that the more
under the Apache directory, as well as admin.demo.com access the Admin folder.admin.demo.comAnd cdn.demo.com can be different domain namesNote in the httpd-vhosts.confThe first VirtualHost配置 priority is the highest, and if the requested address VirtualHost配置 is not found in the other, the default point is to the first, which is often referred to as主服务器VirtualHost *:80 Monitor Any 80-port accessVirtualHost
above Baidu domain name for your website domain name can, documentroot "/xampp/htdocs/baidu" This directory for your file path, I here is www.baidu.com domain corresponding to the corresponding Baidu folder.And so on, we can continue to add virtual directories:ServerAdmin [email protected].com documentroot"/XAMPP/HTDO
in the Linux server,/directory to establish the upload directory, uploaded files should not be called, only support the site root directory, does not support the server root directory.
call a file, can also, with the include "/xxx.php", it can be called, no garbled.
include "/xxx.gif"; a bunch of garbled charact
, and there are not many users, all users who have lost permissions to SharePoint are also handled manually.VI: TFS Server service Account MigrationDue to the environment is the migration of the production environment, all service accounts if the migration and then to change the identity of these, the problem and can not find where the service account has not changed, want to immediately recover is not. So the safe way is to use the service account of all the servers and migrate them in a replac
In the Linux server,/directory to establish the upload directory, uploaded files should not be called, only support the site root directory, does not support the server root directory.
Call a file, can also, with the include "/xxx.php", it can be called, no garbled.
Include "/xxx.gif"; a bunch of garbled characters.
Apache binding multiple different domain name instance methods on the same virtual directory
To use the Serveralias method for the implementation of multiple domain bindings for the same directory, let's take www.111cn.net as an example,
Namevirtualhost *:80
ServerName Web-demo
Serveralias www.111cn.net 111cn.net
Network path is not found when computer computer joins domain | The Active Directory is missing DNS records. I've always seen friends ask, clients join the Domain times error: The following errors occurred while joining the domain, and the system prompted that the network path could not be found. Why, then?
There are
Place a angular project under a domain name you don't want to put down the root directory to put it in a folder.
However, there is a problem that the file cannot be read
How do you configure this?
There's a layer of paths in the middle.
Reply content:
Place a angular project under a domain name you don't want to put down the root
A website (e:\test):It contains multiple directories such as:htmlcssjsphpimg.....Wait a minute.Then, I set a cookie in the JS file in the JS directory, and also set a cookie in the php file in the PHP directory. Then open the JS file in the JavaScript directory to read the cookie and PHP files in the directory (JS scri
Active Directory User Properties "Accounts" tabThe Account tab shows the user's login name and other settings for some accounts, and you can set the time at which the user logs on to the domain (select a good region, then choose Allow login or deny login, then choose OK, go back to the User Properties window, and select OK or apply. );650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/72/64/wKioL1Xi
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.