Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
 Post subject:
PostPosted: Fri Apr 30, 2004 8:24 am 
Offline
Senior Member
User avatar

Joined: Mon Jun 23, 2003 1:25 pm
Posts: 260
Hi,

If that is through the LPM it just means you have assigned all your disk space to images.

Do a df -h via ssh and it will list what you actually have used and what you have free.

Adam


Top
   
 Post subject:
PostPosted: Fri Apr 30, 2004 10:34 am 
Offline
Newbie

Joined: Fri Apr 30, 2004 7:50 am
Posts: 2
Great, many thanks for that.

Just one other thing, is assigning all the disk space to images like this a good/bad move ? It wasn't something I explicity specified, I just followed the default. I'm a newbie at this so appreciate any advice!


Top
   
 Post subject:
PostPosted: Fri Apr 30, 2004 10:44 am 
Offline
Senior Member
User avatar

Joined: Mon Jun 23, 2003 1:25 pm
Posts: 260
It is up to you.

Some people like to put things like /var and /home on seperate partitions.

Usually due to security and to stop some side effects of DDoS attacks.

You can always resize your image to get some space to make some more.

Adam


Top
   
PostPosted: Fri Apr 30, 2004 12:26 pm 
Offline
Senior Member
User avatar

Joined: Fri Aug 15, 2003 2:15 pm
Posts: 111
Website: http://fubegra.net/
The disk space on the control panel shows how much space you have allocated toward disk images (for filesystems and swap areas). To find out how much free space you have on your filesystem(s), use the df command from within your Linode.

_________________
Bus error (passengers dumped)


Top
   
 Post subject:
PostPosted: Fri Apr 30, 2004 2:45 pm 
Offline
Senior Member

Joined: Thu Aug 28, 2003 12:57 am
Posts: 273
mikel wrote:
This thread has been very helpful, thanks. I've just got a new Linode 128 account with Red Hat Linux 9 Small and followed these steps exactly. It seemed to all worked fine, however now my account is showing no free disk space at all.

Total: 6144 Megabytes
Used: 6144 Megabytes
Free: 0 Megabytes

Any ideas what's gone wrong, or how to fix it ? Thanks.


Sorry all, didn't realize that I was just rehashing what was already written by other posters, I didn't realize that this was a multi-page topic and missed the responses to the original poster before providing mine.

The account page lists how much free space you have that is not used by any of your virtual disks. You *want* to have 0 megabytes free because you want it all to be in a virtual disk, and thus actually available to your running Linode.

Mine also lists 0 megabytes free because I've used it all for my root filesystem. Which doesn't mean that my root filesystem is full - if I log into my Linode directly and check the disk usage, I'm at about 74%.

If you ever upgrade to more disk space, you will see this space appear as free space in your Linode account page, until you assign it to a virtual disk, at which point it will be available to your running Linode process, and will once again show up as 0 megabytes free on your Linode account page.

Hope I've explained this in a way that is clearer rather than more confusing.[/b]


Top
   
 Post subject:
PostPosted: Fri Apr 30, 2004 2:48 pm 
Offline
Senior Member

Joined: Thu Aug 28, 2003 12:57 am
Posts: 273
mikel wrote:
Great, many thanks for that.

Just one other thing, is assigning all the disk space to images like this a good/bad move ? It wasn't something I explicity specified, I just followed the default. I'm a newbie at this so appreciate any advice!


I put all of my disk space into one partition, my root partition. I've been running my own Linux systems for almost 10 years, and have done some for employers as well, and started out using multiple partitions, but found that they never actually realized any of the theoretical benefits. So I've switched to using just one partitition as it's easier to deal with and the situations in which multiple partitions are useful turn out to be so very very rare.


Top
   
 Post subject:
PostPosted: Tue May 04, 2004 11:09 pm 
Offline
Senior Newbie

