confluent 更换ip地址之后修改数据库
由于地址搬迁导致ip地址有变动,整个的confluence的服务器的ip的地址更换和对应的数据库地址更换
root@computer-PowerEdge-T30:/opt/atlassian/confluence/confluence/WEB-INF/classes#
root@computer-PowerEdge-T30:/opt/atlassian/confluence/confluence/WEB-INF/classes# ll
total 260
drwxr-xr-x 3 root root 4096 3月 27 15:20 ./
drwxr-xr-x 6 root root 4096 3月 27 15:20 ../
drwxr-xr-x 3 root root 4096 3月 27 15:20 com/
-rw-r--r-- 1 root root 1040 3月 27 15:20 confluence-init.properties
-rw-r--r-- 1 root root 549 12月 1 2014 crowd.properties
-rw-r--r-- 1 root root 178501 12月 1 2014 hash-registry.properties
-rw-r--r-- 1 root root 514 12月 1 2014 lgplTemplate.soy
-rw-r--r-- 1 root root 7379 12月 1 2014 log4j-diagnostic.properties
-rw-r--r-- 1 root root 12898 12月 1 2014 log4j.properties
-rw-r--r-- 1 root root 280 12月 1 2014 logging.properties
-rw-r--r-- 1 root root 5849 12月 1 2014 mime.types
-rw-r--r-- 1 root root 2741 12月 1 2014 osuser.xml
-rw-r--r-- 1 root root 2811 12月 1 2014 seraph-config.xml
-rw-r--r-- 1 root root 311 12月 1 2014 seraph-paths.xml
-rw-r--r-- 1 root root 3437 12月 1 2014 velocity_implicit.vm
-rw-r--r-- 1 root root 7613 12月 1 2014 velocity.properties
root@computer-PowerEdge-T30:/opt/atlassian/confluence/confluence/WEB-INF/classes# nano confluence-init.properties
打开confluence home的文件目录
root@computer-PowerEdge-T30:/var/atlassian/application-data/confluence# ll
total 72
drwx------ 15 confluence3 root 4096 4月 25 09:06 ./
drwxr-xr-x 3 root root 4096 3月 27 15:20 ../
drwxrwxr-x 2 confluence3 confluence3 4096 4月 25 09:06 analytics-logs/
drwxrwxr-x 3 confluence3 confluence3 4096 3月 27 16:03 attachments/
drwxrwxr-x 2 confluence3 confluence3 4096 4月 24 02:00 backups/
drwxrwxr-x 2 confluence3 confluence3 4096 3月 27 15:32 bundled-plugins/
-rw-rw-r-- 1 confluence3 confluence3 2401 4月 25 09:06 confluence.cfg.xml
drwxrwxr-x 3 confluence3 confluence3 4096 4月 25 09:06 index/
drwxrwxr-x 2 confluence3 confluence3 4096 4月 23 15:43 journal/
drwxrwxr-x 2 confluence3 confluence3 4096 4月 25 07:44 logs/
drwxrwxr-x 2 confluence3 confluence3 4096 4月 25 09:06 plugins-cache/
drwxrwxr-x 5 confluence3 confluence3 4096 3月 27 15:32 plugins-osgi-cache/
drwxrwxr-x 2 confluence3 confluence3 4096 3月 27 15:32 plugins-temp/
drwxrwxr-x 3 confluence3 confluence3 4096 3月 27 15:32 shared-home/
drwxrwxr-x 2 confluence3 confluence3 4096 4月 24 04:00 temp/
drwxrwxr-x 2 confluence3 confluence3 12288 4月 25 09:38 webresource-temp/
root@computer-PowerEdge-T30:/var/atlassian/application-data/confluence#
root@computer-PowerEdge-T30:/var/atlassian/application-data/confluence# nano confluence.cfg.xml
重启完成