How To Remove Template XenCenter with XE Command


###Remove Template On XenCenter 6.2###


##Remote to IP XenCenter
+ putty remote

##Command This Test (Remove)
xe template-list name-label=Ubuntu Trusty 14.04 (64-bit)
xe template-param-set other-config:default_template=false uuid=42c448f7-7416-8796-f833-8942fbd8ec65
xe template-param-set is-a-template=false uuid=42c448f7-7416-8796-f833-8942fbd8ec65
xe vm-destroy uuid=42c448f7-7416-8796-f833-8942fbd8ec65

##Command This Test (Add Template)
+ TEMPLATE_UUID=`xe template-list name-label="Ubuntu Lucid Lynx 10.04 (64-bit)" params=uuid --minimal`
+ NEW_TEMPLATE_UUID=`xe vm-clone uuid=$TEMPLATE_UUID new-name-label="Ubuntu Trusty 14.04 (64-bit)"`  + xe template-param-set other-config:default_template=true other-config:debian-release=trusty other-config:install-methods="ftp,http,cdrom" uuid=$NEW_TEMPLATE_UUID 
--------------------------------------------------------------------------------------------------------------------------------

How to Run startup on Linux

###Startup After Ubuntu boot Complete###

##On Ubuntu 14.04

#Install sysv-rc-conf

+ sudo apt-get install sysv-rc-conf

#Sample Enable service on startup
+ sysv-rc-conf red5 on

--------------------------------------------

How to fix PDF Preview Handler Cannon Fax to Email

###Fix PDF Preview Handler From Cannon Fax to Email###

===========================================
##Check path key "security"

Windows+R search regedit.exe Enter 
HKEY_CURRENT_USER\Software\Microsoft\Office\12.0\Outlook\security

##Remove TempFiles

+ Copy path in "security"
+ past to URL My Computer  and Enter
+ Delete All || Some File

**12.0 ==> Version
-------------------------------------------------------------------------------------------------------
+ Install Adobe Reader || Foxit || Adobe Acobat Pro 

How to Authentication with Apache2

###Authentication with Apache2###

##Instal Apache2-utils
+ sudo apt-get install apache2-utils

##Create file password
+ goto path for Authentication
   - cd /var/www/html/lightsquid
+ htpassword -c passwords admin   <----------- #for create file password user admin
   - comfirm password

##Delete User Authentication 
+ htpasswd -D admin  <------------------ #Remove user admin in file
-----------------------------------------------------------------------------------------------------
##Test Config apache2 for Authentication from file password && Enable .cgi
+ After #AddHandler cgi-script .cgi
   Before  AddHandler cgi-script .cgi   <--------------path /etc/apache2/mods-enabled/mime.conf

##Configure Apache2 path <-------- #/etc/apache2/apache2.conf
<Directory "/var/www/html/lightsquid/">
        DirectoryIndex index.cgi
        AddHandler cgi-script .cgi .pl
        Options Indexes FollowSymLinks
        AuthType Basic
        AuthName "Proxy Server Views"
        AuthUserFile "/var/www/html/lightsquid/passwords"
        Require valid-user
        Options +ExecCGI
        AllowOverride All
        Order Allow,Deny
        Allow from All
        #AddHandler cgi-script cgi pl
</Directory>

##Restart Service Apache2
+ sudo service apache2 restart
-----------------------------------------------------------------------------------------------------