Refer to Region. Come on, or is Windows a little easier to use? Isn't it a challenge? First, install PostgreSQL, refer to http://www.linuxidc.co
Refer to http://www.linuxidc.com/linux/2009-03/18715.htmto complete the mysql‑odbc driver.
Because the task needs to use PostgreSQL and experiment DTL, we need to build an ODBC development environment on the Ubuntu development machine. Come on, or is Windows a little easier to use? Isn't it a challenge?
First, install PostgreSQL, refer to http://www.linuxidc.com/Linux/2010-09/28362.htm
Then, install PostgreSQL ODBC driver development:
Sudo apt-get install odbc-postgresql
Then, install graphical ODBC graphical setting tool iodbc management tool, iodbc is a good project AH (Mao Xinyu if it doesn't know how to say so) Interested can refer to: http://www.iodbc.org/
Download the iodbc management tool of gtk. You can search odbc in the ubuntu Software Center and find the iodbc driver manager, as shown in:
Of course, this tool can also be installed as follows through apt-get (the landlord is very anxious to use apt in the company, apt can not be found on his computer, think of ubuntu Software Center, although the functions of the new package manager and the ubuntu Software Center are a bit repetitive, they are still very useful ):
- Sudo apt-get install iodbcadm-gtk
Next, we start the gtk tool of iodbc. Of course, we can start it through the terminal:
- Sudo iodbcadm-gtk
However, the landlord is relatively lazy. Otherwise, he will lose the above command every time. Although he can drop a few words in the table, it is better to click it easily. Therefore, a menu item is created in the menu bar. The executable file installed in the Software Center is/usr/bin. Add the project, as shown in:
The following figure shows the gtk graphical iodbc, which is very similar to windows.
Windows: