gogs migration

install new gogs app cp custom/conf/app.ini to new server,and edit migrate mysql data migrate gogs-repositories dir config autostart Resync pre-receive, update and post-receive hooks of all repositories refrence GOGS代码仓库迁移教程

centos rc.local 不生效

chmod +x /etc/rc.d/rc.local reason: #!/bin/bash # THIS FILE IS ADDED FOR COMPATIBILITY PURPOSES # # It is highly advisable to create own systemd services or udev rules # to run scripts during boot instead of using this file. # # In constrast to previous versions due to parallel execution during boot # this script will NOT be run after all other services. # # Please note that you must run

jenkins migration

install jenkins in new computer run rm -rf .jenkins/jobs/*/workspace rm -rf .jenkins/jobs/*/builds tar -zcvf .jenkins transfer to new server and override the new .jenkins tips: the user who run the jenkins must have enough privileges;