Joined: Sun Apr 18, 2004 3:30 am
Posts: 19
Code:
apt-get install PyXML autofs bind bind-utils caching-nameserver curl cyrus-sasl cyrus-sasl-md5 cyrus-sasl-plain fetchmail gettext gnupg httpd imap kbd lftp libuser libwvstreams lynx mod_auth_mysql mod_python mod_ssl mutt openldap openssh openssh-clients openssh-server passwd php php-imap php-ldap php-mysql php-odbc pine postfix proftpd pyOpenSSL pygtk2 pygtk2-libglade pyorbit python python-optik pyxf86config redhat-config-securitylevel redhat-switch-mail rhnlib rhpl rpm-python sendmail stunnel up2date usermode usermode-gtk w3m wget


NICE!! Thank you for your step-by-step tutorial.... It's people like you that keep this community alive and kicking! Thanks!

A word of advise for those who'd like to use this tutorial... BACKUP your pref. and conf files! And it's best if done from the very beginning before your server is in production becuase it WILL interrupt your services....


Last edited by shunchu on Wed May 05, 2004 11:07 pm, edited 1 time in total.

Top
   
 Post subject:
PostPosted: Wed May 05, 2004 7:14 am 
Offline
Senior Member
User avatar

Joined: Tue Apr 13, 2004 6:54 pm
Posts: 833
bji wrote:
I put all of my disk space into one partition, my root partition.
...snip...
So I've switched to using just one partitition as it's easier to deal with and the situations in which multiple partitions are useful turn out to be so very very rare.

I tend to use 3 partitions: 1=root, 2=swap, 3=datadisk. datadisk is where /home, /usr/local, webroot etc all live (symlinks as required). Basically it means I can upgrade the OS on the root disk without risk of losing data. Worked well when I upgraded one of my home machines from RH7.3 to Fedora 1 a few weeks back :-)

_________________
Rgds
Stephen
(Linux user since kernel version 0.11)


Top
   
 Post subject:
PostPosted: Wed May 05, 2004 2:31 pm 
Offline
Senior Newbie

Joined: Fri Aug 15, 2003 5:03 pm
Posts: 11
mikel wrote:
This thread has been very helpful, thanks. I've just got a new Linode 128 account with Red Hat Linux 9 Small and followed these steps exactly. It seemed to all worked fine, however now my account is showing no free disk space at all.

Total: 6144 Megabytes
Used: 6144 Megabytes
Free: 0 Megabytes

Any ideas what's gone wrong, or how to fix it ? Thanks.


If you are talking about the screen in the linode webpage then it is disk space allocated not used


Top
   
 Post subject:
PostPosted: Wed Jun 02, 2004 10:48 am 
Offline
Senior Member

Joined: Fri Feb 13, 2004 11:30 am
Posts: 140
Location: England, UK
mikel: Is that in the LPM that these figures are showing? If so, it's nothing to worry about. That simply means that all of the space available on your account is assigned to your Linode - it doesn't show how much of it is actually being used. To find that out, type df -h at a console, and it'll list all of the partitions along with how much free space, etc. they have.

[edit: Sorry! Didn't click through to the second page. :oops:]


Last edited by Ciaran on Thu Jun 03, 2004 6:25 am, edited 1 time in total.

Top
   
PostPosted: Wed Jun 02, 2004 9:31 pm 
Offline
Senior Newbie

Joined: Tue Jun 01, 2004 4:03 pm
Posts: 15
Location: Toronto, Canada
CSpurrier wrote:
Step Three
Update your hostname

Code:
 echo yourdomainnamehere >/etc/hostname  

Code:
 /bin/hostname -F /etc/hostname 


Just a question -- shouldn't the hostname file have a fully qualified domain name? (i.e. host.domain.com)... If so, would you consider changing "yourdomainhere" to "host.domain.com" or something similar? I think that yourdomainhere tempts people to put only the "domain.com" part...

But that's if the hostname should have a FQDN...
j.


Top
   
PostPosted: Thu Jun 03, 2004 10:47 am 
Offline
Junior Member

Joined: Mon Feb 23, 2004 8:14 pm
Posts: 22
Website: http://www.craigweb.net
Location: Aiken,SC USA
jsalloum wrote:
CSpurrier wrote:
Step Three
Update your hostname

Code:
 echo yourdomainnamehere >/etc/hostname  

Code:
 /bin/hostname -F /etc/hostname 


Just a question -- shouldn't the hostname file have a fully qualified domain name? (i.e. host.domain.com)... If so, would you consider changing "yourdomainhere" to "host.domain.com" or something similar? I think that yourdomainhere tempts people to put only the "domain.com" part...

But that's if the hostname should have a FQDN...
j.

I am not sure if it should be a FQDN from what I have found it does not need to be. If any one can prove it does need to be please let me know and I will change it.


Top
   
 Post subject:
PostPosted: Fri Jun 04, 2004 8:53 am 
Offline
Senior Member
User avatar

Joined: Sun Nov 23, 2003 1:40 pm
Posts: 79
Website: http://www.whitehouse.gov/history/presidents/bc42.html
sweh wrote:
I tend to use 3 partitions: 1=root, 2=swap, 3=datadisk. datadisk is where /home, /usr/local, webroot etc all live (symlinks as required). Basically it means I can upgrade the OS on the root disk without risk of losing data. Worked well when I upgraded one of my home machines from RH7.3 to Fedora 1 a few weeks back :-)


