space ouch
Monday, November 03, 2014
Access Synology DDNS FQDN from internal network
If you are like me who use ASUS RT-AC66U router and Synology DDNS.
and cannot access your Synology DDNS FQDN within your home network.
here is how I solve my problem.
goto ASUS router admin site.
go to [LAN]-[Switch Control] and disable the [NAT Acceleration]
viola. problem solved.
Monday, October 24, 2011
Ubuntu 11.10 and Parallels Desktop Notes
Installed Ubuntu 11.10 Desktop x64 Edition on Parallels Desktop
1. for parallels tools to work normally.
Before installing the parallels tools, add a soft link /usr/lib64 to /usr/lib
sudo ln -s /usr/lib /usr/lib64
2. for Coherence to work, get the Gnome fall back package, and logout, then log back in with Gnome Classic (no effect)
sudo apt-get install gnome-session-fallback
Thursday, October 20, 2011
google chrome -- why insecure content
Thanks to http://www.google.com/support/forum/p/Chrome/thread?tid=70b1d11d50817e04&hl=en
1. Right-click anywhere on your Gmail page and click "Inspect Element".
2. A debug window will take over the bottom half of your browser. Click "Console" at the bar at the top of this window.
3. Search for the words "insecure content" in the console (search bar at the top-right of the console). This line will reveal where the insecure content is coming from.
4. Disable the plug-in that is creating this message. In my case it was Zemanta, which neither one of us realized was even a gmail plug-in.
1. Right-click anywhere on your Gmail page and click "Inspect Element".
2. A debug window will take over the bottom half of your browser. Click "Console" at the bar at the top of this window.
3. Search for the words "insecure content" in the console (search bar at the top-right of the console). This line will reveal where the insecure content is coming from.
4. Disable the plug-in that is creating this message. In my case it was Zemanta, which neither one of us realized was even a gmail plug-in.
Sunday, October 16, 2011
Wednesday, August 31, 2011
Uninstall XCode
sudo <XcodeDir>/Library/uninstall-devtools --mode=all
<XcodeDir> is the Xcode installation directory. Such as /Developer.
Monday, August 29, 2011
How to install Sun Java SDK on Ubuntu 1104
$sudo add-apt-repository "deb http://archive.canonical.com/ maverick partner"
$sudo apt-get update
$sudo apt-get install sun-java6-jre sun-java6-plugin
$sudo apt-get install sun-java6-jdk
$sudo update-alternatives --config java
if your add-apt-repository is not installed
$sudo apt-get install python-software-properties
Wednesday, August 24, 2011
Jira 4.4 with MS SQL Server and Integrated Security
- Install your JIRA with run as service option
- Stop the JIRA server.
- Download the Microsoft SQL Server JDBC Driver 3.0
- Run sqljdbc_<version>_enu.exe
- Enter an install directory when prompted; it is recommended that you unpack this zip file in %ProgramFiles% with the default directory:
Microsoft SQL Server JDBC Driver 3.0 - Copy C:\Program Files\Microsoft SQL Server JDBC Driver 3.0\sqljdbc_3.0\enu\sqljdbc4.jar to C:\Program Files (x86)\Atlassian\JIRA\lib or your [JIRA installation dir]/lib
note: if you use JDK 6.0 or above, you need to use sqljdbc4.jar. - Copy C:\Program Files\Microsoft SQL Server JDBC Driver 3.0\sqljdbc_3.0\enu\auth\x86\sqljdbc_auth.dll to C:\Program Files (x86)\Atlassian\JIRA\bin or your [JIRA installation dir]/bin
- Add your service account to the administrators group of the JIRA server.
- Change the account of the jira windows service to the above service account.
- Change the C:\Program Files (x86)\Atlassian\Application Data\JIRA\dbconfig.xml or your [JIRA Application Data dir]/dbconfig.xml as following, the username and password need to be set, but a random string is ok. JIRA will check these two properties when starting the server.
<?xml version="1.0" encoding="UTF-8"?> <jira-database-config> <name>defaultDS</name> <delegator-name>default</delegator-name> <database-type>mssql</database-type> <schema-name>dbo</schema-name> <jdbc-datasource> <url>jdbc:sqlserver://dbserver:dbport;databaseName=dbname;integratedSecurity=true</url> <driver-class>com.microsoft.sqlserver.jdbc.SQLServerDriver</driver-class> <username>user@domain</username> <password>ooxx</password> <pool-size>15</pool-size> </jdbc-datasource> </jira-database-config>
- Start the JIRA server
Note:
- Not sure why the x86 version of sqljdbc_auth.dll is required, although both my windows and JDK are x64 editions. but x64 version of sqljdbc_auth.dll just does NOT work.
- This only applies to JIRA 4.4. For JIRA 4.3, some file location is different. for example dbconfig.xml
Subscribe to:
Posts (Atom)