Category Archives: SYSTEM

ubuntu wordpress sqlite

sudo apt-get update
sudo apt-get upgrade -y
sudo apt-get install apache2 -y
sudo add-apt-repository ppa:ondrej/php
sudo apt update
sudo apt install php7.1-fpm php7.1-mcrypt php7.1-cli php7.1-xml php7.1-mysql php7.1-gd php7.1-imagick php7.1-recode php7.1-tidy php7.1-xmlrpc
sudo apt-get install libapache2-mod-php7.1
sudo apt-get install php7.1-sqlite3
wget https://wordpress.org/latest.tar.gz
wget https://downloads.wordpress.org/plugin/sqlite-integration.1.8.1.zip
tar xvfz ./latest.tar.gz
unzip ./sqlite-integration.1.8.1.zip
sudo mv wordpress /var/www/html/
sudo chown -R www-data:www-data /var/www/html/wordpress
mv wp-config-sample.php wp-config.php
mv sqlite-integration /var/lib/wordpress/wp-content/plugins/
mv /var/www/html/wordpress/wp-content/plugins/sqlite-integration/db.php /var/www/html/wordpress/wp-content/
sudo service apache2 restart
IP/wordpress #start installation

Complete Guide to Install Zotero on Ubuntu 18.04

This tutorial explains how to download and install Zotero Bibliography Tool on Ubuntu 18.04 with web browser Firefox “Quantum”. The new Firefox “Quantum” (v57 and later) is the reason why Zotero changed to be stand-alone program with its own window outside of Firefox. You will download Zotero manually, extract and setup it on your desktop menu, and then integrating it with Firefox and LibreOffice Writer. The whole steps are easy to follow for anyone. Finally, enjoy Zotero and happy researching! Continue reading Complete Guide to Install Zotero on Ubuntu 18.04

文献管理 on ubuntu and iPad

Zotero是开源、跨平台的文献管理工具,可以方便的收集,组织,引用,和共享文献的工具。
官网:https://www.zotero.org/
Zotero过去只是Firefox浏览器下的一款扩展(add-on),现在已经有了桌面版。
Zotero源代码:https://github.com/zotero
Ubuntu安装Zotero桌面版:
$ sudo add-apt-repository ppa:smathot/cogscinl
$ sudo apt-get update
$ sudo apt-get install zotero-standalone
For iPad we have: PaperShip for Mendeley & Zotero

linux 检测远程端口是否打开

常用telnet 110.101.101.101 80方式测试远程主机端口是否打开。
除此之外还可以使用:
方法1.nmap ip -p port 测试端口
nmap ip 显示全部打开的端口
根据显示close/open确定端口是否打开。
方法2. nc -v host port
端口未打开返回状态为非0