Skin options

bdacus01

Verified User
Joined
Jul 22, 2017
Messages
672
Location
Murfreesboro
So is it possible to have the skin options I want just set during the Server install. Example I like the sidebar layout and I want to have my logo set. On server install I can set my options.conf to do all the software choices. Also can set nameservers and email with email.txt and ns1.txt

Totally great work BTW.. Yall finished it just in time....
 

dmtinc

Verified User
Joined
May 10, 2008
Messages
44
Location
Chile
So is it possible to have the skin options I want just set during the Server install. Example I like the sidebar layout and I want to have my logo set. On server install I can set my options.conf to do all the software choices. Also can set nameservers and email with email.txt and ns1.txt

Totally great work BTW.. Yall finished it just in time....
The default skin options will be a good one, I will check where this options are stored, If cant be set by custombuild you can add or modify manually using a script.

For the default NS servers:

Code:
sed -i '/ns1=ns1/d' /usr/local/directadmin/conf/directadmin.conf                                                                                                                                                                                          
sed -i '/ns2=ns2/d' /usr/local/directadmin/conf/directadmin.conf
echo "ns1=ns1.yourdomain.com" >> /usr/local/directadmin/conf/directadmin.conf
echo "ns2=ns2.yourdomain.com" >> /usr/local/directadmin/conf/directadmin.conf
sed -i '/ns1=ns1/d' /usr/local/directadmin/data/users/admin/reseller.conf
sed -i '/ns2=ns2/d' /usr/local/directadmin/data/users/admin/reseller.conf
echo "ns1=ns1.yourdomain.com" >> /usr/local/directadmin/data/users/admin/reseller.conf
echo "ns2=ns2.yourdomain.com" >>/usr/local/directadmin/data/users/admin/reseller.conf
sed -i '/ns1=ns1/d' /usr/local/directadmin/data/users/admin/user.conf
sed -i '/ns2=ns2/d' /usr/local/directadmin/data/users/admin/user.conf
echo "ns1=ns1.yourdomain.com" >> /usr/local/directadmin/data/users/admin/user.conf
echo "ns2=ns2.yourdomain.com" >> /usr/local/directadmin/data/users/admin/user.conf
For the admin email:

Code:
sed -i '/email=/d' /usr/local/directadmin/data/users/admin/user.conf
echo "email=youremail@domain.com" >> /usr/local/directadmin/data/users/admin/user.conf
sed -i '/email=/d' /usr/local/directadmin/data/users/admin/ticket.conf
echo "email=youremail@domain.com" >>  /usr/local/directadmin/data/users/admin/ticket.conf
Regards
 

smtalk

Administrator
Staff member
Joined
Aug 22, 2006
Messages
8,766
Location
LT, EU
Mentioned in http://forum.directadmin.com/showthread.php?t=58062.


Q: How to deploy a new server with Evolution skin settings copied over from our other server?


A: Evolution stores the custom config in (admin is can be a reseller name, if you'd like to copy reseller's branding) /usr/local/directadmin/data/users/admin/skin_customizations/evolution/, just copy this directory and you have your settings there.
 

bdacus01

Verified User
Joined
Jul 22, 2017
Messages
672
Location
Murfreesboro
The default skin options will be a good one, I will check where this options are stored, If cant be set by custombuild you can add or modify manually using a script.

For the default NS servers:


For the admin email:
Thanks i followed the guide here for Nameservers and email
https://help.directadmin.com/item.php?id=578

[h=3]Custom Email and ns1/ns2[/h]You can override the internal defaults by creating files before running the setup.sh[FONT=&quot]/root/.email.txt
/root/.ns1.txt
/root/.ns2.txt[/FONT]

With a one-line entry for those values, which will set them into the setup.txt via the setup.sh, instead of the default values that match the hostname.
 
Top