最近接触到远程桌面连接windowns系统搭建java项目运行环境,主要是tomcat7,jdk7,mysql5.6 的安装(其实和本地的差不多)
远程桌面连接需要客户提供远程服务器的ip、用户名、密码,操作C盘的时候可能还需要管理员账号和密码
1、tomcat7直接解压就能用(注意修改tomcat7的内容配置)
2、jdk的安装配置(和本地windons系统机子配置方法一致)
3、mysql的安装与本地一致,安装好之后在打开cmd命令窗口
Microsoft Windows [版本 6.3.9600]
(c) 2013 Microsoft Corporation。保留所有权利。
C:\Windows\system32>d:
D:\>cd D:\Program Files\mysql-5.6.25-winx64\bin
D:\Program Files\mysql-5.6.25-winx64\bin>mysqld.exe --instanll
2015-06-24 15:26:14 0 [Warning] TIMESTAMP with implicit DEFAULT value is depreca
ted. Please use --explicit_defaults_for_timestamp server option (see documentati
on for more details).
2015-06-24 15:26:15 0 [Note] mysqld.exe (mysqld 5.6.25) starting as process 1392
...
D:\Program Files\mysql-5.6.25-winx64\bin>mysqld.exe --install
Service successfully installed.
D:\Program Files\mysql-5.6.25-winx64\bin>net start mysql
请求的服务已经启动。
请键入 NET HELPMSG 2182 以获得更多的帮助。
D:\Program Files\mysql-5.6.25-winx64\bin>net start mysql
D:\Program Files\mysql-5.6.25-winx64\bin>mysql -u root -p
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 1
Server version: 5.6.25 MySQL Community Server (GPL)
Copyright (c) 2000, 2015, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
mysql> grant all on *.* to root@'%' identified by '123456';--开启远程访问权限