Best practice with symlinks, localhost wiki

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
0
down vote

favorite












What I think I want to do is to use a symlink so that I can diddle the innards of a Dokuwiki website I have hosted on localhost:



  • The website is installed and seems to be working well on /var/www/html/mysite.org/

  • I want to access its files directly (not through a browser) from /home/me/mysite/. I want to avoid the risks of using a file manager with root privileges.

  • I think I can do this with a symlink like ln -s /var/www/html/mysite.org/ /home/me/mysite

Is that right? More importantly, is that the best way to do what I'm trying to do?



While I have about a decade of experience with Ubuntus as desktop machines, I am a total noobie with LAMP and using localhost. Since I have lost a couple of weeks in just getting my head around the basics of using Apache and localhost, I'm asking this question in the hope of getting a quick answer and possibly avoiding Yet Another Learning Experience: YALE. (Yeah, becoming proficient in all aspects of LAMP would be great, but right now I just need to get on with a project and don't have the time to study things that are peripheral to the primary goal.)







share|improve this question




















  • hey will why don't you use rsync to clone your local work from your home directory to the right directory under /var ? and perhaps git to track your changes? just an idea.
    – D'Arcy Nader
    Apr 2 at 17:30










  • That would be one way to do it. However I believe that would introduce the problems of maintaining two identical but separate passels of files, which ---because I know my limitations--- are bound to get messed up over the years. As I understand it, a symlink would provide two separate access points to the same passel of files as both accesses point to the same directory inode. Let's see what other suggestions come forth.
    – Will Steward
    Apr 2 at 17:49














up vote
0
down vote

favorite












What I think I want to do is to use a symlink so that I can diddle the innards of a Dokuwiki website I have hosted on localhost:



  • The website is installed and seems to be working well on /var/www/html/mysite.org/

  • I want to access its files directly (not through a browser) from /home/me/mysite/. I want to avoid the risks of using a file manager with root privileges.

  • I think I can do this with a symlink like ln -s /var/www/html/mysite.org/ /home/me/mysite

Is that right? More importantly, is that the best way to do what I'm trying to do?



While I have about a decade of experience with Ubuntus as desktop machines, I am a total noobie with LAMP and using localhost. Since I have lost a couple of weeks in just getting my head around the basics of using Apache and localhost, I'm asking this question in the hope of getting a quick answer and possibly avoiding Yet Another Learning Experience: YALE. (Yeah, becoming proficient in all aspects of LAMP would be great, but right now I just need to get on with a project and don't have the time to study things that are peripheral to the primary goal.)







share|improve this question




















  • hey will why don't you use rsync to clone your local work from your home directory to the right directory under /var ? and perhaps git to track your changes? just an idea.
    – D'Arcy Nader
    Apr 2 at 17:30










  • That would be one way to do it. However I believe that would introduce the problems of maintaining two identical but separate passels of files, which ---because I know my limitations--- are bound to get messed up over the years. As I understand it, a symlink would provide two separate access points to the same passel of files as both accesses point to the same directory inode. Let's see what other suggestions come forth.
    – Will Steward
    Apr 2 at 17:49












up vote
0
down vote

favorite









up vote
0
down vote

favorite











What I think I want to do is to use a symlink so that I can diddle the innards of a Dokuwiki website I have hosted on localhost:



  • The website is installed and seems to be working well on /var/www/html/mysite.org/

  • I want to access its files directly (not through a browser) from /home/me/mysite/. I want to avoid the risks of using a file manager with root privileges.

  • I think I can do this with a symlink like ln -s /var/www/html/mysite.org/ /home/me/mysite

Is that right? More importantly, is that the best way to do what I'm trying to do?



While I have about a decade of experience with Ubuntus as desktop machines, I am a total noobie with LAMP and using localhost. Since I have lost a couple of weeks in just getting my head around the basics of using Apache and localhost, I'm asking this question in the hope of getting a quick answer and possibly avoiding Yet Another Learning Experience: YALE. (Yeah, becoming proficient in all aspects of LAMP would be great, but right now I just need to get on with a project and don't have the time to study things that are peripheral to the primary goal.)







