News:

Wondering if this will always be free?  See why free is better.

Main Menu

There should be a "test installation" section

Started by EvilTessmacher, October 05, 2019, 09:38:56 AM

Previous topic - Next topic

EvilTessmacher

The reason I say this is, there are some questions I've not found answers for, and there should be a better way of explaining some things than there already is.

For example: I'd like to install this on a server that won't be accessible to the public, so that I can operate it and adjust it, and get used to managing it, before I go live with it. There doesn't seem to be an explanation of how to do such a thing, that I can find.

Maybe I'm too ignorant of the terminology used here, but almost everything I've read seems to be aimed at people who already know what they're doing, and already know how to do things. That leaves out a huge group of people  (like me) who neither know what we're doing, nor know how to do it.


Antechinus

#1
Ok, do you want a server you can run on your desktop, for testing only?* Or do you want to set a test site up online, but private?

If you want to run a test site on your desktop there are several packages available, and most of them are pretty easy to use. Basically you just install the thing, and then turn it on and off.

If you want a private site online then get yourself a basic hosting package, and set up a private directory (password-protected). Again not hard to arrange.

*You really don't want to try hosting your own online site from home, unless you're an expert.

EvilTessmacher

Quote from: Antechinus on October 05, 2019, 10:15:36 AM
Ok, do you want a server you can run on your desktop, for testing only?* Or do you want to set a test site up online, but private?

To answer both of those, I don't know.

Quote
If you want to run a test site on your desktop there are several packages available, and most of them are pretty easy to use. Basically you just install the thing, and then turn it on and off.

Without the specific names of such "packages" and detailed (as in step-by-step) instructions on how to install and use, this tells me it's probably not a very good option.  ??? 

Quote
If you want a private site online then get yourself a basic hosting package, and set up a private directory (password-protected). Again not hard to arrange.

I do happen to have hosting service for a personal website. I use it to put photos, links, memes, and such online, that I can link to. I would imagine I could set up this forum software on it, and learn how to use it, before I have the group I belong to obtain their own domain and hosting for me to set up their private forum once I get where I know enough to be a reasonably competent operator. That's why I'm wanting to do this. I'm also trying to do it with as little involvement from the group as possible, in case I don't get it working the way they would want it to work.

Quote
*You really don't want to try hosting your own online site from home, unless you're an expert.

Well, considering that I stated that I didn't know what I was doing, it's a pretty good guess that I'm nowhere close to being an expert.  :D I also don't know what "hosting your own online site from home" means... I thought every site was. I have the program that does the HTML, and then I add things, take things away, rearrange things, and then upload it to the host. Isn't that managing it from home?  ???

As long as nobody else goes on the forum after I've begun setting it up, at least not without my invitiation, it should be okay. I wouldn't know how to password protect it unless the instructions were written on the sole of the boot.  I'm really barely able to turn this dang thing on.  ::)

Illori

you could do another install on your current host in a different folder, put it in maintenance mode and only you would be able to access it.

EvilTessmacher

Quote from: Illori on October 05, 2019, 04:05:26 PM
you could do another install on your current host in a different folder, put it in maintenance mode and only you would be able to access it.

That sounds like a reasonable thing to do! If I had any knowledge base at all, it sounds like something I might have thought of!  ;D

My only question is this: What does it mean to "put it in maintenance mode" and how would I do that?

Part of me wanting to set it up on a temporary server is to be able to have one or two people from the group (who would end up being moderators) come to the forum for testing.

Is what I'm wanting to do even a feasible thing?

Antechinus

Yes, it's feasible. You go to your website hosting control panel and you make another folder inside your web root (which is usually called public_html). This folder is then accessible like any other web content, and you can put whatever you like inside it. Your control panel should also let you put a password on the new folder, so anyone who knows the password can gain access but everyone else is kept out.

Exactly how you do it will depend on what your control panel allows. Which one are you using? It should tell you somewhere. Common ones are cPanel, DirectAdmin, Plesk, etc.

Or, if you're lucky enough to have a host that is actually helpful, you can always ask them.

peterbehlendorf

I usually test bits on a subdomain (example.mydomain.com)

You can then use robots.txt/htaccess to block allow/deny access on the subdomain.

Antechinus

Yeah but they won't know what that means. I'm trying not to scare them. ;)

EvilTessmacher

Quote from: Antechinus on October 05, 2019, 06:15:39 PM
Yeah but they won't know what that means. I'm trying not to scare them. ;)

You're right. I only followed about 30% of it.   ;D

There are a few things I did recognize, like "web  root", "cPanel", and "subdomain" but I got lost with "robots.txt", and that permission-setting thing. Those are unfamiliar to me.  :o

I think I've got a decent sized learning curve.

Thanks for being so patient everyone. I'm really glad to see that there are folks here who remember what it was like not to know anything.




Antechinus


EvilTessmacher

Quote from: Antechinus on October 05, 2019, 07:29:47 PM
Ok, are you using cPanel? If yes, does anything on this page make sense?

https://documentation.cpanel.net/display/82Docs/Directory+Privacy [nofollow]

Yes, some of it does. There is a cPanel icon in the management page on my webhost.

It seems like there are some things I've done that are described in writing on that page. The written word always seems a little more formal and dry when compared to physical actions it takes to do some things.

I wasn't aware that there was a webpage with directions for cPanel. I wonder if there's a page somewhere that will tell me how to take a domain name and apply it to the forum I am hoping to create?  Sorry, I get ahead of myself.

Yes, some of that is familiar. And you are building to something.  ;)

Antechinus

