When I want to use a USB drive between Linux, Mac and Windows, I need to select a partition type first. FAT32’s limitation is that the file size: only 4GB and below can be supported. So I looked for the alternative and the answer is exFAT.
Screenlets error "GError icon 'gtk-close' not present in the theme" on Ubuntu 12.04
After I install screenlets and add some items on me desktop, Ubuntu reports crashes time to time. Today I notice the error message is:
1 | File "/usr/lib/pymodules/python2.7/screenlets/__init__.py", line 1302, in load_buttons |
Add user to existing group command in Ubuntu
Firefox Sync
How to get pom.xml version by one command
Clojure Development Setup
Clojure Development Environment Setup
A Chef Server Installation Error
Install Chef server should be simple:
Download the Chef server binary file from here. In my case, it’s “chef-server-11.0.8-1.el6.x86_64.rpm”.
Run “rpm -Uvh chef-server-11.0.8-1.el6.x86_64.rpm” command with the root permission to install Chef server.
Run “sudo chef-server-ctl reconfigure” command to do the configuration.
Run “chef-server-ctl test” to verify.
Done.
Install Chef Server and Client
Here is the definition from “http://docs.opscode.com“ of “Chef”:
Chef is a systems and cloud infrastructure automation framework that makes it easy to deploy servers and applications to any physical, virtual, or cloud location, no matter the size of the infrastructure. Each Chef organization is comprised of one (or more) workstations, a single server, and every node that will be configured and maintained by Chef. Cookbooks (and recipes) are used to tell Chef how each node in your organization should be configured. The chef-client (which is installed on every node) does the actual configuration.
In this article, I want to record how to install Chef server and client.
How to find and replace strings in multiple files
Basically it’s a classic scenario to use sed, from here: