Sweet guide. This level of documentation is what I needed to get going with Linux more than just dropping a distro on an old box for giggles and getting frustrated. Getting my own server up is a big step towards real value that makes me want to explore even more. Great job!!!
Now my problem, it is relatively minor but I would like to fix it as does JSHEFF I suppose.
Quote:
Originally Posted by jsheff Ok, I've already solved my own problem. I hadn't set the repositories (Settings -> Repositories) to download content from the internet. Hope that helps, _SYC_ . You know, I'm actually really enjoying this linux stuff, I thought it'd scare the crap out of me, but I'm finding it surprisingly easy to pick up. Thanks a lot, Glider!
Edit: Ach! I've been following along with the guide, and I've come across the Putty connecting while UltraVNC does not problem. I thought I'd deal with that later as I'm not currently planning on running it headless until I get it set up entirely. Anyhow, the next step is yet another stumbling block. I've installed MySQL and PHPMyAdmin, with all the dependencies, but when I browse to http://localhost/ only the Apache folder is there. There is no PHPMyAdmin folder. I'm going to try un and re-installing both. Maybe I've gone wrong there. Still need a fix for the VNC though, I tried replaced the tilde with home/user but the problem still persists
Edit 2: The problem is still there. I've completely removed anything PHP and MySQL related and reinstalled them, but still no joy in getting a PHPMyAdmin folder to appear in my localhost dir. The Apache2 folder is there, and "It works", but PHP apparently does not. Can anyone help?
Has anyone else experienced this missing PHPMyAdmin folder problem? Any luck determining a fix? I wonder if this arises from using Xubuntu 7.10?
Originally Posted by Rambiezel Hey vlyblfreak. How did you fix the error " Fatal: <Directory>: missing arguments on line 98 of '/etc/proftpd/proftpd.conf' "?
Browse throug the thread, there are other configs that solve this problem in the thread.
Quote:
Originally Posted by spaggy Hey Glider, I'm having a few troubles again. It sometimes happens that I can't edit (move, delete, etc) the files on my tf root dir.
Code:
sudo chmod -R 777 <path>
again solves it, but it doesn't seem normal.. What can I do to make the command permanent?
Userrights is something that can be frustrating at first. A quick an nasty hack is to make a cronjob that sets all the rights every 5 minutes or something ;)
Quote:
Originally Posted by rcbrush99 Glider,
Sweet guide. This level of documentation is what I needed to get going with Linux more than just dropping a distro on an old box for giggles and getting frustrated. Getting my own server up is a big step towards real value that makes me want to explore even more. Great job!!!
Now my problem, it is relatively minor but I would like to fix it as does JSHEFF I suppose.
Has anyone else experienced this missing PHPMyAdmin folder problem? Any luck determining a fix? I wonder if this arises from using Xubuntu 7.10?
Try reinstalling PHPMyAdmin through synaptic. That might fix it.
Thanks for the help on my previous problem. I am also experiencing the missing PHPMyAdmin folder problem. I tried reinstalling PHPMyAdmin through synaptic and that did not work. Any other suggestions? Also, like others have said...sweet guide!
Originally Posted by Rambiezel Hey vlyblfreak. How did you fix the error " Fatal: <Directory>: missing arguments on line 98 of '/etc/proftpd/proftpd.conf' "?
Browse throug the thread, there are other configs that solve this problem in the thread.
Quote:
Originally Posted by spaggy Hey Glider, I'm having a few troubles again. It sometimes happens that I can't edit (move, delete, etc) the files on my tf root dir.
Code:
sudo chmod -R 777 <path>
again solves it, but it doesn't seem normal.. What can I do to make the command permanent?
Userrights is something that can be frustrating at first. A quick an nasty hack is to make a cronjob that sets all the rights every 5 minutes or something ;)
Quote:
Originally Posted by rcbrush99 Glider,
Sweet guide. This level of documentation is what I needed to get going with Linux more than just dropping a distro on an old box for giggles and getting frustrated. Getting my own server up is a big step towards real value that makes me want to explore even more. Great job!!!
Now my problem, it is relatively minor but I would like to fix it as does JSHEFF I suppose.
Has anyone else experienced this missing PHPMyAdmin folder problem? Any luck determining a fix? I wonder if this arises from using Xubuntu 7.10?
Try reinstalling PHPMyAdmin through synaptic. That might fix it.
After reading http://ubuntuforums.org/showthread.php?t=591952 ALL THE WAY THROUGH I decided to completely uninstall phpmyadmin via Synaptic. I then reinstalled phpmyadmin with the use of "apt-get install phpmyadmin". During the CLI install you will get a choice to select Apache 2 server configuration, which I did with the spacebar. I still do not get the phpmyadmin folder at the localhost interface but if you go to http://localhost/phpmyadmin/ I do see the page finally. From what I can gather I think this is recommended in recent phpmyadmin builds to minimize symlinks.
Is it possible that there are partitions on the HD allready? I once had the problem that the LiveCD mounted the allready existing partitions when it booted. So try this:
Before you double click the 'install' icon, look for icons of other harddisks/partitions on the desktop. If there are, right click them and select 'umount'. If there are none, open a terminal and type 'mount'. You'll get a list of all the mounted partitions. If one of the lines start with '/dev/hda*' (replace the * by any number) then you should 'umount' the partition with the command 'sudo umount /dev/hda*'
getting annoyed at my server now i just made an new server that is useing an Nvidia motherboard but UDMA keeps on turning off (win3k 64bit could be the problem) its got 4 Sata connectors and thay keep on falling back to PIO mode i used an tool to force UDMA but in taskmanager still maxing 1 core out as kernel use when moveing files from 1 disk to an other
Gliders right, it would cause untold havok with the file system registers and data would be constantly marked as corrupted even though it's not, it's down to a failsafe so a hard drive knows when data can and cannot be used.
nope no logic in maxing your CPU out when moveing files the logic is below
moveing files when UDMA is on is an 1-4% cpu job Single or dual core
moveing files in PIO mode is cpu 100% Kernel event (50% if dual core) as file transfers go tho the CPU not off loaded via chip set (thats why thay made UDMA)
i have full understanding on the way single threded programs work so in PIO mode so on an dual core CPU it will be 50% very annoying as i cant do any thing on the server untill its finished unpacking or copying files even small 350MB ones , allso ties up the Network subsystem untill the file copy is compleat
just wish Nvidia driver would stop turning Udma off (this is for the SATA connecters)
i load windows 2003 32bit see if that resoves the problem, wish i could use windows 2000 but cant get stuff working on that os any more now
do not use linux tryed it could not realy get samba to work (at constant speed)
used an tool to force UDMA back on but did not work as well
i am finding its not likeing segates hard disks as i put 2 WD on the Sata same ports (3 and 4) and thay seem to be going at Udma mode the other sata disk thats on Sata 1 (1 of 2) connector that one is on PIO mode
but as i am unpacking files still getting 50-60% red (kernel) Use in taskmanager
think i just pin it down to poor nvidia drivers for win3k mite just load XP on it on the end
I installed x11vnc and it worked perfectly, however after I rebooted xubuntu I can't get it to work anymore.
It didn't start automaticly as it should, so I tried to start it with sudo "sh /usr/local/bin/sharex11vnc" but I got this error:
Code:
27/12/2007 03:25:46 x11vnc version: 0.8.2 lastmod: 2006-07-12
27/12/2007 03:25:46
27/12/2007 03:25:46 *** XOpenDisplay failed. No -display or DISPLAY.
27/12/2007 03:25:46 *** Trying ":0" in 4 seconds. Press Ctrl-C to abort.
27/12/2007 03:25:46 *** 1 2 3 4
Xlib: connection to ":0.0" refused by server
Xlib: Invalid MIT-MAGIC-COOKIE-1 key
27/12/2007 03:25:50
27/12/2007 03:25:50 ***************************************
27/12/2007 03:25:50 *** XOpenDisplay failed (:0)
*** x11vnc was unable to open the X DISPLAY: ":0", it cannot continue.
*** There may be "Xlib:" error messages above with details about the failure.
Some tips and guidelines:
* An X server (the one you wish to view) must be running before x11vnc is
started: x11vnc does not start the X server.
* You must use -display <disp>, -OR- set and export your DISPLAY
environment variable to refer to the display of the desired X server.
- Usually the display is simply ":0" (in fact x11vnc uses this if you forget
to specify it), but in some multi-user situations it could be ":1", ":2",
or even ":137". Ask your administrator or a guru if you are having
difficulty determining what your X DISPLAY is.
* Next, you need to have sufficient permissions (Xauthority)
to connect to the X DISPLAY. Here are some Tips:
- Often, you just need to run x11vnc as the user logged into the X session.
So make sure to be that user when you type x11vnc.
- Being root is usually not enough because the incorrect MIT-MAGIC-COOKIE
file will be accessed. The cookie file contains the secret key that
allows x11vnc to connect to the desired X DISPLAY.
- You can explicity indicate which MIT-MAGIC-COOKIE file should be used
by the -auth option, e.g.:
x11vnc -auth /home/someuser/.Xauthority -display :0
x11vnc -auth /tmp/.gdmzndVlR -display :0
you must have read permission for the auth file.
- If NO ONE is logged into an X session yet, but there is a greeter login
program like "gdm", "kdm", "xdm", or "dtlogin" running, you will need
to find and use the raw display manager MIT-MAGIC-COOKIE file.
Some examples for various display managers:
gdm: -auth /var/gdm/:0.Xauth
kdm: -auth /var/lib/kdm/A:0-crWk72
xdm: -auth /var/lib/xdm/authdir/authfiles/A:0-XQvaJk
dtlogin: -auth /var/dt/A:0-UgaaXa
Only root will have read permission for the file, and so x11vnc must be run
as root. The random characters in the filenames will of course change,
and the directory the cookie file resides in may also be system dependent.
Sometimes the command "ps wwaux | grep auth" can reveal the file location.
See also: http://www.karlrunge.com/x11vnc/#faq
Love the article... really nice... tho, I got just one teensy weensy lil problem - under the Eff-Tee-Peee thing, when trying to varify password and such... it just says: "Couldn't open /root/.vnc/passwd for writing" any one have a solution to that lil problem?
tried it with normal and root login, both the same
ps: havent got a clue as to what im doing :) just following a guide to make my life easier sharing files with family and between the home computers...
The problem you have isn't that big, but you are making an essential error.
X11VNC attaches to an existing session, which is started as a user, NOT as root. So retry the vnc configuration (passwd creation) as a regular user. So reopen a fresh terminal and try again.
If you get a similar error, then you just need to create the directory .vnc though the command
Thanks Glider... I actually tried it as a regular user and as the root user... neither worked... but somehow, it did after i read your reply... LOL, I just love tech things - whenever there's an error you wanna complain about, it always seem to work once you want to show it to someone or complain about it to someone. ;-)
hi there, everything is up and working for me.
but i can't figure out how to access my linux box (at home) thru internet with putty. i am trying to use putty to access my linux box to get into command line. when i'm at home, it works well locally (when i use my xp machine to putty to my linux box). but i can't from work. i've already registered with dyndns and i could access my utorrent webui (i'm using utorrent instead of torrentflux cause flux doesn't allow proxy) from work.
Comments 376 to 400 of 534
Sweet guide. This level of documentation is what I needed to get going with Linux more than just dropping a distro on an old box for giggles and getting frustrated. Getting my own server up is a big step towards real value that makes me want to explore even more. Great job!!!
Now my problem, it is relatively minor but I would like to fix it as does JSHEFF I suppose.
Has anyone else experienced this missing PHPMyAdmin folder problem? Any luck determining a fix? I wonder if this arises from using Xubuntu 7.10?
rcbrush99
Thanks for the help on my previous problem. I am also experiencing the missing PHPMyAdmin folder problem. I tried reinstalling PHPMyAdmin through synaptic and that did not work. Any other suggestions? Also, like others have said...sweet guide!
Quick update, I still have not been able to find the PHPMyAdmin folder even after re-install.
After reading http://ubuntuforums.org/showthread.php?t=591952 ALL THE WAY THROUGH I decided to completely uninstall phpmyadmin via Synaptic. I then reinstalled phpmyadmin with the use of "apt-get install phpmyadmin". During the CLI install you will get a choice to select Apache 2 server configuration, which I did with the spacebar. I still do not get the phpmyadmin folder at the localhost interface but if you go to http://localhost/phpmyadmin/ I do see the page finally. From what I can gather I think this is recommended in recent phpmyadmin builds to minimize symlinks.
i'm having an issue installing xubuntu...
after i tell it to use the entire disk, it tells me that the creation of the ext3 filesystem on hda1 failed.
what am i to do?!
Before you double click the 'install' icon, look for icons of other harddisks/partitions on the desktop. If there are, right click them and select 'umount'. If there are none, open a terminal and type 'mount'. You'll get a list of all the mounted partitions. If one of the lines start with '/dev/hda*' (replace the * by any number) then you should 'umount' the partition with the command 'sudo umount /dev/hda*'
Hope that helps
moveing files when UDMA is on is an 1-4% cpu job Single or dual core
moveing files in PIO mode is cpu 100% Kernel event (50% if dual core) as file transfers go tho the CPU not off loaded via chip set (thats why thay made UDMA)
i have full understanding on the way single threded programs work so in PIO mode so on an dual core CPU it will be 50% very annoying as i cant do any thing on the server untill its finished unpacking or copying files even small 350MB ones , allso ties up the Network subsystem untill the file copy is compleat
just wish Nvidia driver would stop turning Udma off (this is for the SATA connecters)
i load windows 2003 32bit see if that resoves the problem, wish i could use windows 2000 but cant get stuff working on that os any more now
and look into "hdparm" to enable other HD modes (there are quite a few)
used an tool to force UDMA back on but did not work as well
i am finding its not likeing segates hard disks as i put 2 WD on the Sata same ports (3 and 4) and thay seem to be going at Udma mode the other sata disk thats on Sata 1 (1 of 2) connector that one is on PIO mode
but as i am unpacking files still getting 50-60% red (kernel) Use in taskmanager
think i just pin it down to poor nvidia drivers for win3k mite just load XP on it on the end
Then you are posting in the wrong thread I guess... I know nothing about W2k3, and I wish to keep it like that ;)
EDIT: BTW, unpacking archives == CPU
should be at most 20-30% Cpu use no kernel
However I got one problem...
I installed x11vnc and it worked perfectly, however after I rebooted xubuntu I can't get it to work anymore.
It didn't start automaticly as it should, so I tried to start it with sudo "sh /usr/local/bin/sharex11vnc" but I got this error:
27/12/2007 03:25:46 x11vnc version: 0.8.2 lastmod: 2006-07-12 27/12/2007 03:25:46 27/12/2007 03:25:46 *** XOpenDisplay failed. No -display or DISPLAY. 27/12/2007 03:25:46 *** Trying ":0" in 4 seconds. Press Ctrl-C to abort. 27/12/2007 03:25:46 *** 1 2 3 4 Xlib: connection to ":0.0" refused by server Xlib: Invalid MIT-MAGIC-COOKIE-1 key 27/12/2007 03:25:50 27/12/2007 03:25:50 *************************************** 27/12/2007 03:25:50 *** XOpenDisplay failed (:0) *** x11vnc was unable to open the X DISPLAY: ":0", it cannot continue. *** There may be "Xlib:" error messages above with details about the failure. Some tips and guidelines: * An X server (the one you wish to view) must be running before x11vnc is started: x11vnc does not start the X server. * You must use -display <disp>, -OR- set and export your DISPLAY environment variable to refer to the display of the desired X server. - Usually the display is simply ":0" (in fact x11vnc uses this if you forget to specify it), but in some multi-user situations it could be ":1", ":2", or even ":137". Ask your administrator or a guru if you are having difficulty determining what your X DISPLAY is. * Next, you need to have sufficient permissions (Xauthority) to connect to the X DISPLAY. Here are some Tips: - Often, you just need to run x11vnc as the user logged into the X session. So make sure to be that user when you type x11vnc. - Being root is usually not enough because the incorrect MIT-MAGIC-COOKIE file will be accessed. The cookie file contains the secret key that allows x11vnc to connect to the desired X DISPLAY. - You can explicity indicate which MIT-MAGIC-COOKIE file should be used by the -auth option, e.g.: x11vnc -auth /home/someuser/.Xauthority -display :0 x11vnc -auth /tmp/.gdmzndVlR -display :0 you must have read permission for the auth file. - If NO ONE is logged into an X session yet, but there is a greeter login program like "gdm", "kdm", "xdm", or "dtlogin" running, you will need to find and use the raw display manager MIT-MAGIC-COOKIE file. Some examples for various display managers: gdm: -auth /var/gdm/:0.Xauth kdm: -auth /var/lib/kdm/A:0-crWk72 xdm: -auth /var/lib/xdm/authdir/authfiles/A:0-XQvaJk dtlogin: -auth /var/dt/A:0-UgaaXa Only root will have read permission for the file, and so x11vnc must be run as root. The random characters in the filenames will of course change, and the directory the cookie file resides in may also be system dependent. Sometimes the command "ps wwaux | grep auth" can reveal the file location. See also: http://www.karlrunge.com/x11vnc/#faqI've Xubuntu 7.10 installed.
Also, don't start the VNC server as root (ie. with sudo), it has to connect to an user session.
tried it with normal and root login, both the same
ps: havent got a clue as to what im doing :) just following a guide to make my life easier sharing files with family and between the home computers...
X11VNC attaches to an existing session, which is started as a user, NOT as root. So retry the vnc configuration (passwd creation) as a regular user. So reopen a fresh terminal and try again.
If you get a similar error, then you just need to create the directory .vnc though the command
boot ubuntu from cd and in the gui you can blow away the crap on that drive just remove partitions or format it to ext
side note I just found a p4 dell that I am going to build into a web server tonight :)
anyway, thanks again...
but i can't figure out how to access my linux box (at home) thru internet with putty. i am trying to use putty to access my linux box to get into command line. when i'm at home, it works well locally (when i use my xp machine to putty to my linux box). but i can't from work. i've already registered with dyndns and i could access my utorrent webui (i'm using utorrent instead of torrentflux cause flux doesn't allow proxy) from work.
help?