
1st May 2008, 22:19
|
|
Member
|
|
Join Date: May 2008
Location: Glos, UK
Posts: 43
Thanks: 7
Thanked 0 Times in 0 Posts
|
|
stupid question? complete neewbie.
Have recently got a server. It came pre set up with centos, as per my request.
Can connect to it via putty and ftp, and have upped some stuff to load up and run.
Now comes the stupid question, how do i run the scripts to run these packages. I cannot access it via my web browser for some reason, even tho a connection is made via putty. I have not transfered my domain yet, but that shouldnt make any difference. I can access the root, but dont know what to do?
Is there a way of seeing what is installed, a desktop veiw would be handy.
I guess thats the trouble with us being brought up on windows, its all too easy.
I really want to learn this stuff, it beats my day job.
Any help would be very much appreciated, or just a pointer in the right direction!!!
|

2nd May 2008, 08:50
|
|
Senior Member
|
|
Join Date: Jul 2006
Location: South Australia
Posts: 319
Thanks: 2
Thanked 33 Times in 33 Posts
|
|
ok you got a server and you want a desktop on it personal BADD move
less stuff you dont need running / installed the better 
less stuff to update in the end and remember about
ow comes the stupid question, how do i run the scripts to run these packages.
like programs or web scripts
or something else
im lost there
i just got home from work : so ... im not with it fully yet
|

2nd May 2008, 15:52
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,592 Times in 2,443 Posts
|
|
Quote:
|
Originally Posted by Kev King
Have recently got a server. It came pre set up with centos, as per my request.
Can connect to it via putty and ftp, and have upped some stuff to load up and run.
Now comes the stupid question, how do i run the scripts to run these packages.
|
What scripts?
I think the easiest way to get up and running is follow this tutorial: http://www.howtoforge.com/centos-5.1...-ftp-ispconfig
and then install ISPConfig on it.
|
|
The Following User Says Thank You to falko For This Useful Post:
|
|

2nd May 2008, 23:17
|
|
Member
|
|
Join Date: May 2008
Location: Glos, UK
Posts: 43
Thanks: 7
Thanked 0 Times in 0 Posts
|
|
Thankyou falko
got stuck at step 8 quota. No etc/fstab and /dev/VolGroup00/LogVol00 directories. etc and dev are there but not the sub-directories. I think its because i skipped the first couple of install pages, because centos was already installed, didnt think i needed to. But obviously not as you have done in your tutorial.
Wondering wether to do a clean reinstall, but that sounds pretty duanting.
|

3rd May 2008, 20:28
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,592 Times in 2,443 Posts
|
|
It's /etc/fstab, not etc/fstab.
|
|
The Following User Says Thank You to falko For This Useful Post:
|
|

4th May 2008, 00:24
|
|
Member
|
|
Join Date: May 2008
Location: Glos, UK
Posts: 43
Thanks: 7
Thanked 0 Times in 0 Posts
|
|
Sorry to be a pain, but I got the following warning after running vi /etc/fstab
E325: ATTENTION
Found a swap file by the name "/etc/.fstab.swp"
owned by: root dated: Fri May 2 21:14:42 2008
file name: /etc/fstab
modified: YES
user name: xxxx host name: xxxxxxxxxxxxxxxxxxxxxxx
process ID: 2528
While opening file "/etc/fstab"
dated: Sat May 3 23:08:18 2008
NEWER than swap file!
(1) Another program may be editing the same file.
If this is the case, be careful not to end up with two
different instances of the same file when making changes.
Quit, or continue with caution.
(2) An edit session for this file crashed.
If this is the case, use ":recover" or "vim -r /etc/fstab"
to recover the changes (see ":help recovery").
If you did this already, delete the swap file "/etc/.fstab.swp"
to avoid this message.
"/etc/fstab" 9L, 704C
Press ENTER or type command to continue
not sure what to do, dont want to do more damage than good, any advice?
|

4th May 2008, 09:15
|
|
Member
|
|
Join Date: May 2008
Location: Glos, UK
Posts: 43
Thanks: 7
Thanked 0 Times in 0 Posts
|
|
more info
details of /etc/fstab
/dev/VolGroup00/LogVol00 / ext3 defaults,usrquota,grpquota 1 1
LABEL=/ / ext3 defaults 1 1
LABEL=/boot /boot ext2 defaults 1 2
tmpfs /dev/shm tmpfs defaults 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
sysfs /sys sysfs defaults 0 0
proc /proc proc defaults 0 0
LABEL=SWAP-hdc2 swap swap defaults 0 0
/dev/VolGroup00/LogVol01 swap swap defaults 0 0
|

4th May 2008, 18:11
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,592 Times in 2,443 Posts
|
|
Run
Code:
rm -f /etc/.fstab.swp
and then try to edit /etc/fstab again.
|

5th May 2008, 22:58
|
|
Member
|
|
Join Date: May 2008
Location: Glos, UK
Posts: 43
Thanks: 7
Thanked 0 Times in 0 Posts
|
|
Cheers falko your a star, I seem to have moved forward a bit now, well somethings working ha ha. But...........
[root@hosted-by ~]# touch /aquota.user /aquota.group
[root@hosted-by ~]# chmod 600 /aquota.*
[root@hosted-by ~]# mount -o remount /
[root@hosted-by ~]# quotacheck -avugm
quotacheck: WARNING - Quotafile //aquota.user was probably truncated. Can't save quota settings...
quotacheck: WARNING - Quotafile //aquota.group was probably truncated. Can't save quota settings...
quotacheck: Scanning /dev/hdc3 [/] \
should this stage take long it seems to have been running for at least half an hour?
|

5th May 2008, 23:22
|
|
Member
|
|
Join Date: May 2008
Location: Glos, UK
Posts: 43
Thanks: 7
Thanked 0 Times in 0 Posts
|
|
Ignore that last post it all went thru ok, I think.
quotacheck: Scanning /dev/hdc3 [/] done
quotacheck: Checked 12361 directories and 103949 files
[root@hosted-by ~]# quotaon -avug
/dev/hdc3 [/]: group quotas turned on
/dev/hdc3 [/]: user quotas turned on
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT +2. The time now is 02:21.
|
Recent comments
1 day 17 hours ago
2 days 2 hours ago
2 days 5 hours ago
2 days 6 hours ago
2 days 7 hours ago
2 days 9 hours ago
2 days 10 hours ago
2 days 11 hours ago
3 days 3 hours ago
3 days 4 hours ago