Originally Posted by Woodstock is the root part meant to be speach marks "root" or single quotes 'root', i only ask as the guide had speach and you just suggested single quotes.
is torrentflux dead?
Yes, you compare the output of 'whoami' with the string 'root'
Hi guys I fixed PHPAdmin/MYSQL problem and I think I also know why alot of peoples VNC isnt working.
Here it is:
Basically when this is typed in these:
vncpasswd ~/.vnc/passwd
echo 5900 > ~/.vnc/port
It wont work if you selected UK keyboard when you installed Xubuntu. because the the tilde on an international US keyboard will come out like this instead "¬" (Without the quotes obviously)
another one to watch out for is an @ on the international keyboard is replaced by " and vice versa so watch that also.
Hi all--------------with a mixture of your help and using my small brain have got fileserserver up--------------don't worry I am sue to be back for further assist T
Having the same passwords is a bad idea security wise, but don't be to pedantic about a home LAN server ;)
The (base) config:
[php]<?php
/*************************************************************
* TorrentFlux PHP Torrent Manager
* www.torrentflux.com
**************************************************************/
/*
This file is part of TorrentFlux.
TorrentFlux is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
TorrentFlux is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with TorrentFlux; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
/**************************************************************************/
// YOUR DATABASE CONNECTION INFORMATION
/**************************************************************************/
// Check the adodb/drivers/ directory for support for your database
// you may choose from many (mysql is the default)
$cfg["db_type"] = "mysql"; // mysql, postgres7 view adodb/drivers/
$cfg["db_host"] = "localhost"; // DB host computer name or IP
$cfg["db_name"] = "torrentflux"; // Name of the Database
$cfg["db_user"] = "root"; // username for your MySQL database
$cfg["db_pass"] = ""; // password for database
/**************************************************************************/
/*****************************************************************************
TorrentFlux
Torrent (n.) A violent or rapid flow; a strong current; a flood;
as, a torrent vices; a torrent of eloquence.
Flux (n.) The act of flowing; a continuous moving on or passing by,
as of a flowing stream; constant succession; change.
*****************************************************************************/
// ***************************************************************************
// ***************************************************************************
// DO NOT Edit below this line unless you know what you're doing.
// ***************************************************************************
// ***************************************************************************
I just erased the tf folder and did everything again... then it worked... very miserious, because i had tried to copy the config file you posted to no avail.
thank you so much for your response though, I will be enjoying this server a lot and all thanks to you.
Just one thing, I couldnt connect via vnc to my server with one of my laptops (mac), maybe is the client im using , it the vine client. Do you happen to know of a better option that resembles ultra vnc or help me in any way
Had the same problem with VNC as several others (VNC authentication failed!), but haven't seen the solution yet that worked for me. I didn't follow the article to the letter and created the passwd and port file ("vncpasswd ~/.vnc/passwd" and "echo 5900 > ~/.vnc/port") with root privilege. Took me some time to find out that was not smart ... When I created these files without root privilege VNC worked like a charm!
That's because the vnc server has to run as the user (for it to access the X session). If you create the files as root, the process can't read them (access denied).
geraint@Server-G:~$ vncpasswd ~/.vnc/passwd
Password:
Verify:
Couldn't open /home/geraint/.vnc/passwd for writing
geraint@Server-G:~$
I'm pretty sure this isn't vista and shouldn't suffer from "programme needs to be admin otherwise no saving in prog files" syndrome which my main rig does.
ok will give that a go in the morning/afternoon/whenever i sober up. But related to that should there be a .vnc folder in my home already or does it get created when the password does?
Umm... I wanted to run Xubuntu on VirtualBox like you hinted you did. Except on my XP home laptop, I get 2 errors. When I enable IO APIC I get an error ""/bin/sh: can't access tty; job control turned off" and if I turn off IO APIC (forums recommend the setting to be on) the installation of Xubuntu stalls at 5% or around there are says "Failed to create a swap space". What can I do? I want to run a small server but keep my XP home OS there working.
Originally Posted by Glider I usually turn of all ACPI related things on a server... No use having a server if it goes into power save after 5 minutes ;)
Hmm.. I actually would like that function in my server, since I'm not using the server 24/7. Is there an app in Linux where you can manage this? Would it be a problem for the network if part of the server went down in powersave (I'm thinking of the HD for the most part) I've tried with hdparm -S option but my WD SATA RE disks don't have that function (probably because they're RAID-editions) :?
But thanx Glider for the guide even though I din't follow it too much. I installed "Ubuntu Server" and that forced me to get to know CLI - so I'm learning something new every day! And thanx also for all the support you give to us "linux-server-administrator-wannabes" here in this thread, I've read some of them and I admire your patience! kudos!
acpid & cpufreqd are 2 daemons I run on my laptop to dynamically (adjustable) scale it's frequency from 1500MHz to 500MHz depending on load / prediction about load. It does it's work quite good, and got my battery life up from ~2,5hours in Windows (when it was new) to 4hours in Linux (now that it's a year older)
But I must warn you, ACPI tables are often written VERY poorly on systems. To get mine working I had to fix the DSDT table. This required extracting it from the memory, reverse engineering it (with a tool ;)) fixing the source code, recompiling it and reinstalling it. http://gentoo-wiki.com/HOWTO_Fix_Common_ACPI_Problems
Originally Posted by Glider To get mine working I had to fix the DSDT table. This required extracting it from the memory, reverse engineering it (with a tool ;)) fixing the source code, recompiling it and reinstalling it.
Hmm.. so maybe not for me quite yet.. :) (recompiling gives me the shivers, It sounds so complex!) Thanx anyway. Hey another thing I might do: To shutdown the server.. ..is it safe to do so with the powerswich, or could i "program" it in a way that it would do a safe shutdown? That way, I can turn it of by night.. ..(and teach my wife to turn it on the next morning while I'm at work)
Originally Posted by JrRRr Hmm.. so maybe not for me quite yet.. :) (recompiling gives me the shivers, It sounds so complex!) Thanx anyway. Hey another thing I might do: To shutdown the server.. ..is it safe to do so with the powerswich, or could i "program" it in a way that it would do a safe shutdown? That way, I can turn it of by night.. ..(and teach my wife to turn it on the next morning while I'm at work)
It isn't that complex... And like Doug said, there often are fixed DSDT's available.
The simplest way to shutdown at a given time is to create a crontab that issues 'halt'.
I' am new with things. My question is : I am trying to install Xubuntu 7.04 and the system always crash . I have a PIII 733Mhz 194MB RAM . What is the problem ?
It's hard to say by just knowing the general specs of your PC... RAM seems a bit low for the GUI installer but it all depends on where the system crashes.
Where does the system crash upon? Does it boot up to the GUI? Does the install wizzard work? Does the partitioning/copying start?
Comments 251 to 275 of 586
ReplyHere it is:
Basically when this is typed in these:
vncpasswd ~/.vnc/passwd
echo 5900 > ~/.vnc/port
It wont work if you selected UK keyboard when you installed Xubuntu. because the the tilde on an international US keyboard will come out like this instead "¬" (Without the quotes obviously)
another one to watch out for is an @ on the international keyboard is replaced by " and vice versa so watch that also.
So go back and do the vnc part again. :)
Go here: http://en.wikipedia.org/wiki/Keyboard_layout and see the different layouts of UK and US-int keyboards.
Also Is there a security risk in having you MYSQL password the same as your user password?
The (base) config:
[php]<?php
/*************************************************************
* TorrentFlux PHP Torrent Manager
* www.torrentflux.com
**************************************************************/
/*
This file is part of TorrentFlux.
TorrentFlux is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
TorrentFlux is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with TorrentFlux; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
/**************************************************************************/
// YOUR DATABASE CONNECTION INFORMATION
/**************************************************************************/
// Check the adodb/drivers/ directory for support for your database
// you may choose from many (mysql is the default)
$cfg["db_type"] = "mysql"; // mysql, postgres7 view adodb/drivers/
$cfg["db_host"] = "localhost"; // DB host computer name or IP
$cfg["db_name"] = "torrentflux"; // Name of the Database
$cfg["db_user"] = "root"; // username for your MySQL database
$cfg["db_pass"] = ""; // password for database
/**************************************************************************/
/*****************************************************************************
TorrentFlux
Torrent (n.) A violent or rapid flow; a strong current; a flood;
as, a torrent vices; a torrent of eloquence.
Flux (n.) The act of flowing; a continuous moving on or passing by,
as of a flowing stream; constant succession; change.
*****************************************************************************/
// ***************************************************************************
// ***************************************************************************
// DO NOT Edit below this line unless you know what you're doing.
// ***************************************************************************
// ***************************************************************************
$cfg["pagetitle"] = "TorrentFlux";
// TorrentFlux Version
$cfg["version"] = "2.3";
// CONSTANTS
$cfg["constants"] = array();
$cfg["constants"]["url_upload"] = "URL Upload";
$cfg["constants"]["reset_owner"] = "Reset Owner";
$cfg["constants"]["start_torrent"] = "Started Torrent";
$cfg["constants"]["queued_torrent"] = "Queued Torrent";
$cfg["constants"]["unqueued_torrent"] = "Removed from Queue";
$cfg["constants"]["QManager"] = "QManager";
$cfg["constants"]["access_denied"] = "ACCESS DENIED";
$cfg["constants"]["delete_torrent"] = "Delete Torrent";
$cfg["constants"]["fm_delete"] = "File Manager Delete";
$cfg["constants"]["fm_download"] = "File Download";
$cfg["constants"]["kill_torrent"] = "Kill Torrent";
$cfg["constants"]["file_upload"] = "File Upload";
$cfg["constants"]["error"] = "ERROR";
$cfg["constants"]["hit"] = "HIT";
$cfg["constants"]["update"] = "UPDATE";
$cfg["constants"]["admin"] = "ADMIN";
asort($cfg["constants"]);
// Add file extensions here that you will allow to be uploaded
$cfg["file_types_array"] = array("torrent");
// Capture username
$cfg["user"] = "";
// Capture ip
$cfg["ip"] = $_SERVER['REMOTE_ADDR'];
?>
[/php]
EDIT:
[PHP]
Parse error: syntax error, unexpected '*' in /var/www/tf/config.php on line 50
[/PHP]
this is when I acces the tf link on localhost... im desperate...
thank you so much for your response though, I will be enjoying this server a lot and all thanks to you.
Just one thing, I couldnt connect via vnc to my server with one of my laptops (mac), maybe is the client im using , it the vine client. Do you happen to know of a better option that resembles ultra vnc or help me in any way
Had the same problem with VNC as several others (VNC authentication failed!), but haven't seen the solution yet that worked for me. I didn't follow the article to the letter and created the passwd and port file ("vncpasswd ~/.vnc/passwd" and "echo 5900 > ~/.vnc/port") with root privilege. Took me some time to find out that was not smart ... When I created these files without root privilege VNC worked like a charm!
Thanks Glider for an excellent article!
I'm pretty sure this isn't vista and shouldn't suffer from "programme needs to be admin otherwise no saving in prog files" syndrome which my main rig does.
Hmm.. I actually would like that function in my server, since I'm not using the server 24/7. Is there an app in Linux where you can manage this? Would it be a problem for the network if part of the server went down in powersave (I'm thinking of the HD for the most part) I've tried with hdparm -S option but my WD SATA RE disks don't have that function (probably because they're RAID-editions) :?
But thanx Glider for the guide even though I din't follow it too much. I installed "Ubuntu Server" and that forced me to get to know CLI - so I'm learning something new every day! And thanx also for all the support you give to us "linux-server-administrator-wannabes" here in this thread, I've read some of them and I admire your patience! kudos!
http://gentoo-wiki.com/ACPI
But I must warn you, ACPI tables are often written VERY poorly on systems. To get mine working I had to fix the DSDT table. This required extracting it from the memory, reverse engineering it (with a tool ;)) fixing the source code, recompiling it and reinstalling it.
http://gentoo-wiki.com/HOWTO_Fix_Common_ACPI_Problems
Hmm.. so maybe not for me quite yet.. :) (recompiling gives me the shivers, It sounds so complex!) Thanx anyway. Hey another thing I might do: To shutdown the server.. ..is it safe to do so with the powerswich, or could i "program" it in a way that it would do a safe shutdown? That way, I can turn it of by night.. ..(and teach my wife to turn it on the next morning while I'm at work)
I found a patched one for mine which works fine now. Except the battery is bat1 rather then bat0
It isn't that complex... And like Doug said, there often are fixed DSDT's available.
The simplest way to shutdown at a given time is to create a crontab that issues 'halt'.
I' am new with things. My question is : I am trying to install Xubuntu 7.04 and the system always crash . I have a PIII 733Mhz 194MB RAM . What is the problem ?
Thankss
Where does the system crash upon? Does it boot up to the GUI? Does the install wizzard work? Does the partitioning/copying start?
-
« Previous
-
1
-
...
-
9
-
10
-
11
-
12
-
13
-
...
-
24
-
Next »
Discuss in the forums