New server update

  • camperjohn
  • Guru
  • Guru
  • User avatar
  • Posts: 1127
  • Loc: San Diego

Post 3+ Months Ago

Not that anyone cares but...after one week of messing with yum and configure, I will reformat the harddrives and reinstall CENTOS and try again.

Too many packages that don't install, because other packages that conflict with this version or that version or something etc etc etc.
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • Don2007
  • Web Master
  • Web Master
  • Don2007
  • Posts: 4924
  • Loc: NY

Post 3+ Months Ago

Sometimes, starting again is the best way to go.
  • SpooF
  • ٩๏̯͡๏۶
  • Bronze Member
  • User avatar
  • Posts: 3422
  • Loc: Richland, WA

Post 3+ Months Ago

I think I reformatted my server 4 or 5 times before I got it right lol
  • camperjohn
  • Guru
  • Guru
  • User avatar
  • Posts: 1127
  • Loc: San Diego

Post 3+ Months Ago

Well I think I followed too many wrong turns and the server updates and libraries got a little out of whack. Some needed yum installs, others needed to build from source, and I think I ended up installing blah blah blah..I'm talking too much.

Anyway the job is already done I couldn't wait until tomorrow! I did it all tonight in about 30 minutes.

Server is now running all things correctly. mysql, php, phpmyadmin, memcached, eaccelerator, all the stuff I wanted.

1) Just need to figure out why proFTP won't display folders...hmmm...

2) How do I make a program run when server is rebooted? I want to make sure the memcache and proFTP server are running after reboot. What is the "accepted" way of starting a program at reboot?
  • Don2007
  • Web Master
  • Web Master
  • Don2007
  • Posts: 4924
  • Loc: NY

Post 3+ Months Ago

Depending on the distro, it could be in
/etc/rc2.d
  • Bigwebmaster
  • Site Admin
  • Site Admin
  • User avatar
  • Posts: 9090
  • Loc: Seattle, WA & Phoenix, AZ

Post 3+ Months Ago

I use chkconfig to add/remove/modify programs that are started automatically once a server is rebooted. However like Don mentioned you will need some sort of startup script for those programs. Many programs do and they are located here for me usually:

/etc/rc.d/init.d/

If that is too much for you to do, you might just edit this file:

/etc/rc.d/rc.local

which starts like this:

Code: [ Select ]
#!/bin/sh
#
# This script will be executed *after* all the other init scripts.
# You can put your own initialization stuff in here if you don't
# want to do the full Sys V style init stuff.
  1. #!/bin/sh
  2. #
  3. # This script will be executed *after* all the other init scripts.
  4. # You can put your own initialization stuff in here if you don't
  5. # want to do the full Sys V style init stuff.


Simply put whatever commands you want there and they will start after all of your other initialization scripts.
  • camperjohn
  • Guru
  • Guru
  • User avatar
  • Posts: 1127
  • Loc: San Diego

Post 3+ Months Ago

I put it in rc.local as I saw others from my current server in there.

Server now has everything installed and is being moved to facility on Saturday.
  • casius
  • Banned
  • Banned
  • User avatar
  • Posts: 18

Post 3+ Months Ago

You reckon the update of the server is better than a fresh install?
  • camperjohn
  • Guru
  • Guru
  • User avatar
  • Posts: 1127
  • Loc: San Diego

Post 3+ Months Ago

Yes, the new server is a 64bit Dual Quad Core Xeon 3600 2.8gz which is about 1000 times faster than my 1Ghz single 32 bit server - which was really powerful when I began hosting with this company but is kinda bland now.

I think ownership of the server is good if you are making enough money from it. Good to lease while you are still building traffic and websites.

The bad side is my revenue online goes up and down, and last month's $3600 check could be followed next month by a check for $26.

Post Information

  • Total Posts in this topic: 9 posts
  • Users browsing this forum: No registered users and 9 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
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.