Jump to: navigation, search

Template Tutorial

No change in size, 07:19, 11 November 2015
pico -> nano
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

Navigation menu