Open Preferences → Settings-User to open user configuration and add the following line "trim_trailing_white_space_on_save": true, Save the file will be automatically deleted when trailing whitespace characters.
Remove the index.php in ThinkPHP
For example, your original path is http://localhost/test/index.php/index/add, and you want to it like this http://localhost/test/index/add. Configure Apache Make sure that httpd.conf configuration file loaded mod_rewrite.so module, uncommented: # LoadModule rewrite_module modules/mod_rewrite.so Modify AllowOverride None to AllowOverride All Configure ThinkPHP Make…
Install KVM on Ubuntu Server 12.04 LTS and Create a Virtual Machine
KVM (for Kernel-based Virtual Machine) is a full virtualization solution for Linux on x86 hardware containing virtualization extensions (Intel VT or AMD-V). It consists of a loadable kernel module, kvm.ko, that provides the core virtualization infrastructure and a processor specific…
Install Xen on Ubuntu Desktop 12.04 LTS and Using Virtual Manage Create a Virtual Machine
Xen is a native (bare-metal) hypervisor providing services that allow multiple computer operating systems to execute on the same computer hardware concurrently. The University of Cambridge Computer Laboratory developed the first versions of Xen. The Xen community develops and maintains…