How to install and Configure NTP client on CentOS/ RHEL/ Fedora to Synchronize the Clock
NTP, Network Time Protocol, it is an Internet protocol used to synchronize the clocks of computers or servers to some NTP server on internet or intranet. This is just a brief howto about installing and configuring NTPD (Network Time . . . → Read More: Install and Configure NTP on CentOS/ RHEL/ Fedora
A bit of mouthful…
I am trying to install symfony by using pear on my imac. I get the following error;
ERROR: The default config file is not a valid config file or is corrupted.
when I try to run this script;
sudo ./pear channel-discover pear.symfony-project.com
As described – http://twistify.com/247/symfony-1-4-8-mamp-pro-netbeans-ide
So I went googling . . . → Read More: Symfony installed by Pear on MAMP not working
Found a bug with mod-pagespeed if you use ipboard 3.2.2.
I found that the editor did not work, showing a blank space rather than an editor. Took a while but I located the problem as being my installation of mod-pagespeed interacting with CKEditor used by ipboard. Link here explains – http://community.invisionpower.com/topic/348577-google-mod-pagespeed/page__pid__2178923
I should update . . . → Read More: IPboard quick reply and editor does not work using mod-pagespeed
Check you have the correct versions of Ruby and Rails, you need the following;
ruby 1.8.6, 1.8.7 Rails 2.3.11 Rack 1.1.1
ruby -v rails -v
I read that ‘rake about’ would tell you what version of rake is installed but I could not get it to work. ‘rake -T’ didn’t even show . . . → Read More: Upgrade for Redmine 1.0.0 to Redmine 1.2.1 using SVN
Go to your home folder.
Edit your .bashrc
Put the following text at the bottom.
#Start copy export LS_OPTIONS=’–color=auto’ eval `dircolors` alias ls=’ls $LS_OPTIONS’ #End copy
Save and quit.
You will need to refresh your session with ssh.
How to install mod_pagespeed on Centos
Enter in the following text;
[mod-pagespeed] name=mod-pagespeed baseurl=http://dl.google.com/linux/mod-pagespeed/rpm/stable/x86_64 enabled=1 gpgcheck=0
Then install mod-pagespeed
yum install mod-pagespeed
I had deflate.conf in /etc/httpd/conf.d already, so i disabled it by changing its name.
mv deflate.conf deflate.conf.disabled
I also allowed seeing the mod_pagespeed stats by adding my ip address to . . . → Read More: How to install mod_pagespeed on Centos
I could not find a yum package that installed HTML tidy, but found that I could install it when I installed php-tidy. The command is;
yum install php-tidy
Replace mysqld with the name of the service you want to stop.
service mysqld start service mysqld stop
If you want to start them automatically;
chkconfig [name] on chkconfig [name] off
chkconfig mysqld on chkconfig mysqld off
Very simple instructions.
Install mysql server via yum
yum install mysql-server service mysqld start
Then set root password PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER ! To do so, start the server, then issue the following commands: /usr/bin/mysqladmin -u root password ‘new-password’ /usr/bin/mysqladmin -u root -p -h code.dms.local password . . . → Read More: How to install mysql-server on centos 5.4
From – http://www.mediawiki.org/wiki/Manual:Installation_guide
tar xvfz mediawiki-1.16.0.tar.gz mv it to your webfolder
mv mediawiki-1.16.0 /var/www/html
Create a link
ln -s /var/www/html/mediawiki-1.16.0 /var/www/html/mediawiki
Change to correct ownership
chown -R apache.apache mediawiki
I need a mysql driver for php
yum install php-mysql
Now follow the instructions here – http://localhost/mediawiki/config/index.php
Move the config/LocalSettings.php . . . → Read More: How to install mediawiki 1.16.0 on Centos 5.4