the ISCSIADM directiveIscsiadm is a command-line tool for managing (updating, deleting, inserting, querying) iSCSI metabase files that users can use to perform a series of operations on iSCSI nodes, sessions, connections, and Discovery Records. (1) Login Iscsitarget:Iscsiadm-m node-t OrIscsiadm-m node-t [Target-name]-P [ip-address]-L here the "-T" followed by the target name, "Ip-address" is the target host IP address, "Port" is the target host port number, the default is 3260. (2) Disconnect t
System environment# UNAME-RM2.6.32-504.el6.x86_64 x86_64# Cat/etc/redhat-releaseCentOS Release 6.6 (Final)Server role
Host Name
Ip
Node1
192.168.56.3
Node2
192.168.56.4
Node3
192.168.56.5
Setting up the Java heap[Email protected] ~]# vim/app/zookeeper/conf/java.envExportjvmflags= "-xmx512m"Setting up the configuration file[Email protected] ~]# cd/app/zookeeper/conf/[email protected] conf]# CP zoo_sample.cfg Zoo.
Data disks are attached to ECS servers, while data is mounted to ecs servers.
I,Format and mount a data disk
After logging on to the ECS instance (if a data disk is selected), you need to format the data disk and then mount the data disk. Here is an instance operation:
1. log on to the ECS instance and run the fdisk-l command to view the data disk. If/dev/xvdb is not found after the fdisk-l command is execu
Build and use Git servers, and build and use Git servers
Git is a distributed version manager with powerful functions. It was initially developed by Linus. Its version is managed locally and does not need to download the version from the central server as SVN does.
Install git in linux. You can configure Yum and install git directly.
GIt usage tips
Initialize the version library mkdir ~ /Myrepos; git init
Multiple linux servers ssh have no password for each other, and multiple linux servers ssh
Server A: 10.1.11.82
Server B: 10.1.11.210
Objective: to allow server A to access server B without A password
Operation logic: to allow server A to access server B without A password, you only needGenerate A key pair on server,Upload the generated public key to the. ssh directory in the related user directory of serv
Easy creation of nodejs servers (2): Component Analysis of nodejs servers,
Next to the previous section, let's analyze the Code:
The http module that comes with the first line request (require) Node. js and assigns it to the http variable.
Next, we will call the function createServer provided by the http module.
This function will return an object, which has a method called listen. This method has a numeric
NodeJs creates basic HTTP servers and nodejs creates servers.The content is simple, but the basics are written and shared with you. If you forget it, you can find it.
Create a server with the following code:
Var http = require ('http'); http. createServer (function (req, res) {res. writeHeader (200, {'content-type': 'text/html'}); res. write ('
Enter http: // 127.0.01: 3000 to access
The port is the port value entered at listen in the code.
Copy files remotely on two linux servers and copy files on two linux servers1. copy the files from the remote machine to the local machine.
Scp-r root@10.10.15.25:/bea/gg copy remote/bea to/gg
-R Recursively copy entire directories. Recursively copy the entire directoryRoot@10.10.15.25:/bea remote machine directory
/Gg local directory
2. copy local files to remote
Root@10.10.15.25 scp-r/bea/oracle:/bea/gg
3. If the remote server firewall
I. Planning INSTRUCTIONS:
Host A: Dual NIC
192.168.1.7--> mydomain.org Primary Domain name server
192.168.10.7--> myzone.org The primary domain name server, which has two subdomains, for market.myzone.org and develog.myzone.org
Host B: Dual NIC
192.168.1.6--> mydomain.org Auxiliary domain name server
192.168.10.6--> market.myzone.org Sub-domain name server
Both servers have DNS-independent logs for logging query (query_logs) records and Error (Err_log
/auto.masterAdd a /home/text-autonfs/etc/auto.nfs/home/autofs-test does not need to exist for this directory to be automatically created after mounting.3. Edit Auto.nfs (not originally present, automatically created when editing)Vi/etc/auto.nfsAdd one: dong-rw 192.168.1.3:/home/dong4. Restart the AutoFS serviceServeice autofs Restart650) this.width=650; "Src=" Http://s5.51cto.com/wyfs02/M00/82/EA/wKioL1dk-UTQ__zxAAAkLoR7EsE733.jpg-wh_500x0-wm_3 -wmp_4
1.1 Experimental Environment:Server operating system: centos6.7=192.168.24.37Client operating system: centos6.7=192.168.24.36Virtual machines: VMware Workstation1.2 Experimental background There are many ways to remotely replicate files from one server to another, where Sky today uses the Linux SCP command to accomplish this task. That is, from the server side copy a copy of the source file "mysql-5.6.20.tar.gz" to the client. 1.3 Experimental stepsScp–r remote User name @IP address: file name
Tags: des style http color using OS strong IOAlmost all of the configuration parameters are in the config.inc.php file. If this file does not exist, you can find config.default.php in the Libraries directory, copy it to the root directory, and rename it to config.inc.php.
$cfg [Pmaabsoluteuri] string ,
Fill in the full URL of your PhpMyAdmin installation directory (including the full path) here.
Starting with version 2.3.0, you can try not to fill out this parameter. The ph
At the company's request, recently in the learning WebLogic cluster this piece of knowledge, I have learned these days, and the process encountered problems and how to solve, share to everyone. First of all, WebLogic is a product of Orcale company, as for its role, I think I don't have to say. But I think it is necessary to say a few words about the professional nouns in weblogic.1.ServerFriends who used Tomcat should be aware that when we have multiple projects deployed under the same Tomcat se
The rationale for SQL Server 2000 database synchronization configuration
The concept of replication
Microsoft? SQL Server? 2000 replication of data and database objects between databasesAnd a set of technologies that are distributed and synchronized to ensure their consistency.
Replication allows you to distribute data to different locations, using a LAN, dial-up connection, and Internet accessSent to remote or mobile users. Repli
Windows Server 2003 is one of the most common server operating systems. While it provides a powerful network service and is simple to use, its security has been plagued by a number of network administrators, how to take full advantage of the services provided by Windows Server 2003, while ensuring the security and stability of the server operation to maximize the protection against viruses and hackers. Windows Server 2003 SP1 The release of the Chinese version of the patch package, which address
If users use Windows SQL Server as the operating system of a computer, they can configure the computer as a Web server, an IIS server, an FTP server, a DNS server, A variety of servers, such as a DHCP server and a WINS server, to provide a service to clients in a network. Of the most important and basic three services provided by Windows Server servers is the domain name service, the service that converts t
, first modify the PHP folder under the Php.ini-dist file, modified to php.ini, with Notepad open, find MySQL options, put the front;
Then copy the Libmysql.dll under the Php_mysql.dll and PHP folders under the Php\ext folder to the C:\Windows\System32 folder:
Then open our test page, this time, should be able to see the following, indicating that the MySQL has been enabled:
Six, the final configuration phpmyadmin, copy phpMyAdmin to the site root directory, modify phpMyAdmin config.inc.p
After introducing some of the configuration options in the phpmyadmin configuration file, let's talk about how to use the Servers option in the phpmyadmin configuration file, phpmyadmin installation configuration must involve the configuration of the Servers option in the phpmyadmin configuration file. otherwise, phpmyadmin cannot normally access the configuration options in the phpmyadmin configuration fil
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.