

- #Macports update r how to#
- #Macports update r install#
- #Macports update r manual#
- #Macports update r password#
I have VirtualBox and possible other programs which installed kext. If the reason was in a kernel extension, are there any logs on my mac I can see to find out the reason of the hangs and kernel panics?
#Macports update r install#
How can I install new Security Update without problems? Now my pc was booted up and was logged in automatically.

Then I restored local snapshot (before I run the update) using TimeMachine from the repair mode. It always showed kernel panic after about 5% of the boot progress. I ran repair mode (command+r) and run First Aid from Disk Utility. Then it was much slower till 100% and it hang again. The boot progress was quite fast till about 60%. Before the setup, I set auto login to on. Next day at 8AM, the progress showed 100%, but my pc was not logged in nor login window showed. opt/local/lib/postgresql95/bin/psql -U postgres -d postgres -f /Volumes/2TB/data/pg/crsp_all.Two days ago at 9PM I started installing macOS Catalina Security Update 2021-005 10.15.7.
#Macports update r password#
Within psql:ĬREATE USER igow SUPERUSER CREATEDB CREATEROLE PASSWORD 'xxxxx' I tend to do my work using a database named “crsp” (originally I just had CRSP data in there) under my own user name.
#Macports update r manual#
Right click on the postgres service, select Properties -> Startup type -> Manual -> Apply -> OK. Scroll down until you see a service with a name like postgresql-x-9. opt/local/lib/postgresql95/bin/psql -U postgres -d template1 Close the Administrative Tools window then launch Services from the desktop icon you just created. Then I did some set-up to get PL/R going. Sudo launchctl load /Library/LaunchDaemons/ Sudo defaults write /Library/LaunchDaemons/ Disabled -bool false To load it now and to make sure it launches on system start, do: However, if R is installed directly from source or via a package manager like MacPorts or Homebrew, then the R executable is installed to either /usr/local/bin/R (Homebrew) or /opt/local/bin/R (MacPorts). Note that MacPorts creates a launch daemon. R from source (including MacPorts and Homebrew) When R is installed from CRAN on OS X the R executable is installed at /usr/bin/R. Sudo su postgres -c '/opt/local/lib/postgresql95/bin/initdb -D /opt/local/var/db/postgresql95/defaultdb' Sudo chown postgres:postgres /opt/local/var/db/postgresql95/defaultdb Sudo mkdir -p /opt/local/var/db/postgresql95/defaultdb I also wonder if I should use the -encoding=UTF8 -locale=en_US options I used in my earlier installation.

I wonder if it would work if I used the existing (and hidden) _postgres user. The following comes straight from the on-screen instructions supplied with the MacPorts port postgresql95-server. I first need to initialize the database cluster and then get the server running. Sudo R_HOME='/Library/Frameworks/R.framework/Resources' USE_PGXS=1 PG_CONFIG='/opt/local/lib/postgresql95/bin/pg_config' make install R_HOME='/Library/Frameworks/R.framework/Resources' USE_PGXS=1 PG_CONFIG='/opt/local/lib/postgresql95/bin/pg_config' make Note that this is exactly as I’ve done before, but using a different version of pg_config. Sudo port install postgresql95 +perl +python27Ģ. Of course, I assume you’ve got MacPorts up and running on your system. Did the usual admin stuff to get PostgreSQL up and running and CREATE EXTENSION plr I think this version differs in that it is compiled locally-rather than just being a binary like the standard version-and presumably is something like the postgresql-server-dev-9.5 package available for Ubuntu.ģ. The second time I tried the +perl +python27 version of the port postgresql95 and it worked fine. However, the first time I tried, I could not get PL/R to compile. I suspect that the issue was related to differences in how the versions of (MacPorts-supplied) Python and PostgreSQL I had were compiled.Īfter toying with the idea of switching back to Ubuntu/Linux Mint (which inevitably means running two operating systems, as Linux doesn’t have everything I need), I thought I would give the MacPorts version of PostgreSQL a spin. It seems to compile OK, but each time I tried CREATE EXTENSION plpython2u, the connection crashed. Recently, I’ve had reason to want PL/Python on my system too, but I have not been able to get it going using my self-compiled version of PostgreSQL.
#Macports update r how to#
In an earlier post, I detailed how to get PL/R up and running on Mac OS X.
