Installing killboard onto my vps
-
To cut a long story short (apologies if this wasnt best section?) I a killboard (records kills/losses) for a game called eve online.
Now the killboard itself is installed by running its install.php file and telling it the details of your sql database
Now ive done this many a time on a shared host but obv on a vps its very different matter.
What im trying tp find out (and at almost 2am have had to admit defeat for the night) is
1) Where should i be placing the install folder do i want it in public_html/killboard.me/public ?
2) How do i actually get my webserver to run the install.php file ?
3) If/when it does install at the end of the install process it gives the link to your killboards main page how do i get my webserver to serve up this page ? i dont mind if its the sites main page or not.
Ive been looking at virtual host files and symlinks and i guess answer is in there somewhere but some starting pointers would be great.
Ive sorted phpmyadmin so the db wont be a problem.
Posted 1 year ago # -
1. yes! (unless it's a subsite, but sounds like a main domain huh?)
2. depends on their readme, but generally by going to http ://killboard.me/ (same as ...oard.me/install.php if vhost is set up right
3. that's where the site configuration file, better known as the virtual host file or vhost file, comes in.Add Web Sites Nginx Cheatsheet
.. you'll find more detail in Serve Multiple Sites & Blogs with Virtual Hosts too but the first link should take you to all relevent links, Mr Stewart.
Posted 1 year ago # -
1. yes! (unless it's a subsite, but sounds like a main domain huh?)
2. depends on their readme, but generally by going to http ://killboard.me/ (same as ...oard.me/install.php if vhost is set up right
3. that's where the site configuration file, better known as the virtual host file or vhost file, comes in.Add Web Sites Nginx Cheatsheet
.. you'll find more detail in Serve Multiple Sites & Blogs with Virtual Hosts too but the first link should take you to all relevent links, Mr Stewart.
Posted 1 year ago # -
Starting to fear that im in so far over my head that i can't even see the surface lol
The index.php file required to commence the install of the killboard is located on my vps with this folder
/home/public_html/killboard.me/public/install
Try as i might i can't seem to run this at all
the vhost ive edited is below
Im probably missing the point entirely here and i apologise for the constant posts.
server {
listen 80;
server_name killboard.me;
rewrite ^/(.*) killboard.me/$1 permanent;
}server {
listen 80;
server_name killboard.me;
access_log /home/public_html/killboard.me/log/access.log;
error_log /home/public_html/killboard.me/log/error.log;location / {
root /home/public_html/killboard.me/public/;
index index.php index.html;
}# pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000
location ~ \.php$
{
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
include /usr/local/nginx/conf/fastcgi_params;
fastcgi_param SCRIPT_FILENAME /home/public_html/waywiderweb.com/public/$fastcgi_script_name;
}
}Posted 1 year ago # -
Ignore last msg i have an update !
Dont know how but ive got my head around vhosts and have got my killboard 50% of the way through the install.
However...... ;p
guvnr@mail/usr/local/nginx/sites-
available
$ phpmyadmin.killboard.me
-bash: phpmyadmin.killboard.me: command not foundI can't seem to get phpmyadmin to work to create the database i need :-(
PHP myadmin installed fine no errors or anything.
I tried removing it and reinstalling it (it didnt ask about the apache 2 thing 2nd time round)
so i ran this
sudo dpkg-reconfigure -plow phpmyadmin
and selected it with no difference to end result
Posted 1 year ago # -
Brian .. dashing off to a wedding m8 .. real sorry .. back Monday!!
Posted 1 year ago # -
all fixed site installing and running fine now.
Problem was (i found this somewhere else while rooting around some phpmyadmin sites) When installing phpmyadminand selecting apache 2 you MUST press space to put a * in the box beside it before hitting return or it doesnt give you apache 2 regardless of what you highlighted.
Possibly something to add ? As a total noob user and not having dealt with linux before its not something i knew about.
Posted 1 year ago #
Reply
You must log in to post.
Want HTML?
a blockquote code em strong ul ol liPlace code between backticks `codeHere`
You've got it.
