Peiyuan Qi

To Infinity and Beyond

  • Home
  • Blog
  • Topic
  • Story
  • Tech
Archive Find More

Peiyuan Qi

To Infinity and Beyond

  • Home
  • Blog
  • Topic
  • Story
  • Tech

”当好人袖手旁观时,邪恶就会胜利“

2015-12-04

近来看了一本亚马逊的网播剧,The Man in the High Castle,想来也是高考以后除了GOT看的唯一一本美剧了,为其质量感叹的同时也决定为其做一个小评。额评论也称不上,毕竟是没有看过萝卜忑之卖基的故事,不过这书中文版已然买了许久让其积灰多月,自然也应该让我沾了些许评论的灵气吧。。 more >>

  • Humanity
  • Movies
  • Sci-Fi
  • Society
  • Topic

VIEW THE POST >>

We Are Still Pioneers

2015-08-14

2014.11

2015.10.16 Updated

在Discrete考试之前又温习了一遍。。

感觉最害怕的还是那种大家都放弃了的感觉。电影的设定背景其实离现在很远,但是经历科技爆炸之后,人们却迎来了科技退步,于是八十年代美国乡村风光让人感到一种就在现在的亲切感。。更是令人感到害怕。

有的时候明知道要失败,那是否还要继续斗争下去,还是go gentle into that night呢? more >>

  • Movies
  • Interstellar
  • Topic

VIEW THE POST >>

How to Set WordPress on Your Own VPS

2015-08-12

 

Since this is my first post, so I would like to write something for WordPress.

First, I assume you have an ubuntu 14.04 on your vps.

Then under the guideline in Initial Server Setup with Ubuntu 14.04 and then the guideline in How To Install Linux, Apache, MySQL, PHP (LAMP) stack on Ubuntu 14.04 and then How To Install Wordpress on Ubuntu 14.04.

Quite easy right?

But you may find that you cannot update or download things on WordPress.

So second you need to change the permission of your web server:

sudo chown -R www-data:www-data your-wordpress-directory

and then you can do anything you want on WordPress!

 

However, your friends might complain that they cannot receive the registration email from your blog. The reason is that you do not set the mail server on your VPS.

Here is an easy way for you to send registration emails from your VPS without doing some tedious things if you just want your WordPress can send out emails.

Just Go To Plugins and add a SMTP setting plugin. QUITE EASY RIGHT?

For the recommendation, I use Configure SMTP right now.

 

P.S. if you do not want the link of the WordPress be directly your IP, then you can create sub-folder under the initial folder (for me it is /var/www/html)

  • WordPress
  • Tech

VIEW THE POST >>

« Prev1…678
© 2021 Peiyuan Qi
Hexo Theme Yilia by Litten
  • Archive
  • Find More

tag:

  • 读书笔记
  • Distributed Systems
  • cpp
  • Programing Language
  • Belief Propagation
  • 场景描写
  • 想法
  • 年度展望
  • 年度总结
  • VPS
  • Internet
  • Design Patterns
  • History
  • The Italian Wars
  • Data Structure
  • Algorithm
  • Computer Graphics
  • JOS
  • OS
  • Hackthon
  • Datathon
  • Computer Architecture
  • Computer System
  • iOS
  • macOS
  • swift3
  • WordPress
  • Git
  • Submodule
  • Objective Oriented
  • perl
  • perl module
  • Programming
  • Literature Notes
  • Java
  • Interview
  • MultipeerConnectivity
  • Swift
  • Open Source Mano
  • Google Cloud
  • Tutorial
  • PAKE
  • passwords
  • DBA
  • Percona
  • Quotation
  • Humanity
  • backlog
  • Network
  • socket
  • 大学
  • Tail Latency
  • 微信
  • 公众号
  • Spain
  • Flash Fiction
  • Writing Practice
  • Movies
  • Sci-Fi
  • Society
  • Scene
  • Play
  • 联邦党人文集
  • 架空世界
  • 加州
  • 枪法
  • 组装AR
  • 杂谈
  • Alternate History
  • 实习
  • 职业
  • gRPC
  • AWS EKS
  • 科研
  • 时代
  • 人物
  • 找工作
  • Interstellar
  • 契约
  • 道德
  • 合同

    缺失模块。
    1、请确保node版本大于6.2
    2、在博客根目录(注意不是yilia根目录)执行以下命令:
    npm i hexo-generator-json-content --save

    3、在根目录_config.yml里添加配置:

      jsonContent:
        meta: false
        pages: false
        posts:
          title: true
          date: true
          path: true
          text: false
          raw: false
          content: false
          slug: false
          updated: false
          comments: false
          link: false
          permalink: false
          excerpt: false
          categories: false
          tags: true
    

  • Subscribe Newsletters
  • Ticco's Website
  • Eugen's Website
  • WYM's Website
  • Ouyu's Website
  • Tripack's Blog
  • Nathan's Website
  • Walden's Blog
  • Wenxian's Blog
  • Alex's Website
  • Magry's Blog