Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tail –f nohup.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
nohup your_command & |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//-X -S請使用大寫字母 | |
screen -ls | |
screen -X -S 進程編號 quit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//上傳 | |
rclone copy VPS路徑 雲端硬碟路徑 | |
//下載 | |
rclone copy 雲端硬碟路徑 VPS路徑 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
上傳圖片到OneDrive | |
點擊共用 | |
取消編輯權限(避免檔案被其他用戶刪除) | |
複製連結 | |
開啟連結 | |
檢視原始影像 | |
複製原始影像連結 | |
獲取原始影像連結 | |
https://onedrive.gimhoy.com/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//修改wp-config.php | |
//加入以下兩行內容 | |
define('WP_HOME','你的域名'); | |
define('WP_SITEURL','你的域名'); | |
或 | |
//修改functions.php | |
//加入以下兩行內容 | |
update_option('siteurl','你的域名'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
UPDATE wp_options SET option_value = REPLACE(option_value, '原域名', '新域名') WHERE option_name = 'home' OR option_name = 'siteurl'; | |
UPDATE wp_posts SET post_content = REPLACE (post_content, '原域名', '新域名'); | |
UPDATE wp_postmeta SET meta_value = REPLACE (meta_value, '原域名,'新域名'); | |
UPDATE wp_comments SET comment_content = REPLACE (comment_content, '原域名', '新域名'); | |
UPDATE wp_comments SET comment_author_url = REPLACE (comment_author_url, '原域名,'新域名'); | |
UPDATE wp_posts SET guid = REPLACE (guid, '原域名', '新域名') WHERE post_type = 'attachment'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
進入 /data/wwwroot/www.你的域名,刪除wordpress安裝檔 | |
將/data/wwwroot/www.你的域名/wordpress檔案移動到/data/wwwroot/www.你的域名 | |
刪除wordpress資料夾 | |
如果會程式可以用mv、rm rf指令直接在Xshell操作,這裡是以新手方式教學 |
NewerOlder