Centos下项目迁移有感

前几天刚入职一家公司,结果公司领导上来就给我一个下马威,让我把公司的一台服务器重新做成centos系统,让后把现在服务器山运行的项目迁移过去,现在服务器上是Windows  Server2012中运行了三个Linux虚拟机,三个虚拟机上一共有四个系统,整个过程我整了三天,这对我一个后端开发来说是一种折磨,因为我从来没有在Linux上做过如此复杂的操作。下面谈一下解决这个问题的总体思路吧。

1,弄清楚系统上的所有项目的路径,代码,数据库,源文件,以及运行状态。

2,告知使用项目的同事和客户即将停止运行。

3,分别备份各个项目的数据库(双备份)、源代码和源文件。

4,重新做好新的系统(优盘写入镜像后从优盘启动)。

5,搭建好新系统的环境(php、java等)。

6,将备份的数据恢复到新的环境中去。

公司的项目管理平台是禅道,代码管理是gitlab  ,文档和接口管理平台是MinDoc。

MinDoc安装:

https://www.moerats.com/archives/539/

https://www.cnblogs.com/gyjx2016/p/7199750.html

https://blog.csdn.net/airfish20000/article/details/77897703

http://blog.51cto.com/innocence/2147244?utm_source=oschina-app

IntelliJ IDEA激活教程

https://baijiahao.baidu.com/s?id=1585530607645308087&wfr=spider&for=pc

http://idea.lanyus.com/

 

Linux相关

https://www.cnblogs.com/zhming26/p/6089928.html

https://blog.csdn.net/HaHa_Sir/article/details/80444572Linux CentOS 查看Tomcat占用端口号

https://blog.csdn.net/lipp555/article/details/53585431    开放指定端口

https://blog.csdn.net/HaHa_Sir/article/details/80444572查看端口

https://blog.csdn.net/xzx735/article/details/43227203 error while loading shared libraries: libc.so.6 救急办法

https://blog.csdn.net/ai2000ai/article/details/78983461  Centos6.4升级glibc_2.14

https://www.cnblogs.com/mracale/p/5786831.html  CentOS如何查看端口是被哪个应用/进程占用

https://blog.csdn.net/javadream007/article/details/78478491  文件传输

https://blog.csdn.net/qq_15071263/article/details/73746971 

 

mysql

https://www.cnblogs.com/sbaicl/articles/3132010.html  mysql跳过密码登陆

 

 

gitlab

https://blog.whsir.com/post-1469.html  完全卸载删除gitlab

https://blog.csdn.net/ouyang_peng/article/details/77070977  git学习------> Gitlab如何进行备份恢复与迁移?

https://blog.csdn.net/ouyang_peng/article/details/72903221git学习------> Gitlab如何进行备份恢复与迁移?

https://blog.csdn.net/haiyu94/article/details/68929360?locationNum=16&fps=1  本地服务器Gitlab的搭建及卸载---基于centos6.5

 

 

你可能感兴趣的:(运维,后端开发)