1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Bits Build your own server: Part 2

Discussion in 'Article Discussion' started by Tim S, 24 Jul 2007.

  1. Glider

    Glider /dev/null

    Joined:
    2 Aug 2005
    Posts:
    4,173
    Likes Received:
    21
    Can you post the output of
    Code:
    sudo ls -al /var/www/*
     
  2. ~tjb~

    ~tjb~ Not Your Average 17 year old

    Joined:
    30 Nov 2007
    Posts:
    20
    Likes Received:
    0
    Here ya go
    Code:
    travis@xubuntu-server:~$ sudo ls -al /var/www/*
    [sudo] password for travis:
    total 32
    drwxr-xr-x 2 root root 4096 2008-04-18 22:37 .
    drwxr-xr-x 3 root root 4096 2008-04-18 22:37 ..
    -rw-r--r-- 1 root root 2205 2005-12-14 08:25 apache_pb22_ani.gif
    -rw-r--r-- 1 root root 2410 2005-12-14 08:25 apache_pb22.gif
    -rw-r--r-- 1 root root 1502 2005-12-14 08:25 apache_pb22.png
    -rw-r--r-- 1 root root 2326 2004-11-20 12:16 apache_pb.gif
    -rw-r--r-- 1 root root 1385 2004-11-20 12:16 apache_pb.png
    -rw-r--r-- 1 root root   44 2004-11-20 12:16 index.html
    travis@xubuntu-server:~$ 
    
     
  3. ~tjb~

    ~tjb~ Not Your Average 17 year old

    Joined:
    30 Nov 2007
    Posts:
    20
    Likes Received:
    0
    I just noticed that there is a "MySQL Administrator" and "MySQL Query Browser" in the Applications/Development menu.
     
  4. Glider

    Glider /dev/null

    Joined:
    2 Aug 2005
    Posts:
    4,173
    Likes Received:
    21
    Well, PHPMyAdmin doesn't seem to be installed. Reinstall it through synaptics.
     
  5. ~tjb~

    ~tjb~ Not Your Average 17 year old

    Joined:
    30 Nov 2007
    Posts:
    20
    Likes Received:
    0
    This is what I get In the Details once synaptic is done (re)installing.
    Code:
    Preconfiguring packages ...
    (Reading database ... 91538 files and directories currently installed.)
    Preparing to replace phpmyadmin 4:2.10.3-1ubuntu0.2 (using .../phpmyadmin_4%3a2.10.3-1ubuntu0.2_all.deb) ...
    Unpacking replacement phpmyadmin ...
    Setting up phpmyadmin (4:2.10.3-1ubuntu0.2) ...
     * Reloading web server config apache2
    4787
    apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
       ...done.
    invoke-rc.d: unknown initscript, /etc/init.d/apache not found.
    invoke-rc.d: unknown initscript, /etc/init.d/apache-ssl not found.
    invoke-rc.d: unknown initscript, /etc/init.d/apache-perl not found.
     
  6. Glider

    Glider /dev/null

    Joined:
    2 Aug 2005
    Posts:
    4,173
    Likes Received:
    21
    Does the phpmyadmin page show up under /var/www/?
     
  7. ~tjb~

    ~tjb~ Not Your Average 17 year old

    Joined:
    30 Nov 2007
    Posts:
    20
    Likes Received:
    0
  8. completemadness

    completemadness What's a Dremel?

    Joined:
    11 May 2007
    Posts:
    887
    Likes Received:
    0
    if you have no other website things/changes
    Code:
    sudo apt-get remove --purge apache2 phpmyadmin
    then re-install them
    Code:
    sudo apt-get install apache2 phpmyadmin
    or
    Code:
    sudo aptitude install apache2 phpmyadmin
     
  9. ~tjb~

    ~tjb~ Not Your Average 17 year old

    Joined:
    30 Nov 2007
    Posts:
    20
    Likes Received:
    0
    What do I do here?
    Code:
    Package configuration                                                           
    
       ┌───────────────────────┤ Configuring phpmyadmin ├───────────────────────┐   
       │ phpMyAdmin supports any web server that PHP does, but this automatic                                  │   
       │ configuration process only supports Apache.                                                                              │   
       │                                                                        │   
       │ Web server to reconfigure automatically:                               │   
       │                                                                        │   
       │    [ ] apache2                                                         │   
       │    [ ] apache                                                          │   
       │    [ ] apache-ssl                                                      │   
       │    [ ] apache-perl                                                     │   
       │                                                                        │  
       │                                                                        │   
       │                                 <Ok>    
     
  10. Glider

    Glider /dev/null

    Joined:
    2 Aug 2005
    Posts:
    4,173
    Likes Received:
    21
    Select Apache2

    EDIT: you can recall that by doing
    Code:
    sudo dpkg --reconfigure phpmyadmin
     
  11. ~tjb~

    ~tjb~ Not Your Average 17 year old

    Joined:
    30 Nov 2007
    Posts:
    20
    Likes Received:
    0
    It's still not showing up.
     
  12. Millusdk

    Millusdk What's a Dremel?

    Joined:
    27 Jan 2008
    Posts:
    140
    Likes Received:
    1
  13. ~tjb~

    ~tjb~ Not Your Average 17 year old

    Joined:
    30 Nov 2007
    Posts:
    20
    Likes Received:
    0
    Thanks. I can get to it but isn't in /var/www/
     
  14. Millusdk

    Millusdk What's a Dremel?

    Joined:
    27 Jan 2008
    Posts:
    140
    Likes Received:
    1
    That is because in the latest version of xubuntu phpmyadmin is not places in /var/www/ instead it uses a alias. In theory it gives the same function, only phpmyadmin does not show up if you have no index page in root :D
     
  15. curiouscat

    curiouscat What's a Dremel?

    Joined:
    2 Nov 2007
    Posts:
    3
    Likes Received:
    0
    I don't know if this issue has been addressed by a previous post but I couldn't find anything related after scrolling through the messages.

    I've been using PuTTY and UltraVNC Viewer without any issues for a couple of months now. The only glitch I suffer from is when my Xubuntu box goes headless and I try connecting to it from other computers. UVNC viewer cannot seem to resolve the correct resolution from my Xubuntu box and keeps giving me only 640x480 (or the like).

    One thing I've noticed is that when I temporarily attach a monitor to my Xubuntu box, UVNC viewer then defaults to the correct resolution. After the Xubuntu box reboots, however, the screen resolution glitch comes back.

    I've tried newer versions of UltraVNC Viewer to no effect. Anyone have the same issues and/or have tips for this problem? Thanks and cheers!
     
  16. Millusdk

    Millusdk What's a Dremel?

    Joined:
    27 Jan 2008
    Posts:
    140
    Likes Received:
    1
    It sounds like it is not a problem related to your UltraVNC client. I think it might be a problem related to your Xubuntu box. I think you should check the settings for displays on your box.
     
  17. iwekani

    iwekani What's a Dremel?

    Joined:
    21 Nov 2007
    Posts:
    3
    Likes Received:
    0
    Hi Glider....You did a wonderful job with these articles. I was looking for an alternative to Window$ Home $erver and you took me almost there. I am noobie to Linux but enjoy learning. Are you planning a part III?

    Cheers
     
  18. Millusdk

    Millusdk What's a Dremel?

    Joined:
    27 Jan 2008
    Posts:
    140
    Likes Received:
    1
    I remember Glider saying that if you have ideas for a good subject, there might turn up an article about how to do it. He wasn't gonna make one by himself, if there wasn't the need for one. Just say what you are interested in knowing about, and he might look into it.
     
  19. KillerOrca

    KillerOrca What's a Dremel?

    Joined:
    29 Apr 2008
    Posts:
    6
    Likes Received:
    0
    I have this same problem too and would also like an answer if anyone knows. I also have a few other problems that if anyone knows how to solve I would appreciate:

    1. I can't seem to set a static IP address up, anyone have any experience with this?
    2. I haven't downloaded the no-ip package, because I wanted to try out the forwarding first. I got the forwarding on 2222 to work but when I try forwarding 80 to 12345 it doesn't work, do I need to have no-ip set up for the second forward to work?
     
  20. Millusdk

    Millusdk What's a Dremel?

    Joined:
    27 Jan 2008
    Posts:
    140
    Likes Received:
    1
    As I have said before, I think the problem is related to the Xubuntu box itself, and has nothing to do with the ultravnc client.
     
Tags: Add Tags

Share This Page