Showing posts with label Apple. Show all posts
Showing posts with label Apple. Show all posts
Monday, January 20, 2025
Apple MLX Vision LLM Server with Ngrok, FastAPI and Sparrow
I show how I run Apple MLX backend on my local Mac Mini M4 Pro 64GB and access it from the Web through Ngrok, with automatically provisioned HTTPS certificate.
Sunday, September 27, 2009
3G Mobile Internet Usage on Mac OS (Leopard)
This weekend I was using 3G Mobile Internet with my Mac Book Pro, unfortunately network providers usually (with some exceptions) give you client software adopted only for Windows platform. I'm running Windows on Mac OS (Leopard) through VMware Fusion 2.0, however there is a bug in VMware - it can't recognize Mac Book Pro built-in microphone. I can hear, but can't talk - too bad.
But there is quite interesting solution - since I can't configure 3G Mobile Internet device drivers in Mac OS directly, I can access internet connection available in VMware from Mac OS. Thats a bit unusual, in the most of the cases we use Mac OS connection in VMware and not otherwise.
In Mac OS, using AirPort utility, create network:
You create Computer - to - Computer network, set password you want and press Ok:
When Computer - to - Computer network is created, your Mac will not use Wireless connections, it will act as wireless router itself and will utilize available physical networks.
Before starting VMware, make sure you have set Bridged network configuration:
Now its time to start VMware Fusion. When Windows will be up and running, open Network Configuration, you should see there Local Area and your 3G Mobile Internet connections enabled.
If Local Area connection can't get dynamic IP, open network configuration for 3G Mobile Internet connection and set there Internet Connection Sharing option:
Now you should be able to use 3G Mobile Internet directly on your Mac, with VMware Fusion running and acting as internet modem.
Labels:
Apple
Thursday, October 9, 2008
JDeveloper 11g Production on Mac OS
Everyone who is interested in Oracle Fusion Middleware probably knows, JDeveloper 11g is production now. And its possible to install it on Mac OS as well. On Windows, installation process is more straightforward, however it is relatively easy on Mac OS also - just you will need to follow a couple of configuration steps. In this post I will give instructions, I was following in order to install JDeveloper 11g on my MacBook Pro, I will concentrate on those instructions not mentioned in installation guide.
Installation process steps:
1) Download jdevstudio11110install.jar from OTN download page. It is a base install, without JDK 6.
2) Go to Oracle Fusion Middleware Installation Guide for Oracle JDeveloper on OTN and follow listed instructions.
3) After you will install Sun Java SE 6 for Mac OS X 10.5, you will need to make Java 1.6.0 default version of Java on your machine. You must run Java Preferences utility at /Applications/Utilities/Java/ to make Java 1.6.0 the default version on your OS. But, this will not change Java version across all system, so in terminal window I executed following commands as a root user to make Java 1.6.0 default VM:
$ cd /System/Library/Frameworks/JavaVM.framework/Versions/
$ ls -l CurrentJDK
lrwxr-xr-x 1 root wheel 5 Oct 3 21:33 CurrentJDK -> 1.5.0
$ sudo rm CurrentJDK
$ sudo ln -s 1.6.0 CurrentJDK
lrwxr-xr-x 1 root wheel 5 Oct 3 21:40 CurrentJDK -> 1.6.0
Now if you will execute java - version in terminal window, you should get something similar:
java version "1.6.0_05"
Java(TM) SE Runtime Environment (build 1.6.0_05-b13-120)
Java HotSpot(TM) 64-Bit Server VM (build 1.6.0_05-b13-52, mixed mode)
4) However, if you will run JDeveloper 11g installer at this step, you still will not be able to install successfully. In my case, installer wasn't able to find Java Home, even if I was providing it directly. I have solved this, when I have found a section about Known Issues for installing JDeveloper 11g on Mac OS in Release Notes document.
When all listed steps were done, installation wizard found Java 1.6.0 automatically and installation finished successfully:

