![]() Sudo ln -s Source_Directory Link_Directory Here’s what your command should look like: To make a symlink in Ubuntu, run the Terminal and invoke this command with the option -s added next to ln. Ln -s /mnt/my_drive/photos ˜/my_photos How to Create a Symbolic Link in Ubuntu?Ĭreating links between files on all Linux systems, including Ubuntu, runs with the “ ln” command. Take this time to pack your beach bag and don’t forget the sunscreen.For example, you can create a symlink from the /mnt/my_drive/photos directory to the ˜/my_photos directory: Dropbox needs a few minutes to sync depending on how much there is to sync. Add Joomla! files to your new website directory in Dropbox and install Joomla! as you normally would.ĭone.(In MAMP Pro, move it to: /Library/Application Support/appsolute/MAMP PRO). Move the Symbolic Link for the database directory from your Dropbox directory to: Applications/MAMP/.(In MAMP Pro, delete the /db directory in: /Library/Application Support/appsolute/MAMP PRO). ![]() Open a finder window and go to: Applications/MAMP/db.Ctrl + Click (or Right Click if you have that option) the database directory you already created in Dropbox when setting up your first machine and choose “Make Symbolic Link”.You can skip step 3 because you already created the directory in Dropbox and it will automatically sync. Repeat steps 1-2 and 4-5 on your other Mac(s).Rename the Symbolic Link to: db (the same name of the MAMP db directory you deleted).Īnd finally, let's sync those other machines….Move db symbolic link you have created to /MAMP.(In MAMP PRO /Library/Application Support/appsolute/MAMP PRO). Delete the /db directory in /MAMP directory.(In MAMP Pro, the databases are in a different directory: /Library/Application Support/appsolute/MAMP PRO). Copy the contents of the MAMP db directory to the database directory you made in your Dropbox. Ctrl + Click (or Right Click if you have that option) on the db directory you just created in Dropbox and choose “Make Symbolic Link”.Create db directory in Dropbox directory.Download and install SymbolicLinker 2.0.Preparing the databases for syncing on your first machine: (In MAMP Pro, change you disk location to: /Users/Shared/Dropbox/YOUR-SITE_DIRECTORY/.) If you don't see the Disk Location box, look at the top left and make sure you are on the Hosts tab rather than the Server tab. Go to the Apache tab and change the document root to: /Users/Shared/Dropbox/YOUR-SITE-DIRECTORY/. Now open MAMP and click the “Preferences” button. ![]() I use _sites, but you can name it whatever you'd like.
0 Comments
Leave a Reply. |