Changes

From SME Server

Template Tutorial

22 bytes added, 07:19, 11 November 2015
m
pico -> nano
expand-template /var/service/qpsmtpd/config/plugins
Will actually updates update the contents of /var/service/qpsmtpd/config/peers/0.
Note: /var/service/qpsmtpd/config/plugins is not templated at this time.
cp /etc/e-smith/templates/etc/my.cnf/005mysqld /etc/e-smith/templates-custom/etc/my.cnf/005mysqld
Edit and make your required additions & changes. This is where you add the changes determined from the mysql documentation.
pico nano -w /etc/e-smith/templates-custom/etc/my.cnf/005mysqld
Save and exit
Ctrl o
cp /etc/e-smith/templates/etc/php.ini/40DataHandling /etc/e-smith/templates-custom/etc/php.ini/40DataHandling
Edit the fragment and make your required changes
pico nano -w /etc/e-smith/templates-custom/etc/php.ini/40DataHandling
Save changes and exit (press the following keys together)
Ctrl o
mkdir -p /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf
Edit the template fragment with vi or piconano
cd /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf
pico nano S85ErrorPages
and add the following text
# Add custom error pages here
ErrorDocument 404 /notfound.html
Save & exit from vi or piconano
Ctrl c
Ctrl x
cp /etc/e-smith/templates/etc/smb.conf/11lanmanPasswords /etc/e-smith/custom-templates/etc/smb.conf/
Edit the template fragment with vi, pico nano or nano
cd /etc/e-smith/custom-templates/etc/smb.conf
nano 11lanmanPasswords
----
[[Category:Howto]]
[[Category:Developer]]
3,704
edits

Navigation menu