Skip to content

Instantly share code, notes, and snippets.

@tallesairan
Created March 7, 2016 23:12
Show Gist options
  • Save tallesairan/18cc99362a0f2230ad78 to your computer and use it in GitHub Desktop.
Save tallesairan/18cc99362a0f2230ad78 to your computer and use it in GitHub Desktop.
GIOST
#######################################################################
# OneinStack for CentOS/RadHat 5+ Debian 6+ and Ubuntu 12+ #
# For more information please visit http://oneinstack.com #
#######################################################################
Do you want to setup SSL under Nginx? [y/n]: n
Please input domain(example: www.linuxeye.com): talles.org
domain=talles.org
Do you want to add more domain name? [y/n]: y
Type domainname or IP(example: linuxeye.com 121.43.8.8): www.talles.org
domain list=www.talles.org
Do you want to redirect from www.talles.org to talles.org? [y/n]: n
Please input the directory for the domain:talles.org :
(Default directory: /data/wwwsites/talles.org):
Virtual Host Directory=/data/wwwsites/talles.org
Create Virtul Host directory......
set permissions of Virtual Host directory......
Do you want to add hotlink protection? [y/n]: n
Allow Nginx/Tengine access_log? [y/n]: n
Allow Apache access_log? [y/n]: n
nginx: the configuration file /usr/local/nginx/conf/nginx.conf syntax is ok
nginx: configuration file /usr/local/nginx/conf/nginx.conf test is successful
Reload Nginx......
Syntax OK
Restart Apache......
#######################################################################
# OneinStack for CentOS/RadHat 5+ Debian 6+ and Ubuntu 12+ #
# For more information please visit http://oneinstack.com #
#######################################################################
Your domain: talles.org
Nginx Virtualhost conf: /usr/local/nginx/conf/vhost/talles.org.conf
Apache Virtualhost conf: /usr/local/apache/conf/vhost/talles.org.conf
Directory of: /data/wwwsites/talles.org
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment