Tags: border flush ant allows containe host option login colorFirst, configure the user to allow access, in an authorized manner to the user rights
1
GRANTALLPRIVILEGESON*.*TO‘root‘@‘%‘IDENTIFIEDBY‘123456‘WITHGRANT OPTION;
Description: Root is the user logging into the database, 123456 is the password to log in the database, * means that any source of any host, anyway, is the right to a large appearance. Finally, you
Excerpt from: http://www.iteye.com/topic/418151MySQL Database remote Access Setup method1. Modify localhostChange the "host" entry in the "User" table in the "MySQL" database, changing from "localhost" to "%"Mysql>use MySQL;Mysql>update User Set host = '% ' where user = ' root ';Mysql>select host, user from user;Mysql>flush privileges;2. Designated authorizationConnect to the MySQL server from any host usin
following:In [1 from notebook.auth import Passwdin [2]: passwd () Enter password:verify password:out[2'sha1:67c9e60bb8b6:9ffede0825894254b2e042ea597d771089e11aed' sha1:67c9e60bb8b6:9ffede0825894254b2e042ea597d771089e11aedThis string is the password to be jupyter_notebook_config.py added.C.notebookapp.password = u'sha1:67c9e60bb8b6:9ffede0825894254b2e042ea597d771089e11aed '3. Modify the configuration filejupyter_notebook_config.pyLocate the following line in, uncomment and modify.c.notebookapp.
1.JConsole doesn't have much to do with introductions.
Configuration at the 2.Linux end
2.1. Enter the WebSphere console (https://localhost:9043/ibm/console/login.do?action=secure)2.2. Configuring JVM Parameters2.2.1, jvm:-djavax.management.builder.initial=-dcom.sun.management.jmxremote (Note: = There must be a space behind)2.2.2, servers-->server types-->websphere application Servers-->server Infrastructure-->java and Process Management-->process Definition-->java Virtual machine-->
Mysql remote access permission
1. Change table
Mysql> use mysql;Mysql> update user set host = '%' where user = 'root ';
2. Authorization Law
For example, if you want myuser to use mypassword to connect to the mysql server from any host.Grant all privileges on *. * TO 'myuser' @ '%' identified by 'mypassword' with grant option;If you want to allow myuser to connect to the mysql server from a host whose i
1. Configure the Environment:Yum Install gcc pam-devel openssl-devel-y2. Enter the specified directory to download and unzip the XRDP:Install wget first;sudo yum-y install wgetwget http://hivelocity.dl.sourceforge.net/project/xrdp/xrdp/0.6.1/xrdp-v0.6.1.tar.gz ZXVF xrdp.tar.gzThe ZXVF are four parameters respectively:X: Extract the files from the tar packageZ: Indicates that the TAR package is compressed by gzip, so it needs to be decompressed with GunzipV: Show more informationF xxx.tar.gz: Spe
lnmp.orgInstallation of the environment,Install Redis,Only need the directory,Enter the directory after LNMP decompression, execute:./addons.sh Install RedisCan.Then turn on Redis.Modify the configuration file. /usr/local/redis/etc/redis.confProtected-mode to set to NoDaemonize Yes# bind 127.0.0.1Requirepass ******Turn on the run.CD /usr/local/redis/bin./redis-server /usr/local/redis/etc/redis.confIn the config.php of THINKPHP5.Redis Cache' Redis ' = [Drive mode' Type ' = ' Redis ',Server addres
1. Environment:Hadoop 2.6.0JDK 1.7x64Centos7Eclipse Java EE2. Installing Hadoop1. Turn off the firewallcentos7.0 above Use this commandSystemctl Start Firewalld.service #临时关闭Systemctl Disable Firewalld.service #关闭开机启动centos7.0 Use this command belowService Iptables Stop #临时关闭Chkconfig iptables off #关闭开机启动 2. Modify Host NameVi/etc/hostsRemove all other hosts information and insert the following hosts10.0.1.35 ZZM #ip hostnameVi/etc/sysconfig/network# Created by Anacondanetworking=yeshostname=zz
This paper introduces a method of using two serial ports of Linux server to build dial-up server, and remote users can connect to LAN through dial-up, so as to facilitate information transmission and resource sharing.
The author's configuration environment is red Hat 8.0 Linux operating system, the required hardware includes two external modems (respectively connected to the COM1 and COM2 ports) and two telephone lines. The implementation steps are as
18cc9b09eef03818400028180077f06b3e343cae9988f4be3f76facbab565ab73d4ba295c52ba92428b1f2da1e6dd652413dd3afe0c5a4fcf365100cb e34ceca55a2c30a2a9ff7e899628557e39ce8fc615f53193a7e200b4b1cb21e3f1091d595716d229dded6872061f9b4b08301adc81f7ec1501ffb863c 0009536596ccb508596c3325892dc6d8c5c35b5# Exit the public key view and save the public key entered by the user.[Devicea-pkey-public-key-key1] Peer-public-key End[Devicea] ReturnVerifying the configuration# Establish an SSH connection to the server 192.168.
() t2all=sum (cpu_end _alltime) #结束时的cpu时间总和 t1busy=t1all-cpu_start_alltime.idle# Start busy = total time-idle time T2busy=t2all-cpu_end_alltime.idle "C PU usage: (end of busy time-start busy time)/(total time to end-total time to start) ' cpu_busy= (T2BUSY-T1BUSY)/(T2all-t1all) *100 # print ("CPU Usage:%0.2f"%cpu_busy+ '% ') return cpu_busy# another notation # def get_cpu_percent () : # return Psutil.cpu_percent (1) "' converts bytes number to more intuitive symbol display ' ' ' Return value:
: Self.client.connect ((self.ip,self.port)) except Oserror:print ("a socket operation was attempted to a network that cannot be connected") Self.txtBox.delete (0.0, END) self.txtBox.insert (0.0, "%s:%d connection failed ..."% (Self.ip,self.port)) Else:print ("%s connection succeeded ..."%self.ip) self.txtBox.delete (0.0, END) self.txtBox.ins ERT (0.0, "%s:%d connected successfully ..."% (Self.ip,self.port)) # The connection is successful and the other button is changed
This example describes the MySQL settings to specify the IP remote Access connection method, share for everyone to reference. The implementation methods are as follows:
1. The authorized user root uses the password jb51 to connect to the MySQL server from any host:
Copy Code code as follows:
Grant all privileges in *.* to ' root ' @ '% ' identified by ' jb51 ' with Grant OPTION;
Flush privileges;
Linux under:
Enter MSFDsudo msfd
Open connectionMsfd-a
To see if the port is openNetstat-tn
Remote Connectivity MSF
NC
Under Windows:
Open connectionmsf> load MSFD servername= Your IP address serverport= your port
View ConnectionNetstat-na
Access using TelnetTelnet
Window may appear garbled, here is recommended to use an open source software putty, with a simple instructions:
Here, choose Te
The error message that the client gets is usually: Ora-12170:tns: Connection timed outAt this point, we can basically be sure that the server is not open 1521 port (assuming you use the default settings)Workaround:(1) If you are in a LAN environment, configure a firewall. Then you can turn off the Linux firewall.sudo service iptables stop(2) Edit iptables, open 1521 port:sudo vi/etc/sysconfig/iptables-A input-p tcp-m state--state new-m TCP--dport 1521-j ACCEPT: WqRestarting the firewallsudo serv
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.