- hexo init foderName
- Site
title: Hexo
subtitle: ‘’
description: ‘’
keywords:
author: John Doe
language: en
timezone: ‘’ - http://yoursite.com/child‘ and root as ‘/child/‘
url: http://yoursite.com
root: /
permalink: :year/:month/:day/:title/
permalink_defaults:
pretty_urls:
trailing_index: true # Set to false to remove trailing ‘index.html’ from permalinks
trailing_html: true # Set to false to remove trailing ‘.html’ from permalinks">URL
## If your site is put in a subdirectory, set url as ‘http://yoursite.com/child‘ and root as ‘/child/‘
url: http://yoursite.com
root: /
permalink: :year/:month/:day/:title/
permalink_defaults:
pretty_urls:
trailing_index: true # Set to false to remove trailing ‘index.html’ from permalinks
trailing_html: true # Set to false to remove trailing ‘.html’ from permalinks - Directory
source_dir: source
public_dir: public
tag_dir: tags
archive_dir: archives
category_dir: categories
code_dir: downloads/code
i18n_dir: :lang
skip_render: - Writing
new_post_name: :title.md # File name of new posts
default_layout: post
titlecase: false # Transform title into titlecase
external_link:
enable: true # Open external links in new tab
field: site # Apply to the whole site
exclude: ‘’
filename_case: 0
render_drafts: false
post_asset_folder: false
relative_link: false
future: true
highlight:
enable: true
line_number: true
auto_detect: false
tab_replace: ‘’
wrap: true
hljs: false
prismjs:
enable: false
preprocess: true
line_number: true
tab_replace: ‘’ - Home page setting
# path: Root path for your blogs index page. (default = ‘’)
# per_page: Posts displayed per page. (0 = disable pagination)
# order_by: Posts order. (Order by date descending by default)
index_generator:
path: ‘’
per_page: 10
order_by: -date - Category & Tag
default_category: uncategorized
category_map:
tag_map: - https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta
meta_generator: true">Metadata elements
## https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta
meta_generator: true - http://momentjs.com/docs/#/displaying/format/
date_format: YYYY-MM-DD
time_format: HH:mm:ss
## updated_option supports ‘mtime’, ‘date’, ‘empty’
updated_option: ‘mtime’">Date / Time format
## Hexo uses Moment.js to parse and display date
## You can customize the date format as defined in
## http://momentjs.com/docs/#/displaying/format/
date_format: YYYY-MM-DD
time_format: HH:mm:ss
## updated_option supports ‘mtime’, ‘date’, ‘empty’
updated_option: ‘mtime’ - Pagination
## Set per_page to 0 to disable pagination
per_page: 10
pagination_dir: page - Include / Exclude file(s)
## include:/exclude: options only apply to the ‘source/‘ folder
include:
exclude:
ignore: - https://hexo.io/plugins/
## Themes: https://hexo.io/themes/
theme: landscape">Extensions
## Plugins: https://hexo.io/plugins/
## Themes: https://hexo.io/themes/
theme: landscape - https://hexo.io/docs/one-command-deployment
deploy:
type: ‘’
# Hexo Configuration
## Docs: https://hexo.io/docs/configuration.html
## Source: https://github.com/hexojs/hexo/">Deployment
## Docs: https://hexo.io/docs/one-command-deployment
deploy:
type: ‘’
# Hexo Configuration
## Docs: https://hexo.io/docs/configuration.html
## Source: https://github.com/hexojs/hexo/ - Site
title: Hexo
subtitle: ‘’
description: ‘’
keywords:
author: John Doe
language: en
timezone: ‘’ - http://yoursite.com/child‘ and root as ‘/child/‘
url: http://yoursite.com
root: /
permalink: :year/:month/:day/:title/
permalink_defaults:
pretty_urls:
trailing_index: true # Set to false to remove trailing ‘index.html’ from permalinks
trailing_html: true # Set to false to remove trailing ‘.html’ from permalinks">URL
## If your site is put in a subdirectory, set url as ‘http://yoursite.com/child‘ and root as ‘/child/‘
url: http://yoursite.com
root: /
permalink: :year/:month/:day/:title/
permalink_defaults:
pretty_urls:
trailing_index: true # Set to false to remove trailing ‘index.html’ from permalinks
trailing_html: true # Set to false to remove trailing ‘.html’ from permalinks - Directory
“_config.yml” 106L, 2441C
[root@hecs-x-medium-2-linux-20200322093022 blog]# npm install hexo-deployer-git —save
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.3 (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {“os”:”darwin”,”arch”:”any”} (current: {“os”:”linux”,”arch”:”x64”}) - Site
title: Hexo
subtitle: ‘’
description: ‘’
keywords:
author: John Doe
language: en
timezone: ‘’ - http://yoursite.com/child‘ and root as ‘/child/‘
url: http://yoursite.com
root: /
permalink: :year/:month/:day/:title/
permalink_defaults:
pretty_urls:
trailing_index: true # Set to false to remove trailing ‘index.html’ from permalinks
trailing_html: true # Set to false to remove trailing ‘.html’ from permalinks">URL
## If your site is put in a subdirectory, set url as ‘http://yoursite.com/child‘ and root as ‘/child/‘
url: http://yoursite.com
root: /
permalink: :year/:month/:day/:title/
permalink_defaults:
pretty_urls:
trailing_index: true # Set to false to remove trailing ‘index.html’ from permalinks
trailing_html: true # Set to false to remove trailing ‘.html’ from permalinks - Directory
source_dir: source
public_dir: public
tag_dir: tags
archive_dir: archives
category_dir: categories
code_dir: downloads/code
i18n_dir: :lang
skip_render: - Writing
new_post_name: :title.md # File name of new posts
default_layout: post
titlecase: false # Transform title into titlecase
external_link:
enable: true # Open external links in new tab
field: site # Apply to the whole site
exclude: ‘’
filename_case: 0
render_drafts: false
post_asset_folder: false
relative_link: false
future: true
highlight:
enable: true
line_number: true
auto_detect: false
tab_replace: ‘’
wrap: true
hljs: false
prismjs:
enable: false
preprocess: true
line_number: true
tab_replace: ‘’ - Home page setting
# path: Root path for your blogs index page. (default = ‘’)
# per_page: Posts displayed per page. (0 = disable pagination)
# order_by: Posts order. (Order by date descending by default)
index_generator:
path: ‘’
per_page: 10
order_by: -date - Category & Tag
default_category: uncategorized
category_map:
tag_map: - https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta
meta_generator: true">Metadata elements
## https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta
meta_generator: true - http://momentjs.com/docs/#/displaying/format/
date_format: YYYY-MM-DD
time_format: HH:mm:ss
## updated_option supports ‘mtime’, ‘date’, ‘empty’
updated_option: ‘mtime’">Date / Time format
## Hexo uses Moment.js to parse and display date
## You can customize the date format as defined in
## http://momentjs.com/docs/#/displaying/format/
date_format: YYYY-MM-DD
time_format: HH:mm:ss
## updated_option supports ‘mtime’, ‘date’, ‘empty’
updated_option: ‘mtime’ - Pagination
## Set per_page to 0 to disable pagination
per_page: 10
pagination_dir: page - Include / Exclude file(s)
## include:/exclude: options only apply to the ‘source/‘ folder
include:
exclude:
ignore: - https://hexo.io/plugins/
## Themes: https://hexo.io/themes/
theme: landscape">Extensions
## Plugins: https://hexo.io/plugins/
## Themes: https://hexo.io/themes/
theme: landscape - https://hexo.io/docs/one-command-deployment
deploy:
type: ‘git’
repo: git@github.com:future1314/future1314.github.io.git
branch: master">Deployment
## Docs: https://hexo.io/docs/one-command-deployment
deploy:
type: ‘git’
repo: git@github.com:future1314/future1314.github.io.git
branch: master
1884 2020-08-28 17:29:45 root git clone https://gitee.com/yadong.zhang/DBlog.git
1885 2020-08-28 17:29:51 root ls -l
1886 2020-08-28 17:29:56 root cd DBlog/
1887 2020-08-28 17:30:37 root ls -l
1888 2020-08-28 17:30:55 root chmod 755 build.sh
1889 2020-08-28 17:30:57 root ls -l
1890 2020-08-28 17:31:06 root ./build.sh dev
1891 2020-08-28 18:17:39 root cd project/
1892 2020-08-28 18:17:49 root cd DBlog/
1893 2020-08-28 18:17:51 root ls -l
1894 2020-08-28 18:18:00 root cd docs/
1895 2020-08-28 18:18:01 root ls -l
1896 2020-08-28 18:18:06 root cd db/
1897 2020-08-28 18:18:09 root ls -l
1898 2020-08-28 18:18:12 root pwd
1899 2020-08-28 18:22:07 root cd ../../
1900 2020-08-28 18:23:23 root ls -l
1901 2020-08-28 18:23:27 root cd ..
1902 2020-08-28 18:23:30 root ls -l
1903 2020-08-28 17:54:28 root redis-cli
1904 2020-08-28 18:01:20 root mysql -udb_ketang -p
1905 2020-08-28 18:02:25 root mysql -u db_ketang -p
1906 2020-08-28 18:02:44 root mysql -u root -p
1907 2020-08-28 18:07:08 root mysql -uroot -p
1908 2020-08-28 18:10:44 root mysql -udb_ketang -p
1909 2020-08-28 18:11:03 root mysql -udb_ketang -pguest2020@
1910 2020-08-28 18:11:15 root mysql -udb_ketang -p
1911 2020-08-28 18:11:27 root mysql -uroot -p
1912 2020-08-28 18:21:52 root top
1913 2020-08-28 18:48:04 root ls
1914 2020-08-28 18:48:06 root jps
1915 2020-08-28 18:48:12 root ps
1916 2020-08-28 18:48:54 root jps
1917 2020-08-28 18:49:09 root ps
1918 2020-08-28 18:49:13 root jps
1919 2020-08-28 18:49:25 root natstat
1920 2020-08-28 18:49:31 root netstat
1921 2020-08-28 18:49:47 root netstat |grep 8085
1922 2020-08-28 18:51:13 root jps
1923 2020-08-28 18:51:19 root ps
1924 2020-08-29 12:02:05 root cd project/lastest/
1925 2020-08-29 12:02:07 root ls -l
1926 2020-08-29 12:02:23 root java -jar ketang-v1.jar &
1927 2020-08-29 23:23:11 root ls -l
1928 2020-08-29 23:23:30 root ls -ltr
1929 2020-08-29 23:22:23 root ls -l
1930 2020-08-29 23:22:32 root npm i -g yuque-hexo
1931 2020-08-29 23:23:54 root ls -l
1932 2020-08-29 23:24:48 root git clone https://github.com/x-cold/yuque-hexo
1933 2020-08-29 23:25:01 root ls -ltr
1934 2020-08-29 23:25:06 root cd yuque-hexo/
1935 2020-08-29 23:25:09 root ls -l
1936 2020-08-29 23:25:58 root cp package.json ../pr/
1937 2020-08-29 23:26:21 root cp package.json ../packa
1938 2020-08-29 23:26:27 root ls -ltr
1939 2020-08-29 23:26:32 root ll
1940 2020-08-29 23:26:54 root vi package.json
1941 2020-08-29 23:31:18 root cat package.json
1942 2020-08-29 23:32:16 root vi package.json
1943 2020-08-29 23:37:11 root cat package.json
1944 2020-08-29 23:39:48 root ls -l
1945 2020-08-29 23:39:55 root cd ..
1946 2020-08-29 23:39:58 root ls -l
1947 2020-08-29 23:40:20 root cp -R yuque-hexo yuque-hexo-bak
1948 2020-08-29 23:40:23 root ls -l
1949 2020-08-29 23:40:30 root ls -l yuque-hexo-bak/
1950 2020-08-29 23:40:34 root ls -l
1951 2020-08-29 23:40:40 root cd -
1952 2020-08-29 23:40:44 root pwd
1953 2020-08-29 23:40:46 root ls -l
1954 2020-08-29 23:40:56 root git init
1955 2020-08-29 23:41:04 root ls -la
1956 2020-08-29 23:42:46 root git add .
1957 2020-08-29 23:42:58 root git commit -m “first commit”
1958 2020-08-29 23:43:59 root git config —global user.email “2488809638.com”
1959 2020-08-29 23:44:29 root git config —global user.name “future1314”
1960 2020-08-29 23:44:34 root git commit -m “first commit”
1961 2020-08-29 23:46:04 root git remote add origin https://github.com/future1314/yqblog.git
1962 2020-08-29 23:47:08 root git remote -vv
1963 2020-08-29 23:48:05 root git remote add origin https://github.com/future1314/yqblog.git
1964 2020-08-29 23:48:32 root git remote add origi2n https://github.com/future1314/yqblog.git
1965 2020-08-29 23:48:43 root git remote -vv
1966 2020-08-29 23:49:07 root git push -u origi2n master
1967 2020-08-30 11:18:14 root cd ../lib/node_modules/hexo-cli/bin/hexo
1968 2020-08-30 11:18:24 root cd /lib/node_modules/hexo-cli/bin/hexo
1969 2020-08-30 11:19:04 root cd /opt/node-v12.18.3-linux-x64
1970 2020-08-30 11:19:06 root cd /lib/node_modules/hexo-cli/bin/hexo
1971 2020-08-30 11:19:14 root cd lib/node_modules/hexo-cli/bin/hexo
1972 2020-08-30 11:19:24 root cd lib/node_modules/hexo-cli/bin/
1973 2020-08-30 11:19:27 root hxo
1974 2020-08-30 11:19:31 root hexo
1975 2020-08-30 11:19:34 root ls -l
1976 2020-08-30 11:19:41 root ./hexo
1977 2020-08-30 11:19:51 root ./hexo -version
1978 2020-08-30 11:19:57 root ./hexo -v
1979 2020-08-30 11:20:01 root ./hexo v
1980 2020-08-30 11:22:30 root pwd
1981 2020-08-30 11:22:45 root top
1982 2020-08-30 11:27:12 root ls -l
1983 2020-08-30 11:27:18 root cd ..
1984 2020-08-30 11:27:20 root ls -l
1985 2020-08-30 11:27:24 root cd ../
1986 2020-08-30 11:27:26 root ls -l
1987 2020-08-30 11:27:31 root cd yuque-hexo/
1988 2020-08-30 11:27:33 root pwd
1989 2020-08-30 11:28:34 root cd -
1990 2020-08-30 11:28:38 root pwd
1991 2020-08-30 11:29:03 root cd ~
1992 2020-08-30 11:29:05 root pwd
1993 2020-08-30 11:29:14 root cd project/yu
1994 2020-08-30 11:29:19 root cd project/
1995 2020-08-30 11:29:22 root cd ../
1996 2020-08-30 11:29:24 root cd yuque-hexo
1997 2020-08-30 11:29:27 root ls -l
1998 2020-08-30 11:29:32 root yuque-hexo sync
1999 2020-08-30 11:29:57 root pwd
2000 2020-08-30 11:30:04 root cat package.json
2001 2020-08-30 11:31:01 root tsource /etc/profile
2002 2020-08-30 11:31:02 root source /etc/profile
2003 2020-08-30 11:31:06 root yuque-hexo sync
2004 2020-08-30 11:33:04 root top
2005 2020-08-30 11:34:02 root pwdf
2006 2020-08-30 11:34:03 root pwd
2007 2020-08-30 11:34:10 root ls -l
2008 2020-08-30 11:34:23 root yuque-hexo sync
2009 2020-08-30 11:34:30 root ./yuque-hexo sync
2010 2020-08-30 11:34:38 root top
2011 2020-08-30 11:39:08 root yuque-hexo sync
2012 2020-08-30 11:39:13 root yuque-hexo.js
2013 2020-08-30 11:40:33 root yuque-hexo.js sync
2014 2020-08-30 11:41:08 root ls -l
2015 2020-08-30 11:41:16 root cd source/
2016 2020-08-30 11:41:18 root ls -l
2017 2020-08-30 11:41:20 root cd _posts/
2018 2020-08-30 11:41:23 root ls -l
2019 2020-08-30 11:42:29 root hexo g && hexo s
2020 2020-08-30 11:42:47 root cd ../..
2021 2020-08-30 11:42:50 root ls -l
2022 2020-08-30 11:42:54 root hexo g && hexo s
2023 2020-08-30 11:43:40 root cat config.js
2024 2020-08-30 11:44:32 root ls -l
2025 2020-08-30 11:44:47 root hexo g && hexo s
2026 2020-08-30 11:45:10 root hexo
2027 2020-08-30 11:45:47 root source /etc/profile
2028 2020-08-30 11:45:49 root hexo
2029 2020-08-30 11:47:41 root hexo g && hexo s
2030 2020-08-30 11:48:06 root ls -l
2031 2020-08-30 11:48:12 root cat yuque.json
2032 2020-08-30 11:48:49 root ls -l
2033 2020-08-30 11:48:53 root cat package.json
2034 2020-08-30 11:50:25 root hexo g && hexo s
2035 2020-08-30 11:50:33 root cd /
2036 2020-08-30 11:50:35 root hexo g && hexo s
2037 2020-08-30 11:55:56 root hexo g && hexo s
2038 2020-08-30 11:56:33 root top
2039 2020-08-30 11:58:48 root hexo g && hexo s
2040 2020-08-30 11:59:11 root hexo help
2041 2020-08-30 11:59:35 root hexo
2042 2020-08-30 11:59:42 root hexo -v
2043 2020-08-30 12:00:13 root top
2044 2020-08-30 12:04:38 root pwd
2045 2020-08-30 12:04:42 root hexo s
2046 2020-08-30 12:04:51 root hexo server
2047 2020-08-30 12:05:08 root cd yuque-hexo
2048 2020-08-30 12:05:24 root hexo s
2049 2020-08-30 12:05:28 root hexo server
2050 2020-08-30 12:05:39 root ls -l
2051 2020-08-30 12:05:51 root hexo server
2052 2020-08-30 12:06:25 root rm -rf node_modules && npm install —force
2053 2020-08-30 12:07:07 root hexo server
2054 2020-08-30 12:07:29 root npm audit fix
2055 2020-08-30 12:07:57 root hexo server
2056 2020-08-30 12:08:18 root top
2057 2020-08-30 12:09:38 root npm install hexo —save
2058 2020-08-30 12:10:14 root hexo server
2059 2020-08-30 12:10:24 root ls -l
2060 2020-08-30 12:10:45 root hexo g && hexo s
2061 2020-08-30 12:13:08 root top
2062 2020-08-30 12:13:35 root npm install -g hexo-cli
2063 2020-08-30 12:13:48 root hexo g && hexo s
2064 2020-08-30 12:13:57 root top
2065 2020-08-30 12:15:04 root npm install hexo-deployer-git —save
2066 2020-08-30 12:15:48 root hexo clean && hexo g && hexo deploy
2067 2020-08-30 12:15:59 root ls -l
2068 2020-08-30 12:16:22 root hexo g && hexo s
2069 2020-08-30 12:16:53 root hexo generate && hexo server
2070 2020-08-30 12:18:04 root npm install hexo-deployer-git —save
2071 2020-08-30 12:18:20 root hexo generate && hexo server
2072 2020-08-30 12:19:09 root hexo g && hexo s
2073 2020-08-30 12:19:13 root git config —list
2074 2020-08-30 12:19:49 root git config —global user.email “**@163.com”
2075 2020-08-30 12:19:51 root git config —list
2076 2020-08-30 12:20:25 root ls -l
2077 2020-08-30 12:20:37 root vi config.js
2078 2020-08-30 12:21:56 root hexo deploy
2079 2020-08-30 12:23:56 root top
2080 2020-08-30 12:26:56 root ls -l
2081 2020-08-30 12:27:03 root cd source/_posts/
2082 2020-08-30 12:27:06 root ll
2083 2020-08-30 12:27:14 root cat bfeage.md
2084 2020-08-30 12:27:22 root ll
2085 2020-08-30 12:27:25 root ls -l
2086 2020-08-30 12:27:48 root npm i -g yuque-hexo
2087 2020-08-30 12:28:34 root ls -l
2088 2020-08-30 12:28:37 root cd -
2089 2020-08-30 12:28:40 root ls -l
2090 2020-08-30 12:28:45 root cd node_modules/
2091 2020-08-30 12:28:48 root ll
2092 2020-08-30 12:29:02 root cd ..
2093 2020-08-30 12:29:04 root ls -l
2094 2020-08-30 12:29:24 root hexo
2095 2020-08-30 13:01:16 root cd yuque-hexo
2096 2020-08-30 13:01:18 root ls -l
2097 2020-08-30 13:01:29 root git diff
2098 2020-08-30 13:01:56 root ls -ltr\
2099 2020-08-30 13:02:00 root ls -ltr
2100 2020-08-30 13:02:15 root hexo
2101 2020-08-30 12:52:23 root git remote add origin https://github.com/future1314/yqblog.git
2102 2020-08-30 12:52:26 root cd yuque-hexo
2103 2020-08-30 12:52:28 root ls -l
2104 2020-08-30 12:52:32 root top
2105 2020-08-30 12:53:43 root npm install -g hexo
2106 2020-08-30 12:54:04 root ls -l
2107 2020-08-30 12:54:31 root hexo init
2108 2020-08-30 12:55:08 root ls -l
2109 2020-08-30 12:55:17 root cd public/
2110 2020-08-30 12:55:19 root ls -l
2111 2020-08-30 12:55:23 root cd ..
2112 2020-08-30 13:42:54 root cd yuque-hexo
2113 2020-08-30 13:43:00 root git remote -vv
2114 2020-08-30 13:43:16 root top
2115 2020-08-30 13:46:09 root pwd
2116 2020-08-30 13:46:13 root hexo
2117 2020-08-30 13:46:26 root which hexo
2118 2020-08-30 13:46:35 root ls -l
2119 2020-08-30 13:46:39 root cd node_modules/
2120 2020-08-30 13:46:43 root ls -l
2121 2020-08-30 13:46:49 root ls -l h
2122 2020-08-30 13:46:52 root ls -l h
2123 2020-08-30 13:47:13 root ll
2124 2020-08-30 13:47:21 root cd ..
2125 2020-08-30 13:47:27 root cd bin/
2126 2020-08-30 13:47:29 root ls -l
2127 2020-08-30 13:47:52 root cd ..
2128 2020-08-30 13:48:02 root git push -u origi2n master
2129 2020-08-30 13:49:14 root git add .
2130 2020-08-30 13:49:38 root git commit -m “update”
2131 2020-08-30 13:50:04 root cat package.json
2132 2020-08-30 13:50:13 root git commit -m “update”
2133 2020-08-30 13:50:25 root git push -u origi2n master
2134 2020-08-30 13:50:59 root git diff
2135 2020-08-30 13:51:09 root git pull
2136 2020-08-30 13:53:25 root git push -u origi2n master
2137 2020-08-30 13:54:14 root git diff
2138 2020-08-30 16:34:20 root cd h
2139 2020-08-30 16:34:29 root cd blog/
2140 2020-08-30 16:34:31 root ls -ltr
2141 2020-08-30 16:34:41 root vi package.json
2142 2020-08-30 16:38:49 root cat package.json
2143 2020-08-30 16:40:20 root vi package.json
2144 2020-08-30 16:41:15 root ls -l
2145 2020-08-30 16:42:54 root top
2146 2020-08-30 16:43:42 root histyory
2147 2020-08-30 16:43:46 root history
[root@hecs-x-medium-2-linux-20200322093022 blog]#
hexo init foderName
[root@hecs-x-medium-2-linux-20200322093022 blog]# ls -l
总用量 80
-rw-r—r— 1 root root 2441 8月 30 16:16 _config.yml
drwxr-xr-x 162 root root 4096 8月 30 16:17 node_modules
-rw-r—r— 1 root root 1070 8月 30 16:40 package.json
-rw-r—r— 1 root root 55016 8月 30 16:17 package-lock.json
drwxr-xr-x 2 root root 4096 8月 30 16:16 scaffolds
drwxr-xr-x 3 root root 4096 8月 30 16:16 source
drwxr-xr-x 3 root root 4096 8月 30 16:16 themes
[root@hecs-x-medium-2-linux-20200322093022 blog]#
[root@hecs-x-medium-2-linux-20200322093022 blog]#
[root@hecs-x-medium-2-linux-20200322093022 blog]# npm install
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.3 (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {“os”:”darwin”,”arch”:”any”} (current: {“os”:”linux”,”arch”:”x64”})
added 225 packages from 160 contributors and audited 409 packages in 11.415s
10 packages are looking for funding
run npm fund
for details
found 2 low severity vulnerabilities
run npm audit fix
to fix them, or npm audit
for details
[root@hecs-x-medium-2-linux-20200322093022 blog]# ls -l
总用量 156
-rw-r—r— 1 root root 2441 8月 30 16:16 _config.yml
drwxr-xr-x 313 root root 12288 8月 30 16:44 node_modules
-rw-r—r— 1 root root 1068 8月 30 16:44 package.json
-rw-r—r— 1 root root 124126 8月 30 16:44 package-lock.json
drwxr-xr-x 2 root root 4096 8月 30 16:16 scaffolds
drwxr-xr-x 3 root root 4096 8月 30 16:16 source
drwxr-xr-x 3 root root 4096 8月 30 16:16 themes
[root@hecs-x-medium-2-linux-20200322093022 blog]# tree .
-bash: tree: 未找到命令
[root@hecs-x-medium-2-linux-20200322093022 blog]# cat _config.yml
# Hexo Configuration
## Docs: https://hexo.io/docs/configuration.html
## Source: https://github.com/hexojs/hexo/
Site
title: Hexo
subtitle: ‘’
description: ‘’
keywords:
author: John Doe
language: en
timezone: ‘’
URL
## If your site is put in a subdirectory, set url as ‘http://yoursite.com/child‘ and root as ‘/child/‘
url: http://yoursite.com
root: /
permalink: :year/:month/:day/:title/
permalink_defaults:
pretty_urls:
trailing_index: true # Set to false to remove trailing ‘index.html’ from permalinks
trailing_html: true # Set to false to remove trailing ‘.html’ from permalinks
Directory
source_dir: source
public_dir: public
tag_dir: tags
archive_dir: archives
category_dir: categories
code_dir: downloads/code
i18n_dir: :lang
skip_render:
Writing
new_post_name: :title.md # File name of new posts
default_layout: post
titlecase: false # Transform title into titlecase
external_link:
enable: true # Open external links in new tab
field: site # Apply to the whole site
exclude: ‘’
filename_case: 0
render_drafts: false
post_asset_folder: false
relative_link: false
future: true
highlight:
enable: true
line_number: true
auto_detect: false
tab_replace: ‘’
wrap: true
hljs: false
prismjs:
enable: false
preprocess: true
line_number: true
tab_replace: ‘’
Home page setting
# path: Root path for your blogs index page. (default = ‘’)
# per_page: Posts displayed per page. (0 = disable pagination)
# order_by: Posts order. (Order by date descending by default)
index_generator:
path: ‘’
per_page: 10
order_by: -date
Category & Tag
default_category: uncategorized
category_map:
tag_map:
Metadata elements
## https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta
meta_generator: true
Date / Time format
## Hexo uses Moment.js to parse and display date
## You can customize the date format as defined in
## http://momentjs.com/docs/#/displaying/format/
date_format: YYYY-MM-DD
time_format: HH:mm:ss
## updated_option supports ‘mtime’, ‘date’, ‘empty’
updated_option: ‘mtime’
Pagination
## Set per_page to 0 to disable pagination
per_page: 10
pagination_dir: page
Include / Exclude file(s)
## include:/exclude: options only apply to the ‘source/‘ folder
include:
exclude:
ignore:
Extensions
## Plugins: https://hexo.io/plugins/
## Themes: https://hexo.io/themes/
theme: landscape
Deployment
## Docs: https://hexo.io/docs/one-command-deployment
deploy:
type: ‘’
# Hexo Configuration
## Docs: https://hexo.io/docs/configuration.html
## Source: https://github.com/hexojs/hexo/
Site
title: Hexo
subtitle: ‘’
description: ‘’
keywords:
author: John Doe
language: en
timezone: ‘’
URL
## If your site is put in a subdirectory, set url as ‘http://yoursite.com/child‘ and root as ‘/child/‘
url: http://yoursite.com
root: /
permalink: :year/:month/:day/:title/
permalink_defaults:
pretty_urls:
trailing_index: true # Set to false to remove trailing ‘index.html’ from permalinks
trailing_html: true # Set to false to remove trailing ‘.html’ from permalinks
Directory
“_config.yml” 106L, 2441C
[root@hecs-x-medium-2-linux-20200322093022 blog]# npm install hexo-deployer-git —save
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.3 (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {“os”:”darwin”,”arch”:”any”} (current: {“os”:”linux”,”arch”:”x64”})
- hexo-deployer-git@2.1.0
added 28 packages from 336 contributors and audited 437 packages in 7.521s
10 packages are looking for funding
run npm fund
for details
found 3 low severity vulnerabilities
run npm audit fix
to fix them, or npm audit
for details
[root@hecs-x-medium-2-linux-20200322093022 blog]#
[root@hecs-x-medium-2-linux-20200322093022 blog]#
[root@hecs-x-medium-2-linux-20200322093022 blog]# ls -ltr
总用量 164
drwxr-xr-x 3 root root 4096 8月 30 16:16 source
drwxr-xr-x 2 root root 4096 8月 30 16:16 scaffolds
-rw-r—r— 1 root root 2441 8月 30 16:16 _config.yml
drwxr-xr-x 3 root root 4096 8月 30 16:16 themes
drwxr-xr-x 330 root root 12288 8月 30 16:47 node_modules
-rw-r—r— 1 root root 1103 8月 30 16:47 package.json
-rw-r—r— 1 root root 132199 8月 30 16:47 package-lock.json
[root@hecs-x-medium-2-linux-20200322093022 blog]# ls -l
总用量 164
-rw-r—r— 1 root root 2441 8月 30 16:16 _config.yml
drwxr-xr-x 330 root root 12288 8月 30 16:47 node_modules
-rw-r—r— 1 root root 1103 8月 30 16:47 package.json
-rw-r—r— 1 root root 132199 8月 30 16:47 package-lock.json
drwxr-xr-x 2 root root 4096 8月 30 16:16 scaffolds
drwxr-xr-x 3 root root 4096 8月 30 16:16 source
drwxr-xr-x 3 root root 4096 8月 30 16:16 themes
[root@hecs-x-medium-2-linux-20200322093022 blog]# vi _config.yml
[root@hecs-x-medium-2-linux-20200322093022 blog]# ls -ltr
总用量 164
drwxr-xr-x 3 root root 4096 8月 30 16:16 source
drwxr-xr-x 2 root root 4096 8月 30 16:16 scaffolds
drwxr-xr-x 3 root root 4096 8月 30 16:16 themes
drwxr-xr-x 330 root root 12288 8月 30 16:47 node_modules
-rw-r—r— 1 root root 1103 8月 30 16:47 package.json
-rw-r—r— 1 root root 132199 8月 30 16:47 package-lock.json
-rw-r—r— 1 root root 2522 8月 30 16:50 _config.yml
[root@hecs-x-medium-2-linux-20200322093022 blog]# ls -l
总用量 164
-rw-r—r— 1 root root 2522 8月 30 16:50 _config.yml
drwxr-xr-x 330 root root 12288 8月 30 16:47 node_modules
-rw-r—r— 1 root root 1103 8月 30 16:47 package.json
-rw-r—r— 1 root root 132199 8月 30 16:47 package-lock.json
drwxr-xr-x 2 root root 4096 8月 30 16:16 scaffolds
drwxr-xr-x 3 root root 4096 8月 30 16:16 source
drwxr-xr-x 3 root root 4096 8月 30 16:16 themes
[root@hecs-x-medium-2-linux-20200322093022 blog]# cat _config.yml
# Hexo Configuration
## Docs: https://hexo.io/docs/configuration.html
## Source: https://github.com/hexojs/hexo/
Site
title: Hexo
subtitle: ‘’
description: ‘’
keywords:
author: John Doe
language: en
timezone: ‘’
URL
## If your site is put in a subdirectory, set url as ‘http://yoursite.com/child‘ and root as ‘/child/‘
url: http://yoursite.com
root: /
permalink: :year/:month/:day/:title/
permalink_defaults:
pretty_urls:
trailing_index: true # Set to false to remove trailing ‘index.html’ from permalinks
trailing_html: true # Set to false to remove trailing ‘.html’ from permalinks
Directory
source_dir: source
public_dir: public
tag_dir: tags
archive_dir: archives
category_dir: categories
code_dir: downloads/code
i18n_dir: :lang
skip_render:
Writing
new_post_name: :title.md # File name of new posts
default_layout: post
titlecase: false # Transform title into titlecase
external_link:
enable: true # Open external links in new tab
field: site # Apply to the whole site
exclude: ‘’
filename_case: 0
render_drafts: false
post_asset_folder: false
relative_link: false
future: true
highlight:
enable: true
line_number: true
auto_detect: false
tab_replace: ‘’
wrap: true
hljs: false
prismjs:
enable: false
preprocess: true
line_number: true
tab_replace: ‘’
Home page setting
# path: Root path for your blogs index page. (default = ‘’)
# per_page: Posts displayed per page. (0 = disable pagination)
# order_by: Posts order. (Order by date descending by default)
index_generator:
path: ‘’
per_page: 10
order_by: -date
Category & Tag
default_category: uncategorized
category_map:
tag_map:
Metadata elements
## https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta
meta_generator: true
Date / Time format
## Hexo uses Moment.js to parse and display date
## You can customize the date format as defined in
## http://momentjs.com/docs/#/displaying/format/
date_format: YYYY-MM-DD
time_format: HH:mm:ss
## updated_option supports ‘mtime’, ‘date’, ‘empty’
updated_option: ‘mtime’
Pagination
## Set per_page to 0 to disable pagination
per_page: 10
pagination_dir: page
Include / Exclude file(s)
## include:/exclude: options only apply to the ‘source/‘ folder
include:
exclude:
ignore:
Extensions
## Plugins: https://hexo.io/plugins/
## Themes: https://hexo.io/themes/
theme: landscape
Deployment
## Docs: https://hexo.io/docs/one-command-deployment
deploy:
type: ‘git’
repo: git@github.com:future1314/future1314.github.io.git
branch: master
[root@hecs-x-medium-2-linux-20200322093022 blog]#
[root@hecs-x-medium-2-linux-20200322093022 blog]#
[root@hecs-x-medium-2-linux-20200322093022 blog]# hexo
INFO Validating config
Usage: hexo
Commands:
clean Remove generated files and cache.
config Get or set configurations.
deploy Deploy your website.
generate Generate static files.
help Get help on a command.
init Create a new Hexo folder.
list List the information of the site
migrate Migrate your site from other system to Hexo.
new Create a new post.
publish Moves a draft post from _drafts to _posts folder.
render Render files with renderer plugins.
server Start the server.
version Display version information.
Global Options:
—config Specify config file instead of using _config.yml
—cwd Specify the CWD
—debug Display all verbose messages in the terminal
—draft Display draft posts
—safe Disable all plugins and scripts
—silent Hide output on console
For more help, you can use ‘hexo help [command]’ for the detailed information
or you can check the docs: http://hexo.io/docs/
[root@hecs-x-medium-2-linux-20200322093022 blog]# hexo g & hexo d
[1] 4339
INFO Validating config
INFO Validating config
INFO Start processing
INFO Start processing
INFO Files loaded in 463 ms
INFO Files loaded in 533 ms
INFO Generated: archives/index.html
INFO Generated: archives/2020/index.html
INFO Generated: archives/2020/08/index.html
INFO Generated: index.html
INFO Generated: fancybox/helpers/fancybox_buttons.png
INFO Generated: fancybox/blank.gif
INFO Generated: fancybox/fancybox_loading.gif
INFO Generated: fancybox/fancybox_loading@2x.gif
INFO Generated: fancybox/fancybox_overlay.png
INFO Generated: fancybox/fancybox_sprite.png
INFO Generated: fancybox/fancybox_sprite@2x.png
INFO Generated: js/script.js
INFO Generated: fancybox/jquery.fancybox.css
INFO Generated: fancybox/helpers/jquery.fancybox-buttons.css
INFO Generated: fancybox/helpers/jquery.fancybox-buttons.js
INFO Generated: fancybox/helpers/jquery.fancybox-media.js
INFO Generated: fancybox/helpers/jquery.fancybox-thumbs.css
INFO Generated: fancybox/helpers/jquery.fancybox-thumbs.js
INFO Generated: css/fonts/FontAwesome.otf
INFO Generated: css/style.css
INFO Generated: fancybox/jquery.fancybox.pack.js
INFO Generated: 2020/08/30/hello-world/index.html
INFO Generated: css/fonts/fontawesome-webfont.ttf
INFO Generated: css/fonts/fontawesome-webfont.eot
INFO Generated: css/fonts/fontawesome-webfont.woff
INFO Generated: fancybox/jquery.fancybox.js
INFO Generated: css/images/banner.jpg
INFO Generated: css/fonts/fontawesome-webfont.svg
INFO 28 files generated in 1.71 s
INFO Generated: fancybox/blank.gif
INFO Generated: archives/index.html
INFO Generated: archives/2020/index.html
INFO Generated: archives/2020/08/index.html
INFO Generated: index.html
INFO Generated: fancybox/fancybox_loading.gif
INFO Generated: fancybox/fancybox_loading@2x.gif
INFO Generated: fancybox/fancybox_overlay.png
INFO Generated: fancybox/fancybox_sprite.png
INFO Generated: fancybox/fancybox_sprite@2x.png
INFO Generated: fancybox/helpers/fancybox_buttons.png
INFO Generated: css/fonts/fontawesome-webfont.woff
INFO Generated: fancybox/jquery.fancybox.css
INFO Generated: js/script.js
INFO Generated: fancybox/helpers/jquery.fancybox-buttons.css
INFO Generated: fancybox/helpers/jquery.fancybox-buttons.js
INFO Generated: fancybox/helpers/jquery.fancybox-media.js
INFO Generated: fancybox/helpers/jquery.fancybox-thumbs.css
INFO Generated: fancybox/helpers/jquery.fancybox-thumbs.js
INFO Generated: css/fonts/FontAwesome.otf
INFO Generated: css/fonts/fontawesome-webfont.eot
INFO Generated: css/style.css
INFO Generated: fancybox/jquery.fancybox.pack.js
INFO Generated: css/fonts/fontawesome-webfont.ttf
INFO Generated: fancybox/jquery.fancybox.js
INFO Generated: 2020/08/30/hello-world/index.html
INFO Generated: css/fonts/fontawesome-webfont.svg
INFO Generated: css/images/banner.jpg
INFO 28 files generated in 1.71 s
INFO Deploying: git
INFO Setting up Git deployment…
初始化空的 Git 版本库于 /root/blog/.deploy_git/.git/
[master(根提交) 94cc63f] First commit
1 file changed, 0 insertions(+), 0 deletions(-)
create mode 100644 placeholder
INFO Clearing .deploy_git folder…
INFO Copying files from public folder…
INFO Copying files from extend dirs…
[master b839331] Site updated: 2020-08-30 16:51:33
29 files changed, 5825 insertions(+)
create mode 100644 2020/08/30/hello-world/index.html
create mode 100644 archives/2020/08/index.html
create mode 100644 archives/2020/index.html
create mode 100644 archives/index.html
create mode 100644 css/fonts/FontAwesome.otf
create mode 100644 css/fonts/fontawesome-webfont.eot
create mode 100644 css/fonts/fontawesome-webfont.svg
create mode 100644 css/fonts/fontawesome-webfont.ttf
create mode 100644 css/fonts/fontawesome-webfont.woff
create mode 100644 css/images/banner.jpg
create mode 100644 css/style.css
create mode 100644 fancybox/blank.gif
create mode 100644 fancybox/fancybox_loading.gif
create mode 100644 fancybox/fancybox_loading@2x.gif
create mode 100644 fancybox/fancybox_overlay.png
create mode 100644 fancybox/fancybox_sprite.png
create mode 100644 fancybox/fancybox_sprite@2x.png
create mode 100644 fancybox/helpers/fancybox_buttons.png
create mode 100644 fancybox/helpers/jquery.fancybox-buttons.css
create mode 100644 fancybox/helpers/jquery.fancybox-buttons.js
create mode 100644 fancybox/helpers/jquery.fancybox-media.js
create mode 100644 fancybox/helpers/jquery.fancybox-thumbs.css
create mode 100644 fancybox/helpers/jquery.fancybox-thumbs.js
create mode 100644 fancybox/jquery.fancybox.css
create mode 100644 fancybox/jquery.fancybox.js
create mode 100644 fancybox/jquery.fancybox.pack.js
create mode 100644 index.html
create mode 100644 js/script.js
delete mode 100644 placeholder
Warning: Permanently added the RSA host key for IP address ‘13.229.188.59’ to the list of known hosts.
Counting objects: 46, done.
Compressing objects: 100% (36/36), done.
Writing objects: 100% (46/46), 507.64 KiB | 0 bytes/s, done.
Total 46 (delta 4), reused 0 (delta 0)
remote: Resolving deltas: 100% (4/4), done.
To git@github.com:future1314/future1314.github.io.git
+ aad9e4f…b839331 HEAD -> master (forced update)
分支 master 设置为跟踪来自 git@github.com:future1314/future1314.github.io.git 的远程分支 master。
INFO Deploy done: git
[1]+ 完成 hexo g
[root@hecs-x-medium-2-linux-20200322093022 blog]# top
top - 16:55:59 up 2 days, 23:02, 8 users, load average: 0.01, 0.08, 0.08
Tasks: 114 total, 1 running, 113 sleeping, 0 stopped, 0 zombie
%Cpu(s): 1.0 us, 0.7 sy, 0.0 ni, 98.3 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st
KiB Mem : 1881700 total, 194372 free, 1000260 used, 687068 buff/cache
KiB Swap: 1049596 total, 1049596 free, 0 used. 676568 avail Mem
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
2578 root 20 0 741600 8796 3344 S 0.3 0.5 6:36.58 hostguard
8903 root 20 0 473684 63452 5400 S 0.3 3.4 5:43.77 BT-Panel
1 root 20 0 125856 3780 2068 S 0.0 0.2 0:03.44 systemd
2 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kthreadd
4 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 kworker/0:0H
5 root 20 0 0 0 0 S 0.0 0.0 0:00.39 kworker/u2:0
6 root 20 0 0 0 0 S 0.0 0.0 0:03.24 ksoftirqd/0
7 root rt 0 0 0 0 S 0.0 0.0 0:00.00 migration/0
8 root 20 0 0 0 0 S 0.0 0.0 0:00.00 rcu_bh
9 root 20 0 0 0 0 S 0.0 0.0 0:40.40 rcu_sched
10 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 lru-add-drain
11 root rt 0 0 0 0 S 0.0 0.0 0:00.93 watchdog/0
13 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kdevtmpfs
14 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 netns
15 root 20 0 0 0 0 S 0.0 0.0 0:00.07 khungtaskd
16 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 writeback
17 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 kintegrityd
18 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 bioset
[root@hecs-x-medium-2-linux-20200322093022 blog]#
[root@hecs-x-medium-2-linux-20200322093022 blog]#
[root@hecs-x-medium-2-linux-20200322093022 blog]#
[root@hecs-x-medium-2-linux-20200322093022 blog]#
[root@hecs-x-medium-2-linux-20200322093022 blog]# hexo s
INFO Validating config
INFO Start processing
INFO Hexo is running at … . Press Ctrl+C to stop.
^CINFO Have a nice day 直接写hexo 会解析报错的。
[root@hecs-x-medium-2-linux-20200322093022 blog]# hexo s &
[1] 4440
[root@hecs-x-medium-2-linux-20200322093022 blog]# INFO Validating config
INFO Start processing
INFO Hexo is running at … . Press Ctrl+C to stop.
^C
[root@hecs-x-medium-2-linux-20200322093022 blog]# jps
1476 WrapperSimpleApp
4459 Jps
27788 halo-latest.jar
[root@hecs-x-medium-2-linux-20200322093022 blog]#
[root@hecs-x-medium-2-linux-20200322093022 blog]#
[root@hecs-x-medium-2-linux-20200322093022 blog]# ps
PID TTY TIME CMD
4084 pts/1 00:00:00 bash
4440 pts/1 00:00:02 node
4469 pts/1 00:00:00 ps
[root@hecs-x-medium-2-linux-20200322093022 blog]#
[root@hecs-x-medium-2-linux-20200322093022 blog]#
[root@hecs-x-medium-2-linux-20200322093022 blog]# ls -ltr
总用量 192
drwxr-xr-x 3 root root 4096 8月 30 16:16 source
drwxr-xr-x 2 root root 4096 8月 30 16:16 scaffolds
drwxr-xr-x 3 root root 4096 8月 30 16:16 themes
drwxr-xr-x 330 root root 12288 8月 30 16:47 node_modules
-rw-r—r— 1 root root 132199 8月 30 16:47 package-lock.json
-rw-r—r— 1 root root 2522 8月 30 16:50 _config.yml
-rw-r—r— 1 root root 1102 8月 30 16:51 package.json
drwxr-xr-x 7 root root 4096 8月 30 16:51 public
-rw-r—r— 1 root root 24567 8月 30 16:58 db.json
[root@hecs-x-medium-2-linux-20200322093022 blog]#
[root@hecs-x-medium-2-linux-20200322093022 blog]#
[root@hecs-x-medium-2-linux-20200322093022 blog]# git init
初始化空的 Git 版本库于 /root/blog/.git/
[root@hecs-x-medium-2-linux-20200322093022 blog]# git add .
[root@hecs-x-medium-2-linux-20200322093022 blog]# git commit -m “first commit-hexo init not yuque-hexo “
[master(根提交) f22dc77] first commit-hexo init not yuque-hexo
93 files changed, 9286 insertions(+)
create mode 100644 .gitignore
create mode 100644 _config.yml
create mode 100644 package-lock.json
create mode 100644 package.json
create mode 100644 scaffolds/draft.md
create mode 100644 scaffolds/page.md
create mode 100644 scaffolds/post.md
create mode 100644 source/_posts/hello-world.md
create mode 100644 themes/landscape/.gitignore
create mode 100644 themes/landscape/Gruntfile.js
create mode 100644 themes/landscape/LICENSE
create mode 100644 themes/landscape/README.md
create mode 100644 themes/landscape/_config.yml
create mode 100644 themes/landscape/languages/de.yml
create mode 100644 themes/landscape/languages/default.yml
create mode 100644 themes/landscape/languages/es.yml
create mode 100644 themes/landscape/languages/fr.yml
create mode 100644 themes/landscape/languages/ja.yml
create mode 100644 themes/landscape/languages/ko.yml
create mode 100644 themes/landscape/languages/nl.yml
create mode 100644 themes/landscape/languages/no.yml
create mode 100644 themes/landscape/languages/pt.yml
create mode 100644 themes/landscape/languages/ru.yml
create mode 100644 themes/landscape/languages/zh-CN.yml
create mode 100644 themes/landscape/languages/zh-TW.yml
create mode 100644 themes/landscape/layout/_partial/after-footer.ejs
create mode 100644 themes/landscape/layout/_partial/archive-post.ejs
create mode 100644 themes/landscape/layout/_partial/archive.ejs
create mode 100644 themes/landscape/layout/_partial/article.ejs
create mode 100644 themes/landscape/layout/_partial/footer.ejs
create mode 100644 themes/landscape/layout/_partial/gauges-analytics.ejs
create mode 100644 themes/landscape/layout/_partial/google-analytics.ejs
create mode 100644 themes/landscape/layout/_partial/head.ejs
create mode 100644 themes/landscape/layout/_partial/header.ejs
create mode 100644 themes/landscape/layout/_partial/mobile-nav.ejs
create mode 100644 themes/landscape/layout/_partial/post/category.ejs
create mode 100644 themes/landscape/layout/_partial/post/date.ejs
create mode 100644 themes/landscape/layout/_partial/post/gallery.ejs
create mode 100644 themes/landscape/layout/_partial/post/nav.ejs
create mode 100644 themes/landscape/layout/_partial/post/tag.ejs
create mode 100644 themes/landscape/layout/_partial/post/title.ejs
create mode 100644 themes/landscape/layout/_partial/sidebar.ejs
create mode 100644 themes/landscape/layout/_widget/archive.ejs
create mode 100644 themes/landscape/layout/_widget/category.ejs
create mode 100644 themes/landscape/layout/_widget/recent_posts.ejs
create mode 100644 themes/landscape/layout/_widget/tag.ejs
create mode 100644 themes/landscape/layout/_widget/tagcloud.ejs
create mode 100644 themes/landscape/layout/archive.ejs
create mode 100644 themes/landscape/layout/category.ejs
create mode 100644 themes/landscape/layout/index.ejs
create mode 100644 themes/landscape/layout/layout.ejs
create mode 100644 themes/landscape/layout/page.ejs
create mode 100644 themes/landscape/layout/post.ejs
create mode 100644 themes/landscape/layout/tag.ejs
create mode 100644 themes/landscape/package.json
create mode 100644 themes/landscape/scripts/fancybox.js
create mode 100644 themes/landscape/source/css/_extend.styl
create mode 100644 themes/landscape/source/css/_partial/archive.styl
create mode 100644 themes/landscape/source/css/_partial/article.styl
create mode 100644 themes/landscape/source/css/_partial/comment.styl
create mode 100644 themes/landscape/source/css/_partial/footer.styl
create mode 100644 themes/landscape/source/css/_partial/header.styl
create mode 100644 themes/landscape/source/css/_partial/highlight.styl
create mode 100644 themes/landscape/source/css/_partial/mobile.styl
create mode 100644 themes/landscape/source/css/_partial/sidebar-aside.styl
create mode 100644 themes/landscape/source/css/_partial/sidebar-bottom.styl
create mode 100644 themes/landscape/source/css/_partial/sidebar.styl
create mode 100644 themes/landscape/source/css/_util/grid.styl
create mode 100644 themes/landscape/source/css/_util/mixin.styl
create mode 100644 themes/landscape/source/css/_variables.styl
create mode 100644 themes/landscape/source/css/fonts/FontAwesome.otf
create mode 100644 themes/landscape/source/css/fonts/fontawesome-webfont.eot
create mode 100644 themes/landscape/source/css/fonts/fontawesome-webfont.svg
create mode 100644 themes/landscape/source/css/fonts/fontawesome-webfont.ttf
create mode 100644 themes/landscape/source/css/fonts/fontawesome-webfont.woff
create mode 100644 themes/landscape/source/css/images/banner.jpg
create mode 100644 themes/landscape/source/css/style.styl
create mode 100644 themes/landscape/source/fancybox/blank.gif
create mode 100644 themes/landscape/source/fancybox/fancybox_loading.gif
create mode 100644 themes/landscape/source/fancybox/fancybox_loading@2x.gif
create mode 100644 themes/landscape/source/fancybox/fancybox_overlay.png
create mode 100644 themes/landscape/source/fancybox/fancybox_sprite.png
create mode 100644 themes/landscape/source/fancybox/fancybox_sprite@2x.png
create mode 100644 themes/landscape/source/fancybox/helpers/fancybox_buttons.png
create mode 100644 themes/landscape/source/fancybox/helpers/jquery.fancybox-buttons.css
create mode 100644 themes/landscape/source/fancybox/helpers/jquery.fancybox-buttons.js
create mode 100644 themes/landscape/source/fancybox/helpers/jquery.fancybox-media.js
create mode 100644 themes/landscape/source/fancybox/helpers/jquery.fancybox-thumbs.css
create mode 100644 themes/landscape/source/fancybox/helpers/jquery.fancybox-thumbs.js
create mode 100644 themes/landscape/source/fancybox/jquery.fancybox.css
create mode 100644 themes/landscape/source/fancybox/jquery.fancybox.js
create mode 100644 themes/landscape/source/fancybox/jquery.fancybox.pack.js
create mode 100644 themes/landscape/source/js/script.js
[root@hecs-x-medium-2-linux-20200322093022 blog]#
[root@hecs-x-medium-2-linux-20200322093022 blog]# git remote add origin https://github.com/future1314/blog.git
[root@hecs-x-medium-2-linux-20200322093022 blog]# git push -u origin master
Username for ‘https://github.com‘: future1314
Password for ‘https://future1314@github.com‘:
To https://github.com/future1314/blog.git
! [rejected] master -> master (fetch first)
error: 无法推送一些引用到 ‘https://github.com/future1314/blog.git‘
提示:更新被拒绝,因为远程版本库包含您本地尚不存在的提交。这通常是因为另外
提示:一个版本库已推送了相同的引用。再次推送前,您可能需要先合并远程变更
提示:(如 ‘git pull’)。
提示:详见 ‘git push —help’ 中的 ‘Note about fast-forwards’ 小节。
[root@hecs-x-medium-2-linux-20200322093022 blog]#
[root@hecs-x-medium-2-linux-20200322093022 blog]# git diff
[root@hecs-x-medium-2-linux-20200322093022 blog]# git stash pop
未发现 stash。
[root@hecs-x-medium-2-linux-20200322093022 blog]# git pull
Username for ‘https://github.com‘: future1314
Password for ‘https://future1314@github.com‘:
warning: no common commits
remote: Enumerating objects: 13, done.
remote: Counting objects: 100% (13/13), done.
remote: Compressing objects: 100% (8/8), done.
remote: Total 13 (delta 0), reused 0 (delta 0), pack-reused 0
Unpacking objects: 100% (13/13), done.
来自 https://github.com/future1314/blog
* [新分支] master -> origin/master
There is no tracking information for the current branch.
Please specify which branch you want to merge with.
See git-pull(1) for details
git pull <remote> <branch>
If you wish to set tracking information for this branch you can do so with:
git branch --set-upstream-to=origin/<branch> master
[root@hecs-x-medium-2-linux-20200322093022 blog]# git stash pop
未发现 stash。
[root@hecs-x-medium-2-linux-20200322093022 blog]# git push -u origin master
Username for ‘https://github.com‘: future1314
Password for ‘https://future1314@github.com‘:
To https://github.com/future1314/blog.git
! [rejected] master -> master (non-fast-forward)
error: 无法推送一些引用到 ‘https://github.com/future1314/blog.git‘
提示:更新被拒绝,因为您当前分支的最新提交落后于其对应的远程分支。
提示:再次推送前,先与远程变更合并(如 ‘git pull’)。详见
提示:’git push —help’ 中的 ‘Note about fast-forwards’ 小节。
[root@hecs-x-medium-2-linux-20200322093022 blog]# git merge
fatal: 未指定提交并且 merge.defaultToUpstream 未设置。
[root@hecs-x-medium-2-linux-20200322093022 blog]# git diff
[root@hecs-x-medium-2-linux-20200322093022 blog]# git merge master
Already up-to-date.
[root@hecs-x-medium-2-linux-20200322093022 blog]# git push -u origin master
Username for ‘https://github.com‘: future1314
Password for ‘https://future1314@github.com‘:
To https://github.com/future1314/blog.git
! [rejected] master -> master (non-fast-forward)
error: 无法推送一些引用到 ‘https://github.com/future1314/blog.git‘
提示:更新被拒绝,因为您当前分支的最新提交落后于其对应的远程分支。
提示:再次推送前,先与远程变更合并(如 ‘git pull’)。详见
提示:’git push —help’ 中的 ‘Note about fast-forwards’ 小节。
[root@hecs-x-medium-2-linux-20200322093022 blog]#
[root@hecs-x-medium-2-linux-20200322093022 blog]#
[root@hecs-x-medium-2-linux-20200322093022 blog]# ls -ltr
总用量 192
drwxr-xr-x 3 root root 4096 8月 30 16:16 source
drwxr-xr-x 2 root root 4096 8月 30 16:16 scaffolds
drwxr-xr-x 3 root root 4096 8月 30 16:16 themes
drwxr-xr-x 330 root root 12288 8月 30 16:47 node_modules
-rw-r—r— 1 root root 132199 8月 30 16:47 package-lock.json
-rw-r—r— 1 root root 2522 8月 30 16:50 _config.yml
-rw-r—r— 1 root root 1102 8月 30 16:51 package.json
drwxr-xr-x 7 root root 4096 8月 30 16:51 public
-rw-r—r— 1 root root 24567 8月 30 16:58 db.json
[root@hecs-x-medium-2-linux-20200322093022 blog]# cd p
-bash: cd: p: 没有那个文件或目录
[root@hecs-x-medium-2-linux-20200322093022 blog]# cd p
package.json package-lock.json public/
[root@hecs-x-medium-2-linux-20200322093022 blog]# cd pu
-bash: cd: pu: 没有那个文件或目录
[root@hecs-x-medium-2-linux-20200322093022 blog]# cd public/
[root@hecs-x-medium-2-linux-20200322093022 public]# ls -l
总用量 28
drwxr-xr-x 3 root root 4096 8月 30 16:51 2020
drwxr-xr-x 3 root root 4096 8月 30 16:51 archives
drwxr-xr-x 4 root root 4096 8月 30 16:51 css
drwxr-xr-x 3 root root 4096 8月 30 16:51 fancybox
-rw-r—r— 1 root root 6689 8月 30 16:51 index.html
drwxr-xr-x 2 root root 4096 8月 30 16:51 js
[root@hecs-x-medium-2-linux-20200322093022 public]# pwd
/root/blog/public
[root@hecs-x-medium-2-linux-20200322093022 public]#
[root@hecs-x-medium-2-linux-20200322093022 public]#
[root@hecs-x-medium-2-linux-20200322093022 public]# git fetch origin
Username for ‘https://github.com‘: future1314
Password for ‘https://future1314@github.com‘:
[root@hecs-x-medium-2-linux-20200322093022 public]#
[root@hecs-x-medium-2-linux-20200322093022 public]# git diff
[root@hecs-x-medium-2-linux-20200322093022 public]# git merge origin/master
Merge made by the ‘recursive’ strategy.
.github/workflows/blog.yml | 43 +++++++++++++++++++++++++++++++++++++++++++
.github/workflows/main.yml | 33 +++++++++++++++++++++++++++++++++
README.md | 1 +
3 files changed, 77 insertions(+)
create mode 100644 .github/workflows/blog.yml
create mode 100644 .github/workflows/main.yml
create mode 100644 README.md
[root@hecs-x-medium-2-linux-20200322093022 public]#
[root@hecs-x-medium-2-linux-20200322093022 public]# git diff
[root@hecs-x-medium-2-linux-20200322093022 public]# **git push -u origin master
Username for ‘https://github.com‘: future1314
Password for ‘https://future1314@github.com':**
Counting objects: 117, done.
Compressing objects: 100% (106/106), done.
Writing objects: 100% (116/116), 558.06 KiB | 0 bytes/s, done.
Total 116 (delta 2), reused 0 (delta 0)
remote: Resolving deltas: 100% (2/2), done.
To https://github.com/future1314/blog.git
3fd7db5..dfba4e6 master -> master
分支 master 设置为跟踪来自 origin 的远程分支 master。
[root@hecs-x-medium-2-linux-20200322093022 public]#
[root@hecs-x-medium-2-linux-20200322093022 public]#