debian修改PHP因为执行时间太长,报500错误
报错提示: PHP Fatal error: Maximum execution time of 3… 继续阅读 debian修改PHP因为执行时间太长,报500错误
报错提示: PHP Fatal error: Maximum execution time of 3… 继续阅读 debian修改PHP因为执行时间太长,报500错误
|
1 2 3 4 5 6 7 8 9 10 |
1. 查看时间 date; 2. 查看硬件时间 hwclock 3. 修改时间 date -s “要修改的时间” 4. 修改硬件时间 hwclock -w 5. 同步硬件时钟(hwclock)到系统时间(date): hwclock <span class="token parameter variable">--hctosys</span> 6. 同步系统时间(date)到硬件时钟(hwclock): hwclock <span class="token parameter variable">--systohc </span> |
|
1 |
history |
|
1 |
free -m |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 |
#!/bin/bash outdir=/home/files ip=${REMOTE_ADDR} dir=`date +%Y%m` time=`date +%Y%m%d%H%M%S` file=`date +%Y%m%d%H%M%S`_$ip.pdf file2=`date +%Y%m%d%H%M%S`_$ip.txt file3=`date +%Y%m%d%H%M%S`_$ip.raw mkdir -p $outdir/$dir cp $1 /tmp/file3 mv $1 $outdir/$dir/$file if [ "`file ${SPOOLFILE} | grep 'ostScript'`" ] ; then pdftotext $outdir/$dir/$file $outdir/$dir/$file2 else cp ${SPOOLFILE} $outdir/$dir/$file3 fi chmod -R 777 $outdir/$dir #cp ${SPOOLFILE} $outdir/$dir/$file3 mysql -uwater -p111111 water -e"insert into pdf set `file`='$dir/$file',`ip`=INET_ATON('$ip')" cp ${SPOOLFILE} /tmp/1.ps |
注: -uwater 是数据库用… 继续阅读 lims_cups_pdf.sh文件下内容
Linux下cups打印服务配置文件cups-pdf.conf [crayon-690fd3ee6c… 继续阅读 Linux下cups打印服务配置文件cups-pdf.conf
第一步: 在服务器命令行执行: sudo apt-get install cups 第二步: 安装完… 继续阅读 在Linux服务器安装cups打印服务
基本的操作方法: 本文假设你的apahce安装目录为/usr/local/apache2,这些方法适… 继续阅读 linux 下 apache启动、停止、重启命令