QuoteYes, some of it does. There is a cPanel icon in the management page on my webhost.

Yay! :D And cPanel do want people to use their product, so directions are handy for that.

I'd suggest you try it. If you get it wrong, you can always delete the folder or change the password or whatever. It won't break anything. You can test the results by dropping something obvious like a known image in the folder, and then trying to call it in your browser. If everything is working you should see the username/password prompt, and if you enter the correct details the image should appear on your screen.


skb

Are you familiar with ftp packages?
Somewhere down the line you will also need to use one of them.

SMF 2.1.4 / TP 2.2.2

EvilTessmacher

Quote from: skb on October 05, 2019, 11:58:51 PM
Are you familiar with ftp packages?
Somewhere down the line you will also need to use one of them.

Yes, I use Deskshare's FTP Manager. It doesn't have a lot of bells and whistles, is simple, and does what I need with a minimum of fuss.

;D

EvilTessmacher

Quote from: Antechinus on October 05, 2019, 11:39:39 PM
QuoteYes, some of it does. There is a cPanel icon in the management page on my webhost.

Yay! :D And cPanel do want people to use their product, so directions are handy for that.

I'd suggest you try it. If you get it wrong, you can always delete the folder or change the password or whatever. It won't break anything. You can test the results by dropping something obvious like a known image in the folder, and then trying to call it in your browser. If everything is working you should see the username/password prompt, and if you enter the correct details the image should appear on your screen.

Okay, I read up on the MySQL Database Wizard, and there's some significant information left out of these "instructions". It tells you that you have to create a database, but doesn't say a single thing (at least not to me) about what to do in order to do that. No instructions on what to name it, no instructions or even so much as guidance on what to put in it, nothing. This is my biggest pet peeve with internet instructions. They're all written by people who act like the ones who are reading it actually don't need it. They answer questions in a manner that assumes the answer is already known. |I don't know how to proceed from here, because some critical (to me) information is left out.

Antechinus

I thought you were wanting to get the private directory set up first. If you want to do databases as well...

Go into phpMyAdmin (assuming your host will let you). Click on the tab at the top that says "Databases". You will now have "Create database" options. Give it a name. Select "utf8_unicode_ci" for collation. Hit the "Create" button. You now have a database. You don't have to put anything in it at this stage. The forum installation script puts stuff in it for you.

I suggest reading the SMF installation instructions. They'll probably drive you bonkers too.

https://wiki.simplemachines.org/smf/Installing#Create_a_Database_and_a_Database_User

SpacePhoenix

Quote from: EvilTessmacher on October 05, 2019, 03:59:58 PM

Quote
If you want to run a test site on your desktop there are several packages available, and most of them are pretty easy to use. Basically you just install the thing, and then turn it on and off.

Without the specific names of such "packages" and detailed (as in step-by-step) instructions on how to install and use, this tells me it's probably not a very good option.  ??? 



https://lmgtfy.com/?q=offline+web+server  ;)

EvilTessmacher

Quote from: Antechinus on October 06, 2019, 02:04:33 AM
I thought you were wanting to get the private directory set up first. If you want to do databases as well...

Go into phpMyAdmin (assuming your host will let you). Click on the tab at the top that says "Databases". You will now have "Create database" options. Give it a name. Select "utf8_unicode_ci" for collation. Hit the "Create" button. You now have a database. You don't have to put anything in it at this stage. The forum installation script puts stuff in it for you.

I suggest reading the SMF installation instructions. They'll probably drive you bonkers too.

https://wiki.simplemachines.org/smf/Installing#Create_a_Database_and_a_Database_User

This is what I meant when I said that there was important information left out. I wasn't sure which I was supposed to do first, the private directory or the database. The information wasn't clear to me. So, I presume I shall have to do the directory first, and then the database. Here is where it falls short for me. What do I name it?

If the installation instructions are as well written as the other pages I've read so far, I believe I won't have to worry about creating a forum. I'll be too insane to even know what day it is. My memory is bad enough. If it gets any worse, I will be able to plan my own surprise party.

By the way, I haven't thanked you for your kind assistance yet. So, thank you for your kind assistance.

EvilTessmacher

Quote from: SpacePhoenix on October 06, 2019, 04:23:32 AM
Quote from: EvilTessmacher on October 05, 2019, 03:59:58 PM

Quote
If you want to run a test site on your desktop there are several packages available, and most of them are pretty easy to use. Basically you just install the thing, and then turn it on and off.

Without the specific names of such "packages" and detailed (as in step-by-step) instructions on how to install and use, this tells me it's probably not a very good option.  ??? 



https://lmgtfy.com/?q=offline+web+server [nofollow]  ;)

Thank you. That doesn't necessarily seem like the option I need to pursue at this time. I do appreciate the information though.

Antechinus

Quote from: EvilTessmacher on October 06, 2019, 04:39:06 AMThis is what I meant when I said that there was important information left out. I wasn't sure which I was supposed to do first, the private directory or the database.

Doesn't matter. My 2c is do the directory first, because it requires reading less arcana, and if you get that sorted it will give you a feeling of accomplishment. :D

QuoteHere is where it falls short for me. What do I name it?

Doesn't matter. If you want to call the database my_old_mans_a_dustman and the directory the_hunting_of_snark nobody is going to stop you. It's just a name. Choose whatever seems right to you. Just make sure to connect words with an underscore. It's a convention, and reduces the chance of whoopsies.

QuoteBy the way, I haven't thanked you for your kind assistance yet. So, thank you for your kind assistance.

You should see some of the questions I asked when I was a beginner. :D

Advertisement: