Editing
Lab IT server migration
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
==Migration log== *Use the Migration Assistant in the Mac OS X to copy files to the new Mac Pro. **Problem: don't know what the root password is, but can use sudo. *Enable Apache PHP Module: vi /etc/apache2/http.conf uncomment the line: # LocaModule php5_module *Turn on the Apache server *Install Xcode. *Install MacPort, the binary files are in /opt/local/bin *Install MySQL5 port install mysql5 +server launchctl load -w /Library/LaunchDaemons/org.macports.mysql5.plist mkdir /var/mysql ln -s /tmp/mysql.sock /var/mysql/mysql.sock launchctl unload -w /Library/LaunchDaemons/org.macports.mysql5.plist /opt/local/lib/mysql5/bin/mysql_install_db --user=mysql sudo launchctl load -w /Library/LaunchDaemons/org.macports.mysql5.plist mysql5 -u root UPDATE mysql.user SET Password = PASSWORD('password') WHERE User = 'root'; FLUSH PRIVILEGES; UPDATE mysql.user SET Password = PASSWORD('password') WHERE User = 'wikiuser'; FLUSH PRIVILEGES; quit *Note: I used macport to update mysql. After the update, the org.macports.mysql5.plist is missing. Therefore, mysql needs to be manually started for now. sudo /opt/local/bin/mysqld_safe5 &
Summary:
Please note that all contributions to ZhangLabWiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
ZhangLabWiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Page
Discussion
English
Views
Read
Edit
View history
More
Search
Navigation
Main Page
Current events
Recent changes
Random page
Investigators
Matt Cai
Song Chen
Eric Chu
Dinh Diep
Elizabeth Duong
Shicheng Guo
Alan Fung
Daniel Jacobsen
Blue Lake
Huy Lam
Alice Li
Andrew Richards
Brandon Sos
Chris Wei
Yan Wu
Kun Zhang
Tools
What links here
Related changes
Special pages
Page information