Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #51  
Old 13th January 2012, 01:16
m.xander m.xander is offline
Member
 
Join Date: Dec 2011
Posts: 81
Thanks: 5
Thanked 2 Times in 2 Posts
Default 12 Install Postfix, Courier, Saslauthd, MySQL, rkhunter, binutils

OK... so in step 12 Install Postfix, Courier, Saslauthd, MySQL, rkhunter, binutils
I've entered a different system mail name:

New password for the MySQL "root" user: <-- yourrootsqlpassword
Repeat password for the MySQL "root" user: <-- yourrootsqlpassword
Create directories for web-based administration? <-- No
General type of mail configuration: <-- Internet Site
System mail name: <-- xanderit.com
SSL certificate required <-- Ok
Reply With Quote
Sponsored Links
  #52  
Old 13th January 2012, 06:37
m.xander m.xander is offline
Member
 
Join Date: Dec 2011
Posts: 81
Thanks: 5
Thanked 2 Times in 2 Posts
Default 15 Install PureFTPd And Quota/etc/fstab

I'm up to the part where I have to edit /etc/fstab...
I've found another thread on the subject
http://www.howtoforge.com/forums/sho...%2Fetc%2Ffstab

From what I've read is it the case that because my server is a VPS, I don't have to worry about editing /etc/fstab..?
Reply With Quote
  #53  
Old 13th January 2012, 15:09
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,739 Times in 2,574 Posts
Default

Which virtualization technique do you use (OpenVZ, KVM, etc.)? Do you have access to the hardware node?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #54  
Old 13th January 2012, 16:38
m.xander m.xander is offline
Member
 
Join Date: Dec 2011
Posts: 81
Thanks: 5
Thanked 2 Times in 2 Posts
Default

It uses Parrallals Virtuozzo
Do I have acccess to hardware nodes... not 100% sure what you mean. Do you mean access to the hardware node... It's an unmanaged VPS but I can request basic information from the provider - they do not provide software support, but manage the hardware.
(I'm having a search for more info, I haven't done much with the Parrallels control panel..)

From what I understand about /etc/fstab it is used to define device mount points, so on a virtual machine I have virtual device mount points..?

What does quota do with /etc/fstab ?

Last edited by m.xander; 13th January 2012 at 17:26.
Reply With Quote
  #55  
Old 13th January 2012, 18:21
cbj4074 cbj4074 is offline
Senior Member
 
Join Date: Nov 2010
Posts: 392
Thanks: 29
Thanked 58 Times in 50 Posts
Default

I have a similarly-configured VPS and modified the /dev/vzfs entry in /etc/fstab in order to get quota to work. The full contents of this file are:

Code:
proc  /proc       proc    defaults    0    0
none  /dev/pts    devpts  rw          0    0
/dev/vzfs / reiserfs rw,usrquota,grpquota 0 0
Obviously, don't copy-paste the last line verbatim if your system uses a different device name/path.

And use caution when modifying this file; mistakes can render your system un-bootable and your only option will be to start from scratch.

If your provider offers a "snapshot" style backup service, it would be worth paying for it, even if only while you're configuring the server. Most providers will prorate those "add-on" services, too, so you may be able to pay just a few bucks for two or three days of access to the backup service.

Last edited by cbj4074; 13th January 2012 at 18:24.
Reply With Quote
  #56  
Old 13th January 2012, 18:33
cbj4074 cbj4074 is offline
Senior Member
 
Join Date: Nov 2010
Posts: 392
Thanks: 29
Thanked 58 Times in 50 Posts
Default

Quote:
Originally Posted by m.xander View Post
System mail name: <-- xanderit.com
That's fine, but as I've mentioned before, be sure to modify Postfix's configuration file (/etc/postfix/main.cf) such that the mydestination directive does not contain this same domain. The relevant lines should look like this:

Code:
myhostname = xanderit.com
mydestination = localhost, localhost.localdomain
Also, don't include in mydestination any domain for which ISPConfig is handling email. ISPConfig-controlled mail domains are handled differently (via the virtual_mailbox_domains directive).

Finally, be sure that /etc/hostname and /etc/mailname contain xanderit.com, too.
Reply With Quote
  #57  
Old 13th January 2012, 18:40
m.xander m.xander is offline
Member
 
Join Date: Dec 2011
Posts: 81
Thanks: 5
Thanked 2 Times in 2 Posts
Default

Code:
root@25612-21212:/# mount
/dev/vzfs on / type reiserfs (rw,usrquota,grpquota)
Code:
root@25612-21212:~# vi /etc/fstab
root@25612-21212:~# touch /aquota.user /aquota.group
root@25612-21212:~# chmod 600 /aquota.*
root@25612-21212:~# mount -o remount /
mount: permission denied
..?

Last edited by m.xander; 13th January 2012 at 18:55.
Reply With Quote
  #58  
Old 13th January 2012, 19:43
cbj4074 cbj4074 is offline
Senior Member
 
Join Date: Nov 2010
Posts: 392
Thanks: 29
Thanked 58 Times in 50 Posts
Default

You can't un-mount a filesystem on which the running operating system is installed. Restart the machine if you have made the necessary changes to /etc/fstab and all should be well.
Reply With Quote
  #59  
Old 13th January 2012, 20:58
m.xander m.xander is offline
Member
 
Join Date: Dec 2011
Posts: 81
Thanks: 5
Thanked 2 Times in 2 Posts
Default

Quote:
Originally Posted by cbj4074 View Post
You can't un-mount a filesystem on which the running operating system is installed.
Yes... it was 3 or 4am and the idea was in the back of my mind somewhere...

The container is rebooted now... thanks.

Code:
quotacheck: Your kernel probably supports journaled quota but you are not using it. Consider switching to journaled quota to avoid running quotacheck after an unclean shutdown.
quotacheck: Quota for users is enabled on mountpoint / so quotacheck might damage the file.
Please turn quotas off or use -f to force checking.
Code:
root@25612-21212:~# quotacheck -favugm
quotacheck: Your kernel probably supports journaled quota but you are not using it. Consider switching to journaled quota to avoid running quotacheck after an unclean shutdown.
quotacheck: Scanning /dev/vzfs [/] done
quotacheck: Checked 3811 directories and 42728 files
quotacheck: Quota file //aquota.user has IMMUTABLE flag set. Clearing.
quotacheck: Failed to remove IMMUTABLE flag from quota file //aquota.user: Inappropriate ioctl for device
quotacheck: Quota file //aquota.group has IMMUTABLE flag set. Clearing.
quotacheck: Failed to remove IMMUTABLE flag from quota file //aquota.group: Inappropriate ioctl for device
root@25612-21212:~#

Last edited by m.xander; 13th January 2012 at 21:09.
Reply With Quote
  #60  
Old 13th January 2012, 21:02
cbj4074 cbj4074 is offline
Senior Member
 
Join Date: Nov 2010
Posts: 392
Thanks: 29
Thanked 58 Times in 50 Posts
 
Default

And quota is functioning as expected? Great!
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Version 1.3 of the ISPConfig 3 Manual is finally available! falko General 44 2nd December 2011 12:04
SquirrelMail login not working glenneh Installation/Configuration 13 9th April 2011 20:01
dovecot: lda: Fatal: Unknown user dpicella Installation/Configuration 1 22nd August 2010 02:59
ERROR: Connection dropped by IMAP server. [Centos 5.4, courier imap,squirrel, etc] darevil HOWTO-Related Questions 7 9th June 2010 14:49
just the last step...and it works. Postfix...need help config. ubuntusr Installation/Configuration 1 5th January 2009 09:50


All times are GMT +2. The time now is 07:09.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.