echo "# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
source /etc/network/interfaces.d/*
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
allow-hotplug ens3
iface ens3 inet dhcp
" > /etc/network/interfaces
This is a complete list of all country ISO codes as described in the ISO 3166 international standard. These codes are used throughout the IT industry by computer systems and software to ease the identification of country names. We have compiled them in the quick reference table below in order to help our clients do quick conversions from the numeric or 2 letter code to any country name.
25合一系统密码: 1、CentOS 7.7 (已关闭防火墙及SELinux,默认密码Pwd@CentOS) 2、CentOS 7 (默认密码cxthhhhh.com) 3、CentOS 8 (默认密码cxthhhhh.com) 4、CentOS 6 (默认密码Minijer.com) 5、Debian 11 (默认密码Minijer.com) 6、Debian 10 (默认密码Minijer.com) 7、Debian 9 (默认密码Minijer.com) 8、Debian 8 (默认密码Minijer.com) 9、Ubuntu 20.04 (默认密码Minijer.com) 10、Ubuntu 18.04 (默认密码Minijer.com) 11、Ubuntu 16.04 (默认密码Minijer.com) 12、Windows Server 2019 (默认密码cxthhhhh.com) 13、Windows Server 2016 (默认密码cxthhhhh.com) 14、Windows Server 2012 (默认密码cxthhhhh.com) 15、Windows Server 2012 Lite (默认密码nat.ee) 16、Windows Server 2008 (默认密码cxthhhhh.com) 17、Windows Server 2008 Lite (默认密码nat.ee) 18、Windows Server 2003 (默认密码cxthhhhh.com) 19、Windows Server 2003 Lite (默认密码WinSrv2003x86-Chinese) 20、Windows 10 LTSC Lite (默认密码www.nat.ee) 21、Windows 7 x86 Lite (默认密码Windows7x86-Chinese) 22、Windows 7 Ent Lite (默认密码nat.ee) 23、Windows 7 Ent Lite (UEFI支持甲骨文)(默认密码nat.ee) 24、Windows Server 2008 Lite (UEFI支持甲骨文)(默认密码nat.ee) 25、Windows Server 2012 Lite (UEFI支持甲骨文)(默认密码nat.ee) 99、自定义镜像
INSERT INTO wp_posts (post_title,post_content,post_author,post_date,post_excerpt,to_ping,pinged,post_content_filtered,guid,post_type,post_status,post_mime_type) VALUES ('[标签:标题]','','[标签:authorid]','[系统时间转化:yyyy-MM-dd HH:mm:ss]','','','','','[标签:img-url]','attachment','inherit','image/[标签:image-type]');
INSERT INTO wp_postmeta(post_id,meta_key,meta_value) VALUES ([文章编号:wp_posts]-1,'_thumbnail_id',[文章编号:wp_posts]);
INSERT INTO wp_postmeta(post_id,meta_key,meta_value) VALUES ([文章编号:wp_posts],'_wp_attached_file','[标签:img-url-2]');
同一张数据表如果要插入多组数据,可以:
INSERT INTO
wp_term_relationships (object_id,term_taxonomy_id)
VALUES
('[文章编号:wp_posts]','[标签:catid]'),
('[文章编号:wp_posts]','[标签:catid2]'),
('[文章编号:wp_posts]','[标签:catid3]');
但是火车采集不支持这种SQL写法,会报错,只能每次插入一行,分开写。
如果要获取上一篇post的自增id,即post_id,可以用set变量:
set @var=[文章编号:wp_posts];
INSERT INTO wp_postmeta ( post_id,meta_key,meta_value)
VALUES
(@var-1,'_wp_attached_file','shows/[标签:img]'),
(@var-1,'_movie_poster',@var);
但是,火车采集同样不支持set变量。不过可以直接用减法运算:
INSERT INTO wp_postmeta(post_id,meta_key,meta_value) VALUES ([文章编号:wp_posts]-1,'_movie_poster',[文章编号:wp_posts]);