New server update

  • camperjohn
  • Guru
  • Guru
  • User avatar
  • Joined: Nov 28, 2004
  • Posts: 1127
  • Loc: San Diego
  • Status: Offline

Post March 17th, 2010, 2:04 pm

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
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post March 17th, 2010, 2:04 pm

  • Don2007
  • Web Master
  • Web Master
  • No Avatar
  • Joined: Nov 21, 2006
  • Posts: 4924
  • Loc: NY
  • Status: Offline

Post March 17th, 2010, 4:58 pm

Sometimes, starting again is the best way to go.
  • SpooF
  • ٩๏̯͡๏۶
  • Bronze Member
  • User avatar
  • Joined: May 22, 2004
  • Posts: 3415
  • Loc: Richland, WA
  • Status: Offline

Post March 17th, 2010, 5:38 pm

I think I reformatted my server 4 or 5 times before I got it right lol
#define NULL (::rand() % 2)
  • camperjohn
  • Guru
  • Guru
  • User avatar
  • Joined: Nov 28, 2004
  • Posts: 1127
  • Loc: San Diego
  • Status: Offline

Post March 17th, 2010, 11:14 pm

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
  • No Avatar
  • Joined: Nov 21, 2006
  • Posts: 4924
  • Loc: NY
  • Status: Offline

Post March 18th, 2010, 6:04 am

Depending on the distro, it could be in
/etc/rc2.d
  • Bigwebmaster
  • Site Admin
  • Site Admin
  • User avatar
  • Joined: Dec 20, 2002
  • Posts: 8925
  • Loc: Seattle, WA & Phoenix, AZ
  • Status: Offline

Post March 25th, 2010, 8:22 am

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.
Ozzu Hosting - Want your website on a fast server like Ozzu?
  • camperjohn
  • Guru
  • Guru
  • User avatar
  • Joined: Nov 28, 2004
  • Posts: 1127
  • Loc: San Diego
  • Status: Offline

Post March 25th, 2010, 12:55 pm

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
  • Joined: Apr 06, 2010
  • Posts: 18
  • Status: Offline

Post April 12th, 2010, 7:25 am

You reckon the update of the server is better than a fresh install?
  • camperjohn
  • Guru
  • Guru
  • User avatar
  • Joined: Nov 28, 2004
  • Posts: 1127
  • Loc: San Diego
  • Status: Offline

Post April 16th, 2010, 3:49 pm

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 33 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
 
 

© 2011 Unmelted, LLC. Ozzu® is a registered trademark of Unmelted, LLC.