【发布时间】:2013-12-31 13:48:28
【问题描述】:
我按照以下教程进行操作:http://davidtsadler.com/archives/2012/06/03/how-to-install-magento-on-ubuntu/
在某些时候它告诉我执行以下命令:
sudo bash -c "cat >> /etc/apache2/sites-available/magento-store.com <<EOF
<VirtualHost *:80>
ServerName localhost.magento-store.com
ServerAlias www.localhost.magento-store.com
DocumentRoot /home/dev/public_html/magento-store.com/public
LogLevel warn
ErrorLog /home/dev/public_html/magento-store.com/log/error.log
CustomLog /home/dev/public_html/magento-store.com/log/access.log combined
</VirtualHost>
EOF"
这个命令做了什么,我怎样才能取消它?
我重新启动了计算机,它似乎仍在运行。我查看了.bashrc 和.profile,但我没有在里面找到。
【问题讨论】:
-
该命令应该立即运行并完成。要撤消它,您需要编辑
magento-store.com文件。 -
davidtsadler.com/archives/2012/06/03/… 似乎坏了。
davidtsadler.com和www.davidtsadler.com似乎都不在 DNS 中。