Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Fri Sep 26, 2014 3:21 pm 
Offline
Newbie

Joined: Fri Sep 26, 2014 3:01 pm
Posts: 4
Hi everyone!

I am new to VPS so apologies for dumb questions...

i am migrating a wp install from shared host..
obviously, not the same folder architecture..

Been reading most of doc and found different suggestions as where should assets be located.
https://www.linode.com/docs/websites/cm ... wordpress/ -- /srv/www/xxx.com/public/...
https://www.linode.com/docs/migrate-to- ... ed-hosting -- /home/user/public/xxx.com/public/...
or var/www/xxx.com/public..

what would you suggest is the best way to go? knowing that i may had 2 more sites.


as well i need assets that i want to keep separated but accessible (ei in Iframe).
Can i use a disk image for data storage or does it have to be located on the same image as the site install?

Thanks in advance :)


Top
   
PostPosted: Fri Sep 26, 2014 3:53 pm 
Offline
Senior Member
User avatar

Joined: Sun Dec 27, 2009 11:12 pm
Posts: 1038
Location: Colorado, USA
Pick a layout and stick with it - there isn't really a "best way".

_________________
Either provide enough details for people to help, or sit back and listen to the crickets chirp.
Security thru obscurity is a myth - and really really annoying.


Top
   
PostPosted: Fri Sep 26, 2014 5:22 pm 
Offline
Newbie

Joined: Fri Sep 26, 2014 3:01 pm
Posts: 4
Ok thanks vonskippy!

Yeah, i knew i would have to stick with it that why i wanted to know >_<
found out the hard way but i guess it is good for practice, seems already less frightening..

Cheers!

As for assets, not sure i understood linode correctly.
i have set a disk image without OS labeled "data"
and set in my conf profile: /dev/xvdc => data
I though i could see it via ftp from x.x.x.x/dev/xvdc/data but no..
Can someone enlighten me?

Thanks!


Top
   
PostPosted: Sat Sep 27, 2014 5:54 am 
Offline
Senior Member

Joined: Sun Mar 07, 2010 7:47 pm
Posts: 1970
Website: http://www.rwky.net
Location: Earth
You will need to mount /dev/xvdc you can set it to mount automatically in fstab, something like this will probably work
Code:
/dev/xvdc /data ext4 defaults 0 2
Then you'd access it by sftping to your ip and checking the /data folder, don't use ftp it sucks.

_________________
Paid support
How to ask for help
1. Give details of your problem
2. Post any errors
3. Post relevant logs.
4. Don't hide details i.e. your domain, it just makes things harder
5. Be polite or you'll be eaten by a grue


Top
   
PostPosted: Mon Sep 29, 2014 11:57 pm 
Offline
Newbie

Joined: Fri Sep 26, 2014 3:01 pm
Posts: 4
Thks for the info obs

as newbie, it doesn't make much sense to me yet but will dig around about that.. >_<
If stuck, i ll get back to you!

Btw, meant sftp, not ftp.. : )

Cheers!


Top
   
PostPosted: Tue Sep 30, 2014 12:56 pm 
Offline
Senior Newbie

Joined: Wed Sep 03, 2014 2:00 pm
Posts: 13
I use either /srv/www/domaingoeshere.com/public_html or /var/www/domaingoeshere.com/public_html and my logs are like /srv/www/domaingoeshere.com/logs


Top
   
PostPosted: Wed Oct 01, 2014 10:34 pm 
Offline
Newbie

Joined: Fri Sep 26, 2014 3:01 pm
Posts: 4
@obs
Cheers mate, it works : )
Thanks for the tip!

@affliction
yeah, i use srv/www/...
like for the wordpress stack script, good way to learn how to set it up!


Thanks for your help guys!



Now trying to optimize speed on my wp install
if you have some time to kill,
have a look at http://www.maoartland.net and let me know of any tips you could think of to speed it up

It is my personal portfolio and contains loads of pics hosted on flickr.
I use JIG (justified image grid) plugin and W3tc for caching.
Was using CDN (MAXCDN / w3tc) prior to move to linode but now seems to be getting better results without it..
Got all the apache2 mod_ working for w3tc except memcache (use Opcode - APC) coz i read that memcache was more multi sites oriented.. any toughts?

I am pleased with how it runs now compare to my previous shared host (hostpapa)
but have random hanging time to time.. don't know if it comes from wp, w3tc, server setup or linode..
More investigation needed! any tips on how to proceed?

thanks again!


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: mwchase and 6 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group