• Hey guys, I’m in ACM at my university and we have just been given 500mb of free web space and I would like to install Word Press. The only problem is that we can only work via the terminal on Linux. I don’t think that the admins running the school server have set up a remote desktop connection. Anyways, I downloaded the Word Press .tar.gz file and I would like to know how to do the following things.
    1. How do I transfer the tar file from my home directory to my server directory?
    2. How do I install word press via the terminal?

Viewing 14 replies - 1 through 14 (of 14 total)
  • Well for one thing, the installation and configurations can be done via the web browser. WordPress has a built in application that will setup the wp-config.php so that you don’t need to change any files. Just simply uploaded to the server and try to view your page. The instructions will show you how to set everything up… You just need to have a database, PHP support, and you should be good to go. As for transfering, as far as I understand, your saying that the server doesn’t have FTP support? If it doesn’t maybe you have telnet?

    Thread Starter bert0

    (@bert0)

    I can ssh into the server, if that’s what you’re referring to. I forgot how you transfer files via ssh from your desktop, but from what I remember it went something like:
    cp <foldername> <source directory>………..or something in that sense.
    In terms of the ACM server, we have full support for PHP, mySQL, and just about everything else.

    If can ssh into the server, then use wget from the server’s command line.
    wget http://wordpress.org/latest.tar.gz
    will download wordpress
    tar -zxvf wordpress-1.2-mingus.tar.gz
    (check the file name, I’m not sure)
    should untar wordpress
    mv wp-config-sample.php wp-config.php
    and
    vi wp-config.php
    to edit wp-config.php
    then access the blog from a browser, and you are all set to install it.

    Thread Starter bert0

    (@bert0)

    Ok cool I just did the tar in my server directory, now the only thing left is to modify the wp-config.php file. Which I don’t what to do with it.
    Can anybody help? Sorry I’m a newbie to this.
    Oh and another note the server says that for every file that I want to display on my website, I am going to have to do a chmod ~755. Which honestly I don’t know what it means.
    Thanks for the responses guys, I really appreciate it,
    Peace,
    Bert0

    RTFM πŸ™‚
    Well, what I meant was that the installation of wordpress is a simple enough process, and if you look around, under DOCS, at this very site, you will find the installation instructions.
    Don’t worry about chmod. Right now, just go ahead and install it, following the instructions.

    Thread Starter bert0

    (@bert0)

    Well, I’m still stuck unfortunately. I went to the 5 minute installation site and i says to “fill in your database details” I seriously don’t know much about PHP or mySQL, so I wouldn’t even know where to begin on how to modify the wp-config.php file. πŸ™

    In addition to webspace, Installing wordpress requires a server that has PHP and MySQL. Please ask you host if the requirements are met, and ask them how you can create, edit, or use a MySQL database. I am sorry but you have to contact whoever handles the server for details regarding your server.

    Thread Starter bert0

    (@bert0)

    Well, on the installation instructions it says that I have to upload the files onto the server. Well if I’m already logged into my server account via ssh and I downloaded all the files onto my user directory. Should I still have to upload the files to myself? I’m confused about this part. If I do have to actually upload my files, how would I go about that?

    Thread Starter bert0

    (@bert0)

    On top of that, the server that I work with does have apache, PHP, and MySQL.

    Most likely you’ll have to create users and the database via ssh. For that of course you’ll need an initial username and password or have the sysadmin create them. Either way you’ll need to contact your sysadmin to get this setup, as this does not seem to be a supported method for installing. Once you get past setting up the database and username/password to access it, you’re set though.

    Hrm…I can see this thread getting really, really long.
    I highly suggest you try to find someone who can walk you through these things in person. For a first timer dealing with MySQL, PHP, WP all through SSH, you’re going to go nuts πŸ˜‰
    Having a person to talk through these things will move the process a lot faster and easier.
    Course, we’re not going anywhere πŸ˜€

    Thread Starter bert0

    (@bert0)

    Yeah, seriously I just emailed the system admin for the club server and what drives me nuts is that the guy is very laggy on his responses. Since everyone is on vacation right now, it’s really hard to get a hold of people on campus.
    I mean seriously this installation does not take long. If anything I think my problem is trying to get the files uploaded. If you go to this link right here: http://acmserver.cs.ucr.edu/~rvillatoro/wordpress/
    As you can see I get the following error message:
    Error establishing a database connection! This probably means that the connection information in your wp-config.php file is incorrect. Double check it and try again.
    Are you sure you have the correct user/password?
    Are you sure that you have typed the correct hostname?
    Are you sure that the database server is running?
    WordPress Support Forums
    Well I put in my login and pw for the server. In terms of the host name, I didn’t change it and left it as localhost. Everything on the server is running at the moment, so there shouldn’t be any problems. I just really think that I don’t know how to install this thing. There is something that I’m not doing right.
    I really wish that the club server would allow me to connect to them via Remote Desktop. Unfortunately I have to do all of this through the Linux terminal.
    Thanks for all the help guys. Bleh, any other suggestions would still be greatly appreciated.

    The login/password you are using – are they the same ones you use to get in VIA telnet/ssh? Because, usually, the MySQL username/password is different than the “account” username/password.
    To clarify:
    Linux is an operating system with users (each with a login/pass)
    FTPd is a FTP server that has it’s own set of users with login/pass’s.
    In the same stried, MySQL is a database server with it’s own set of users (and login/pass’s)
    So, that would most likely be the step that you are at right now. You have a login/pass for the linux OS, but are lacking the one for the MySQL server…or so it seems from what I’ve read.

    Thread Starter bert0

    (@bert0)

    Yes, the login/password that I use to log into ssh is the mySQL login/password that I plan on using.
    I’m still trying to setup a mySQL database but I’m still having problems with it. I think this is the only thing that is preventing from getting this thing to work.

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘Installing Via Terminal’ is closed to new replies.