使用mkhomepg命令构建网站
mkhomepg-执行此命令构建网页。行这个程序后,它会创建一个放置web文件的目录。
- 如果你不是ARPA成员,那么你的域名是:your login.freeshell.org。
- 如果你是ARPA成员,你可以通过
mkhomepg -a
的命令选择许多不同的域。
mkhomepg命令详解
mkhomepg
初始设置
mkhomepg -p
重置web文件权限,如果没有index文件系统自动创建一个index.html文件。
mkhomepg -a
设置或取消客户自己的域名(只有ARPA会员才可以选择使用)
mkhomepg -d
设置或取消使用二级域名http://sdf.org/~username
mkhomepg -t
切换SDFcluster/MetaArray主机
网页文件保存位置:使用mkhomepg
命令后网页文件可以位于以下几个位置:
-
标准站点:默认情况下,网站文件位html文件夹中。
Standard Site: By default, your web site files go in your user folder on the cluster in the html subfolder. These files are then viewable at your login.freeshell.org, or what other domain you set as a custom url with mkhomepg or from the maint command
-
'Tilde' Site: You may, if you first run mkhomepg -d also (or instead) place files in your public_html folder, and they will be accessible at your old school “tilde site” at sdf.org/~your login
-
Virtual Host: If you have a vhost, you should place files for it in your /html/vhost_name folder, and they will appear from your properly configured VHOST, if you have signed up for this membership
-
The MetaArray: If you want to host from the unlimited storage of the MetaArray, after you use mkhomepg -t to toggle your main web page from the cluster to the MetaArray, you should put your files on the metaarray at ~/html/username, and as with the cluster, these will be accessible at your login.freeshell.org, or what other domain you set as a custom url with mkhomepg or from the maint command