我有一个要导入的xml页面。虽然我能够成功地导入标题和正文,但我无法导入页面的发布状态和提升到首页设置。下面是我的xml代码的样子:
<nodes>
<node>
<Title>This is the Title
</Title>
<Body>
This is the Body
</Body>
<Order>1</Order>
<Path>
/clips/this-is-the-path
</Path>
<Post-date>Tuesday, February 1
当第一次使用SSH连接到远程服务器时,我收到以下消息:
The authenticity of host '<hostname> (<ip>)' can't be established.
RSA key fingerprint is <fingerprint>.
Are you sure you want to continue connecting (yes/no)?
例如,当试图连接到GitHub时:
The authenticity of host 'github.com (192.30.252.128)' c
我刚从11.04服务器切换到Ubuntu14.04服务器。在/var/spool/cron/crontab/root中,我有一行:
* * * * * /root/arewerunning.sh > /root/appmon.log
arewerunning.sh看起来是这样的:
#!/bin/sh
if P=$(pgrep aserver)
then
echo " "
else
echo "aserver has stopped. System Will reboot"
sudo reboot now
fi
在11.04服务器上,这是工作的。