cd /var/log/nginx
mv access.log access.log.old
mv error.log error.log.old
kill -USR1 `cat /var/run/nginx.pid`
###update sudo apt-get udpate
###install pip sudo apt-get install python-pip
###install zbar sudo apt-get install python-zbar
Reference
when executing df -hl
shows /tmp is mounted on overflow :
overflow 1.0M 1.0M 0 100% /tmp
If your “/tmp” mount on a linux filesystem is mounted as overflow (often sized at 1MB), this is likely due to you not specifying “/tmp” as its own partition and your root filesystem filled up and “/tmp” was remounted as a fallback. To fix this after you’ve cleared space, just unmount the fallback and it should remount at its original point:
sudo umount overflow
Aliyun Reference 按照他提供的方法:
- 去掉DEFINER=
root
@`% 类似的子句
sed -e 's/DEFINER[ ]*=[ ]*[^*]*\*/\*/ ' your.sql > your_revised.sql
- 检查 SQL 文件,去除下面类似的语句
Nifi 报错: [NiFi logging handler] org.apache.nifi.StdErr Failed to start web server: 打开的文件过多
Added to /etc/security/limits:
* hard nofile 50000
reference I met a exception when execution as instructions on soot homepage
soot Exception in thread "main" java.lang.RuntimeException: Could not load classfile: java.lang.CharSequence
This is caused by a high version of JDK(1.8.0)
switching to a lower version of jdk (1.6 or 1.7) solves this problem
cheers!~
go this this page
hdiutil convert -format UDRW -o ubuntu-16.04-desktop-amd64 ubuntu-16.04-desktop-amd64.iso
diskutil list
diskutil unmountDisk /dev/disk2
sudo dd if=ubuntu-16.04-desktop-amd64.dmg of=/dev/disk2 bs=1m
sudo add-apt-repository ppa:nginx/stable
sudo apt-get update
sudo apt-get install nginx
$("body").on('touchmove', function(e) { e.preventDefault() });