怎样为WordPress更新设置权限

2018年5月8日 由 Amon 没有评论 »

首先,创建upgrade目录:

cd /usr/local/apache2/htdocs/wordpress/wp-content
mkdir upgrade
chmod -R 777 upgrade

然后设置权限:

chown -R apache.apache /usr/local/apache2/htdocs/wordpress/wp-content/plugins

参考:http://zctou.com/?p=1387

怎样让进程在后台运行

2018年4月21日 由 Amon 没有评论 »

参考:https://www.ibm.com/developerworks/cn/linux/l-cn-nohup/

需求:用 telnet/ssh 登录了远程的 Linux 服务器,如何让命令提交后不受本地关闭终端窗口/网络断开连接的干扰。

hangup 名称的来由:在 Unix 的早期版本中,每个终端都会通过 modem 和系统通讯。当用户 logout 时,modem 就会挂断(hang up)电话。 同理,当 modem 断开连接时,就会给终端发送 hangup 信号来通知其关闭所有子进程。

场景:如果只是临时有一个命令需要长时间运行,什么方法能最简便的保证它在后台稳定运行呢?

方法:当用户注销(logout)或者网络断开时,终端会收到 HUP(hangup)信号从而关闭其所有子进程。因此,我们的解决办法就有两种途径:要么让进程忽略 HUP 信号,要么让进程运行在新的会话里从而成为不属于此终端的子进程。

1. nohup

顾名思义,nohup 的用途就是让提交的命令忽略 hangup 信号。

“nohup – run a command immune to hangups, with output to a non-tty”

只需在要处理的命令前加上 nohup 即可,标准输出和标准错误缺省会被重定向到 nohup.out 文件中。可在结尾加上”&”来将命令同时放入后台运行,也可用”>filename 2>&1″来更改缺省的重定向文件名。

nohup ping www.ibm.com &

2. setsid

nohup 能通过忽略 HUP 信号来使进程避免中途被中断,如果进程不属于接受 HUP 信号的终端的子进程,那么也就不会受到 HUP 信号的影响。setsid 就能帮助做到这一点。

“setsid – run a program in a new session”

只需在要处理的命令前加上 setsid 即可。

setsid ping www.ibm.com

值得注意的是,上例中我们的进程 ID(PID)为31094,而它的父 ID(PPID)为1(即为 init 进程 ID),并不是当前终端的进程 ID。请将此例与nohup 例中的父 ID 做比较。

怎样制作一个数据库类网站

2018年4月21日 由 Amon 没有评论 »

【Database Application Platform v1.4.5】

Databased is a powerful database application platform. It allows you to turn a MySQL database into a beautiful and user-friendly online application. Use it to create online spreadsheets, maintain customer data, inventory data, sales data, etc.

官网:http://databasedapp.com/
演示:http://databasedapp.com/demo/
购买: http://codecanyon.net/item/database-application-platform/6957496

资源:https://scriptznull.nl/threads/database-application-platform-v1-4-5.32622/
资源:http://kings-theme.com/codecanyon-database-application-platform-v1-4-5/
下载:https://tusfiles.net/6w481y64ugwg

【Database Application Platform v1.4.5】

【PDO Crud v2.6 – Advanced PHP CRUD application (Database Management System)】

PDOCrud is an advance PHP based CRUD application. It supports Mysql, Pgsql and Sqlite database. You can use PDOCrud to generate both frontend and backend of your application. By writing just 2-3 lines of code only, you can perform insert/update/delete and select operation. You just to need to create object and call for render function for that table and everything will be generated automatically.

官网:http://pdocrud.com/
演示:http://pdocrud.com/demo/
购买:https://codecanyon.net/item/pdocrud-advanced-php-crud-application-database-management-system/17674879

资源:https://kingdomofsinces.com/download-codecanyon-pdo-crud-v2-6-advanced-php-crud-application-database-management-system-free/
下载:https://userscloud.com/qipm7x025ccn

怎样从GooglePlay直接下载到APK 文件

2018年4月20日 由 Amon 没有评论 »

有了APK Downloader,那就可以直接下载Google Play中的应用APK文件。

官网:http://apps.evozi.com/APK-downloader/

在输入框里填写Google Play的应用地址,回车之后就有直接下载的那绿色按钮。

另有2个镜像搜索引擎:

https://www.apkmirror.com
https://www.apklinker.com

网站: Zotero

2018年4月19日 由 Amon 没有评论 »

首页:https://www.zotero.org/

参考:http://dietsolutionforyou.org/zotero-or-citeulike-or-connotea-or-2collab-or-mekentosj-papers-or-endnote-alternative-or-refworks-alternative-or-refman-alternative-or-orbiomedexperts-com-or-academia-edu-or-epernicus-or-labmeeting-or/
参考:https://www.linux.com/news/zotero-seriously-useful-research-tool
参考:https://scholarlykitchen.sspnet.org/2013/01/24/mendeley-connotea-and-the-perils-of-free-services/

文档:http://webs.wofford.edu/whisnantdm/Training/Citations/Zotero.pdf

Slogan: Zotero – Your personal research assistant

Zotero is a free, easy-to-use tool to help you collect, organize, cite, and share research.

Available for Mac, Windows, and Linux

Collect with a click.

Zotero is the only software that automatically senses research on the web. Need an article from JSTOR or a preprint from arXiv.org? A news story from the New York Times or a book from a library? Zotero has you covered, everywhere.

Organize your way.

Zotero helps you organize your research any way you want. You can sort items into collections and tag them with keywords. Or create saved searches that automatically fill with relevant materials as you work.

Cite in style.

Zotero instantly creates references and bibliographies for any text editor, and directly inside Word and LibreOffice. With support for over 8,000 citation styles, you can format your work to match any style guide or publication.

Stay in sync.

Zotero can optionally synchronize your data across devices, keeping your notes, files, and bibliographic records seamlessly up to date. If you decide to sync, you can also always access your research from any web browser.

Collaborate freely.

Zotero lets you freely collaborate with fellow researchers and distribute class materials to your students. With no restrictions on membership, you can share your Zotero library in public or in private.

Ready to try Zotero?

Zotero is a project of the Corporation for Digital Scholarship and the Roy Rosenzweig Center for History and New Media. It was initially funded by the Andrew W. Mellon Foundation, the Institute of Museum and Library Services, and the Alfred P. Sloan Foundation.