IMO this is some pretty damn good advice.

Bill Clinton


Top
   
 Post subject:
PostPosted: Sat Jul 17, 2004 10:37 pm 
Offline
Junior Member

Joined: Mon Feb 23, 2004 8:14 pm
Posts: 22
Website: http://www.craigweb.net
Location: Aiken,SC USA
These directions are now obsolete. I have posted them here as an alliterate way to install SSLeay. Use only if other directions do not work.
Please you the directions in the first post

Quote:


Step five
Get OpenSSl and Net_SSLeay source code

Code:
 wget http://www.openssl.org/source/openssl-0.9.7d.tar.gz 

Code:
 wget http://www.cpan.org/modules/by-module/Net/Net_SSLeay.pm-1.25.tar.gz 


Step six
Uninstall openSSL RPM
Code:
 apt-get remove openssl 


You will be asked if you whould like to uninstall a lot of other packages type
"Yes, do as I say!"

Step Seven
Compile and Install openssl

Code:
 tar zxvf openssl-0.9.7d.tar.gz 


Code:
 cd openssl-0.9.7d 

Code:
 ./config 

Code:
 make 

Code:
 make install 

Code:
 cd .. 


Step Eight
Compile and Install Net_SSLeay [/code]
Code:
 tar zxvf Net_SSLeay.pm-1.25.tar.gz  

Code:
 cd Net_SSLeay.pm-1.25 

Code:
 perl Makefile.PL 

Code:
 make install 


Step Ten
Reinstall everything removed when OpenSSL was removed

Code:
 apt-get install PyXML autofs bind bind-utils caching-nameserver curl cyrus-sasl cyrus-sasl-md5 cyrus-sasl-plain fetchmail gettext gnupg httpd imap kbd lftp libuser libwvstreams lynx mod_auth_mysql mod_python mod_ssl mutt openldap openssh openssh-clients openssh-server passwd php php-imap php-ldap php-mysql php-odbc pine postfix proftpd pyOpenSSL pygtk2 pygtk2-libglade pyorbit python python-optik pyxf86config redhat-config-securitylevel redhat-switch-mail rhnlib rhpl rpm-python sendmail stunnel up2date usermode usermode-gtk w3m wget 


Top
   
 Post subject:
PostPosted: Sat Sep 18, 2004 4:25 am 
Offline
Senior Newbie

Joined: Fri Sep 17, 2004 2:46 am
Posts: 11
Website: http://www.zaz.net/
WLM: nathangrass@hotmail.com
I had to install atrpms-56-1.rh9.at.i386.rpm to get these steps to work.

Use these steps:

Code:
wget http://download.atrpms.net/production/packages/redhat-9-i386/atrpms/atrpms-56-1.rh9.at.i386.rpm
rpm -Uvh atrpms-56-1.rh9.at.i386.rpm


The error that I was getting was:

error: Failed dependencies:
atrpms-perl-module-helper is needed by perl-Net_SSLeay.pm-1.25-2.rh9.at

Easy to find the fix, figured I would post this info in case someone following the steps runs into the same error.

Anyone have a guide like this for Mandrake? :) Fedora? :roll:


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group