• I’m trying to decide what method to use to install WP on my Ubuntu system. Here are my three options as I understand them:

    1. Install locally on my hard drive, making my computer a server and upload to a web host when I am done creating the site (this way I can work offline and store everything on my hard drive)

    2. Use a container like Docker to create the server on my hard drive (this would be same as #1 except inside a container)

    3. Don’t store anything locally, just use WP online (I believe this would still give me the option of storing backups so in case my web host went out of business or kicked me off, I would not need to start from scratch).

    I want to understand what advantages/disadvantages there are to each of these options. There may be compatibility issues when uploading to my host that Docker could help with, but I’m not sure. There may be safety from hacking as well if it’s in a container, etc. Thanks.

Viewing 4 replies - 1 through 4 (of 4 total)
  • It depends on what you want to do and what extra work you are happy to do.

    If you are happy to do all of the server admin, SSL set up, connections, monitoring, etc then host if on your PC. This can be either on the PC directly or in a container of some sort. The only real advantage to running it in a container is that it will be a more cut off from the rest of your system so if something does end up going wrong it won’t affect as much. Also be aware that as good as internt connections are these days, a standard home connection is pretty bad for a site that has even a modest amount of traffic, and a lot of ISP’s actually block public servers being run on their networks.

    That’s where running your site on a host makes things easier. They take care of all of the tech stuff and you just manage your site. The costs are higher (dpeending on the plan you choose anything from a coupel of $ a month, up to $100’s or $1,000’s if you go for some high-level dedicated hardware), but if the cost for what you need is acceptable, unless you’re a *nix erver guru it’s normally a better idea to host externally rather then trying to do it yourself.

    Thread Starter diosmioesricardo

    (@diosmioesricardo)

    Well, I definitely want to use a web host, just design, create, and store the site locally. Once I’m done with all the work, I was thinking I could then upload it to my web host. But are you saying this could pose compatibility issues? My understanding was that Docker could help prevent some of those compatibility problems.

    Ah OK. For development, any of those is fine. Personally I use Windows with XAMMP, which gives the same basic *AMP stack as must *nix systems have. I develop sites there then transfer them to the live servers when they are ready.

    As for compatibility issues, just keep the versions of PHP and MySQL as close to your live environment as possible and you’ll be pretty much fine.

    I’m going with #1. That way I can “play” to my heart’s content with themes, plugins, etc. and get everything the way I want it before I go live (in February).

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Method to use to install WP in Ubuntu’ is closed to new replies.