• 欢迎访问db1024网站,推荐使用最新版火狐浏览器和Chrome浏览器访问本网站
  • 如果您觉得本站非常有看点,那么赶紧使用Ctrl+D 收藏db1024吧

Shiori:一个简单、美观且带Web界面的书签管理器

建站知识 Liam 8个月前 (11-13) 358次浏览 6个评论 扫描二维码
文章目录[隐藏]

说明:Shiori是一个用Go语言编写的简单书签管理器,样式直接模仿的Pocket,有着基本书签管理功能,即添加,编辑,删除和搜索。支持导入和导出成Netscape书签文件,也可以从Pocket导入书签。可以通过命令行操作,也自带简单而漂亮的Web界面,适合那些不想使用命令行的,也可以内页浏览书签首页,用起来还行,这里就分享下。

截图

Shiori:一个简单、美观且带Web界面的书签管理器
Shiori:一个简单、美观且带Web界面的书签管理器
Shiori:一个简单、美观且带Web界面的书签管理器

安装

Github地址:https://github.com/go-shiori/shiori

1、安装Docker

#CentOS 6 rpm -iUvh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm yum update -y yum -y install docker-io service docker start chkconfig docker on  #CentOS 7、Debian、Ubuntu curl -sSL https://get.docker.com/ | sh systemctl start docker systemctl enable docker 

2、拉取镜像

docker run -d --name shiori --restart=always -p 8080:8080 -v ~/shiori:/srv/shiori radhifadlillah/shiori 

安装好了后,访问地址:http://ip:8080,初始管理员用户名和密码为shiorigopher

如果CentOS系统打不开的话,可能还需要开启8080端口,使用命令:

#CentOS 6 iptables -I INPUT -p tcp --dport 8080 -j ACCEPT service iptables save service iptables restart  #CentOS 7 firewall-cmd --zone=public --add-port=8080/tcp --permanent firewall-cmd --reload 

像阿里云等服务器,还需要去安全组那里开放下端口。

最后你想绑定域名,那么就进行第3步,直接ip访问就不用绑定了。

3、绑定域名
安装Caddy

wget -N --no-check-certificate https://raw.githubusercontent.com/ToyoDAdoubiBackup/doubi/master/caddy_install.sh && chmod +x caddy_install.sh && bash caddy_install.sh #备用地址 wget -N --no-check-certificate https://www.moerats.com/usr/shell/Caddy/caddy_install.sh && chmod +x caddy_install.sh && bash caddy_install.sh 

配置Caddy

#以下全部内容是一个整体,请修改域名后一起复制到SSH运行!  #http访问,该配置不会自动签发SSL echo "www.moerats.com {  gzip  proxy / 127.0.0.1:8080 {     header_upstream Host {host}     header_upstream X-Real-IP {remote}     header_upstream X-Forwarded-For {remote}     header_upstream X-Forwarded-Port {server_port}     header_upstream X-Forwarded-Proto {scheme}   } }" > /usr/local/caddy/Caddyfile  #https访问,该配置会自动签发SSL,请提前解析域名到VPS服务器 echo "www.moerats.com {  gzip  tls [email protected]  proxy / 127.0.0.1:8080 {     header_upstream Host {host}     header_upstream X-Real-IP {remote}     header_upstream X-Forwarded-For {remote}     header_upstream X-Forwarded-Port {server_port}     header_upstream X-Forwarded-Proto {scheme}   } }" > /usr/local/caddy/Caddyfile 

tls参数会自动帮你签发ssl证书,如果你要使用自己的ssl,改为tls /root/xx.crt /root/xx.key即可,后面为ssl证书路径。

启动Caddy

/etc/init.d/caddy start 

就可以打开域名进行访问了。

最后由于没有修改管理员默认账号和用户名的地方,可以直接去设置处添加一个用户,那么该用户默认会成为管理员,此前的管理员会被停用。


db1024 , 版权所有丨如未注明 , 均为原创丨本网站采用BY-NC-SA协议进行授权
转载请注明原文链接:Shiori:一个简单、美观且带Web界面的书签管理器
喜欢 (1)
关于作者:
发表我的评论
取消评论
表情 贴图 加粗 删除线 居中 斜体 签到

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址
(6)个小伙伴在吐槽
  1. Thanks on your marvelous posting! I quite enjoyed reading it, you may be a great author. I will make certain to bookmark your blog and definitely will come back in the future. I want to encourage you to ultimately continue your great work, have a nice holiday weekend!
    cbd oil that works 20202020-06-29 12:48 (4天前)回复 Linux | Firefox浏览器 52.9
  2. Have you ever thought about writing an e-book or guest authoring on other sites? I have a blog centered on the same ideas you discuss and would love to have you share some stories/information. I know my audience would appreciate your work. If you're even remotely interested, feel free to shoot me an e-mail.
    web.xorg.cn2020-06-27 07:01 (7天前)回复 Linux | Firefox浏览器 52.9
  3. Thanks , I have just been searching for information approximately this topic for ages and yours is the greatest I have came upon so far. However, what concerning the conclusion? Are you positive about the supply?
    tinyurl.com2020-06-26 17:31 (1周前)回复 未知操作系统 | Chrome 40.0.2214.89
  4. I go to see daily some blogs and information sites to read posts, but this website offers quality based articles.
    rsacwgxy g2020-06-22 17:39 回复 Linux | Firefox浏览器 52.9
  5. Thanks so much for the post.Much thanks again. Really Cool.
    Assol2020-06-05 13:36 回复 Windows XP | Internet Explorer 6.0
  6. Thanks a lot for the article post.Much thanks again. Fantastic.
    Blyzes2020-06-05 13:36 回复 Windows XP | Internet Explorer 6.0