JDeveloper 11g is up and running on Macintosh:
Installation process steps:
1) Download jdevstudio11110install.jar from OTN download page. It is a base install, without JDK 6.
2) Go to Oracle Fusion Middleware Installation Guide for Oracle JDeveloper on OTN and follow listed instructions.
3) After you will install Sun Java SE 6 for Mac OS X 10.5, you will need to make Java 1.6.0 default version of Java on your machine. You must run Java Preferences utility at /Applications/Utilities/Java/ to make Java 1.6.0 the default version on your OS. But, this will not change Java version across all system, so in terminal window I executed following commands as a root user to make Java 1.6.0 default VM:
$ cd /System/Library/Frameworks/JavaVM.framework/Versions/
$ ls -l CurrentJDK
lrwxr-xr-x 1 root wheel 5 Oct 3 21:33 CurrentJDK -> 1.5.0
$ sudo rm CurrentJDK
$ sudo ln -s 1.6.0 CurrentJDK
lrwxr-xr-x 1 root wheel 5 Oct 3 21:40 CurrentJDK -> 1.6.0
Now if you will execute java - version in terminal window, you should get something similar:
java version "1.6.0_05"
Java(TM) SE Runtime Environment (build 1.6.0_05-b13-120)
Java HotSpot(TM) 64-Bit Server VM (build 1.6.0_05-b13-52, mixed mode)
4) However, if you will run JDeveloper 11g installer at this step, you still will not be able to install successfully. In my case, installer wasn't able to find Java Home, even if I was providing it directly. I have solved this, when I have found a section about Known Issues for installing JDeveloper 11g on Mac OS in Release Notes document.
When all listed steps were done, installation wizard found Java 1.6.0 automatically and installation finished successfully:

JDeveloper 11g is up and running on Macintosh:
Labels:
Apple,
JDeveloper 11g
Tuesday, August 12, 2008
JDeveloper 11g on Mac OS X Leopard
I'm using Apple Mac Book Pro for about half of a year, but shame for me all this time I was running Windows OS using Apple Boot Camp solution. This product allows to install and run Windows OS on Apple computer exactly the same as on usual PC.
However, I decided to switch to Mac OS X Leopard and to do my work under this OS. I'm glad for this decision, looks like Mac OS is increasing my productivity through user-friendly and helpful interface environment :)
For my usual work I need Oracle XE database, Oracle SQL Developer and Oracle JDeveloper. Its only one little problem with Oracle XE, since this database is not supported in Mac OS. But, it is supported in Ubuntu Linux, so I installed Ubuntu as Virtual Machine (using VMware Fusion) and configured Oracle XE in this OS:

I have installed Oracle XE on Ubuntu using help from this tutorial - Installing Oracle XE on Debian, Ubuntu, and Kubuntu.
In order to use Oracle XE service from Mac OS, I just need to access database using IP assigned for Ubuntu VM by VMware Fusion:

JDeveloper 11g can be launched directly in Mac OS. Before running JDeveloper, I have downloaded and installed JVM from SUN. In order to run JDeveloper under Mac OS its enough to double-click jdev script file available in JDEV_HOME/jdev/bin directory:

For example, ADF BC wizard with applied Mac OS theme looks like this:

If you dont like it, its possible to use default JDeveloper theme even in Mac OS:

This image shows how JDeveloper looks with Mac OS theme:

And finally, application developed with JDeveloper 11g is running in Mozilla Firefox 3.0:
However, I decided to switch to Mac OS X Leopard and to do my work under this OS. I'm glad for this decision, looks like Mac OS is increasing my productivity through user-friendly and helpful interface environment :)
For my usual work I need Oracle XE database, Oracle SQL Developer and Oracle JDeveloper. Its only one little problem with Oracle XE, since this database is not supported in Mac OS. But, it is supported in Ubuntu Linux, so I installed Ubuntu as Virtual Machine (using VMware Fusion) and configured Oracle XE in this OS:

I have installed Oracle XE on Ubuntu using help from this tutorial - Installing Oracle XE on Debian, Ubuntu, and Kubuntu.
In order to use Oracle XE service from Mac OS, I just need to access database using IP assigned for Ubuntu VM by VMware Fusion:

JDeveloper 11g can be launched directly in Mac OS. Before running JDeveloper, I have downloaded and installed JVM from SUN. In order to run JDeveloper under Mac OS its enough to double-click jdev script file available in JDEV_HOME/jdev/bin directory:

For example, ADF BC wizard with applied Mac OS theme looks like this:

If you dont like it, its possible to use default JDeveloper theme even in Mac OS:

This image shows how JDeveloper looks with Mac OS theme:

And finally, application developed with JDeveloper 11g is running in Mozilla Firefox 3.0:
Labels:
Apple
Subscribe to:
Posts (Atom)




