posted
Alright so how can I assuming I had access to a linux server 24/7 create a forum? I understand that one of those free ones might be sufficient for my wishes but I would like to get a good hard shove down the right hillside as a computer sciences related project.
IP: Logged |
posted
It isn't clear to me, are you looking for advice on writing a forum, or on installing one?
As far as writing, don't do that. It is a bad idea.
As far as installing, some make the process almost trivial, provided a little basic knowledge of how *nix works. Simple Machines Forum is well-regarded.
Posts: 15770 | Registered: Dec 2001
| IP: Logged |
Writing a secure forum is very difficult, but if you just want to fool around with some code you can always install EasyPHP on your machine and run SMF off of it.
posted
Most of the decent ones these days have web-based installation packages. Usually you need to know enough about the server to be able to setup a new database for the forum to use, upload the forum install package and point a web server to the right address.
Posts: 2245 | Registered: Nov 1998
| IP: Logged |
posted
I don't think installing and running a forum is a trivial enough task that it can be adequately be addressed here. Read the docs for the forum software you're looking at and see if they have a support forum if anything is not clear.
In general, you'll tend to better if you try to figure it out for yourself and only ask for help when you get stuck. If you're getting stuck before you even get started, then maybe you need to brush up on some more basic skills first.
Posts: 3275 | Registered: May 2007
| IP: Logged |
Blayne Bradley
unregistered
posted
I can upload stuff and access it and possess full rights on my particular assigned part of the Linux server.
posted
And does that include the ability to put up web pages, and more particularly PHP web pages, and does that include a MySQL or other database account?
The first can be confirmed by checking for a www directory, usually.
The second can be confirmed by putting the following script in the www directory (with the extension .php) and seeing if it works:
code:
<?php phpinfo(); ?>
The last, you'll have to find out from your school.
I'm assuming "full rights on my particular assigned part of the Linux server" means you've got a normal user account.
Posts: 15770 | Registered: Dec 2001
| IP: Logged |
Blayne Bradley
unregistered
posted
all 3 = yes. I have a MySQL account, the abilityt o put up a webpage and it uses php.
However now I have run into 2 problems, the first is putty related and possibly vista is the culprit.
I open putty type int he server host name click open and i get a pop up saying:
"Network Error Permission denied" then im left with an inactive putty window.
Second, at the www.yourdomain.com/smf/install.php i need to type in port number, hostname, username, and password and as well the path /home/username/public_html/smf which was automatically detected i click connect and it gives me:
"Unable to connect to FTP server with this combination of details."
posted
Alright well the connect to ftp server step luckily it seems SMF has predicted my predictiment and had steps to do that mpart manually via my ftp client.
IP: Logged |
posted
You probably want to take down that info page; nothing there should be sensitive, but its never a good idea in case it is or becomes so. Given you have a MySQL db, you should be able to run SMF no problem.
Posts: 15770 | Registered: Dec 2001
| IP: Logged |
Blayne Bradley
unregistered
posted
Next, whats the name of the alliance in Babylon 5? need it for the forum name.
IP: Logged |
Blayne Bradley
unregistered
posted
I put in the MySQL server name which i assume is the same seevr name as linux2-cs.johnabbott.qc.ca, and I try using localhost by default and get these errors.
Cannot connect to the MySQL database server with the supplied data.
If you are not sure about what to type in, please contact your host. Lost connection to MySQL server during query
This is when i put in linux2-cs.johnabbott.qc.ca. it says 99% of the time I should use localhost instead but then i get this error:
Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111)
posted
MySQL is often hosted on a separate server. The errors you are getting indicate MySQL is not running on the server you are entering. You need to find the appropriate documentation for where your MySQL database can be accessed.
Posts: 15770 | Registered: Dec 2001
| IP: Logged |
Blayne Bradley
unregistered
posted
grrr, would that have anything to do with the Oracle server?
IP: Logged |
posted
Perhaps, if some wires got crossed in the telling. Note, however, that an Oracle DB is not a MySQL DB, and code which relies on a specific type of database may not function on another.
Posts: 37449 | Registered: May 1999
| IP: Logged |
Blayne Bradley
unregistered
posted
Is it also possible that the MySQL server is on the Linux server but its somewhat buried in it somewhere?
IP: Logged |
Blayne Bradley
unregistered
posted
It says in the test.php page
MYSQL_SOCKET /var/lib/mysql/mysql.sock
but in the php smf script it says cannot to the local php server at through that socket though.
Does that still imply that MySQL server isnt within the linux server or is there another problem implied here?
IP: Logged |
posted
That could easily show up whether or not MySQL is running on the server. Your other results suggest MySQL is not running on the server.
Do you have shell access? If you have SFTP access, you probably have SSH access. It might be possible to find out if mysqld is running, but there's really no point in futzing around like that, because . . .
Your school should have provided some documentation about how to use your MySQL database. There is no easy way of inferring how they have set it up. Find that documentation or call someone.
Posts: 15770 | Registered: Dec 2001
| IP: Logged |