stupid question? complete neewbie.

Discussion in 'HOWTO-Related Questions' started by Kev King, May 1, 2008.

  1. Kev King

    Kev King New Member

    Have recently got a server. It came pre set up with centos, as per my request.

    Can connect to it via putty and ftp, and have upped some stuff to load up and run.

    Now comes the stupid question, how do i run the scripts to run these packages. I cannot access it via my web browser for some reason, even tho a connection is made via putty. I have not transfered my domain yet, but that shouldnt make any difference. I can access the root, but dont know what to do?:confused:

    Is there a way of seeing what is installed, a desktop veiw would be handy.

    I guess thats the trouble with us being brought up on windows, its all too easy.

    I really want to learn this stuff, it beats my day job.

    Any help would be very much appreciated, or just a pointer in the right direction!!!
     
  2. zcworld

    zcworld New Member

    ok you got a server and you want a desktop on it personal BADD move
    less stuff you dont need running / installed the better :)
    less stuff to update in the end and remember about

    ow comes the stupid question, how do i run the scripts to run these packages.

    like programs or web scripts
    or something else

    im lost there

    i just got home from work : so ... im not with it fully yet
     
  3. falko

    falko Super Moderator ISPConfig Developer

    What scripts?

    I think the easiest way to get up and running is follow this tutorial: http://www.howtoforge.com/centos-5.1-server-lamp-email-dns-ftp-ispconfig
    and then install ISPConfig on it.
     
  4. Kev King

    Kev King New Member

    Thankyou falko

    got stuck at step 8 quota. No etc/fstab and /dev/VolGroup00/LogVol00 directories. etc and dev are there but not the sub-directories. I think its because i skipped the first couple of install pages, because centos was already installed, didnt think i needed to. But obviously not as you have done in your tutorial.

    Wondering wether to do a clean reinstall, but that sounds pretty duanting.:(
     
  5. falko

    falko Super Moderator ISPConfig Developer

    It's /etc/fstab, not etc/fstab.
     
  6. Kev King

    Kev King New Member

    Sorry to be a pain, but I got the following warning after running vi /etc/fstab

    E325: ATTENTION
    Found a swap file by the name "/etc/.fstab.swp"
    owned by: root dated: Fri May 2 21:14:42 2008
    file name: /etc/fstab
    modified: YES
    user name: xxxx host name: xxxxxxxxxxxxxxxxxxxxxxx
    process ID: 2528
    While opening file "/etc/fstab"
    dated: Sat May 3 23:08:18 2008
    NEWER than swap file!

    (1) Another program may be editing the same file.
    If this is the case, be careful not to end up with two
    different instances of the same file when making changes.
    Quit, or continue with caution.

    (2) An edit session for this file crashed.
    If this is the case, use ":recover" or "vim -r /etc/fstab"
    to recover the changes (see ":help recovery").
    If you did this already, delete the swap file "/etc/.fstab.swp"
    to avoid this message.
    "/etc/fstab" 9L, 704C
    Press ENTER or type command to continue

    not sure what to do, dont want to do more damage than good, any advice?
     
  7. Kev King

    Kev King New Member

    more info

    details of /etc/fstab

    /dev/VolGroup00/LogVol00 / ext3 defaults,usrquota,grpquota 1 1
    LABEL=/ / ext3 defaults 1 1
    LABEL=/boot /boot ext2 defaults 1 2
    tmpfs /dev/shm tmpfs defaults 0 0
    devpts /dev/pts devpts gid=5,mode=620 0 0
    sysfs /sys sysfs defaults 0 0
    proc /proc proc defaults 0 0
    LABEL=SWAP-hdc2 swap swap defaults 0 0
    /dev/VolGroup00/LogVol01 swap swap defaults 0 0
     
  8. falko

    falko Super Moderator ISPConfig Developer

    Run
    Code:
    rm -f /etc/.fstab.swp
    and then try to edit /etc/fstab again.
     
  9. Kev King

    Kev King New Member

    Cheers falko your a star, I seem to have moved forward a bit now, well somethings working ha ha. But...........

    [[email protected] ~]# touch /aquota.user /aquota.group
    [[email protected] ~]# chmod 600 /aquota.*
    [[email protected] ~]# mount -o remount /
    [[email protected] ~]# quotacheck -avugm
    quotacheck: WARNING - Quotafile //aquota.user was probably truncated. Can't save quota settings...
    quotacheck: WARNING - Quotafile //aquota.group was probably truncated. Can't save quota settings...
    quotacheck: Scanning /dev/hdc3 [/] \

    should this stage take long it seems to have been running for at least half an hour?
     
  10. Kev King

    Kev King New Member

    Ignore that last post it all went thru ok, I think.

    quotacheck: Scanning /dev/hdc3 [/] done
    quotacheck: Checked 12361 directories and 103949 files
    [[email protected] ~]# quotaon -avug
    /dev/hdc3 [/]: group quotas turned on
    /dev/hdc3 [/]: user quotas turned on
     
  11. Kev King

    Kev King New Member

    A very big thankyou, got to the end and it all works, I think.

    The only problem I have is that when I ran the password setup for mysql I must of hit some keys by mistake and dont have access to mysql. Is there a password reset facility or do I need to uninstall and reset it up.

    Once again a big thankyou, I aint a computer programmer but I have got some basic knowledge, but I feel very satisfied after setting all that up.
     
  12. falko

    falko Super Moderator ISPConfig Developer

  13. Kev King

    Kev King New Member

    Thankyou again falko, I did find that after I posted my question, should of updated my post. And more importantly took the time to do a little searching.
     

Share This Page