Home

Oracle Cloud Ubuntu 装 宝塔以后 no route to host 的解决办法

卸载 ufw , 恢复路由表 sudo apt remove ufw sudo iptables-restore < /etc/iptables/rules.v4 安装 firewalld,并开放端口 sudo apt install firewalld sudo firewall-cmd --permanent --zone=public --add-port=80/tcp sudo firewall-cmd --permanent --zone=public --add-port=443/tcp sudo firewall-cmd --reload 此外,如果使用的是 CentOS,想添加 IPV6 时 dhclient -6 一直没反应,那应该是 fire...

Read more

linux 下 ps 批量转换成 png

安装 从 http://www.imagemagick.org/script/download.php 下载安装包并安装. 脚本 #!/bin/sh ######################## ## using “convert” from ImageMagick to do ps convert into PNG ######################### echo PS convert to PNG, please wait the process for INP in *.ps do newname=`basename $INP .ps` convert -density 150 -geometry 100% $INP $newname%02d.png e...

Read more

cpgplot输出到png文件

语法 if ( (newgraph == 1) || (newgraph == 3) ) { if (device == 0x0) device = "?" ; int ier = cpgbeg(0, device, nxpage, nypage) ; if (ier != 1) { cout << "problem in opening PGPLOT display !" << endl ; } } 可用的device list Graphics device/type (? to see list, default /Xserve): ? PGPLOT v5.2.2 Copyright 1997 Cal...

Read more

Welcome

If you see this page, that means you have setup your site. enjoy! :ghost: :ghost: :ghost: You may want to config the site or writing a post next. Please feel free to create an issue or send me email if you have any questions.

Read more