share|improve this question












What I think I want to do is to use a symlink so that I can diddle the innards of a Dokuwiki website I have hosted on localhost:



  • The website is installed and seems to be working well on /var/www/html/mysite.org/

  • I want to access its files directly (not through a browser) from /home/me/mysite/. I want to avoid the risks of using a file manager with root privileges.

  • I think I can do this with a symlink like ln -s /var/www/html/mysite.org/ /home/me/mysite

Is that right? More importantly, is that the best way to do what I'm trying to do?



While I have about a decade of experience with Ubuntus as desktop machines, I am a total noobie with LAMP and using localhost. Since I have lost a couple of weeks in just getting my head around the basics of using Apache and localhost, I'm asking this question in the hope of getting a quick answer and possibly avoiding Yet Another Learning Experience: YALE. (Yeah, becoming proficient in all aspects of LAMP would be great, but right now I just need to get on with a project and don't have the time to study things that are peripheral to the primary goal.)









share|improve this question











share|improve this question




share|improve this question










asked Apr 2 at 16:46









Will Steward

1




1











  • hey will why don't you use rsync to clone your local work from your home directory to the right directory under /var ? and perhaps git to track your changes? just an idea.
    – D'Arcy Nader
    Apr 2 at 17:30










  • That would be one way to do it. However I believe that would introduce the problems of maintaining two identical but separate passels of files, which ---because I know my limitations--- are bound to get messed up over the years. As I understand it, a symlink would provide two separate access points to the same passel of files as both accesses point to the same directory inode. Let's see what other suggestions come forth.
    – Will Steward
    Apr 2 at 17:49
















  • hey will why don't you use rsync to clone your local work from your home directory to the right directory under /var ? and perhaps git to track your changes? just an idea.
    – D'Arcy Nader
    Apr 2 at 17:30










  • That would be one way to do it. However I believe that would introduce the problems of maintaining two identical but separate passels of files, which ---because I know my limitations--- are bound to get messed up over the years. As I understand it, a symlink would provide two separate access points to the same passel of files as both accesses point to the same directory inode. Let's see what other suggestions come forth.
    – Will Steward
    Apr 2 at 17:49















hey will why don't you use rsync to clone your local work from your home directory to the right directory under /var ? and perhaps git to track your changes? just an idea.
– D'Arcy Nader
Apr 2 at 17:30




hey will why don't you use rsync to clone your local work from your home directory to the right directory under /var ? and perhaps git to track your changes? just an idea.
– D'Arcy Nader
Apr 2 at 17:30












That would be one way to do it. However I believe that would introduce the problems of maintaining two identical but separate passels of files, which ---because I know my limitations--- are bound to get messed up over the years. As I understand it, a symlink would provide two separate access points to the same passel of files as both accesses point to the same directory inode. Let's see what other suggestions come forth.
– Will Steward
Apr 2 at 17:49




That would be one way to do it. However I believe that would introduce the problems of maintaining two identical but separate passels of files, which ---because I know my limitations--- are bound to get messed up over the years. As I understand it, a symlink would provide two separate access points to the same passel of files as both accesses point to the same directory inode. Let's see what other suggestions come forth.
– Will Steward
Apr 2 at 17:49















active

oldest

votes











Your Answer







StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: false,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);








 

draft saved


draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f435085%2fbest-practice-with-symlinks-localhost-wiki%23new-answer', 'question_page');

);

Post as a guest



































active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes










 

draft saved


draft discarded


























 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f435085%2fbest-practice-with-symlinks-localhost-wiki%23new-answer', 'question_page');

);

Post as a guest













































































Popular posts from this blog

How to check contact read email or not when send email to Individual?

Bahrain

Postfix configuration issue with fips on centos 7; mailgun relay