svn: warning: cannot set LC_CTYPE locale svn: warning: environment variable LC_CTYPE is UTF-8 svn: warning: please check that your locale name is correct
locale -a
export LC_ALL=C
svn: warning: cannot set LC_CTYPE locale svn: warning: environment variable LC_CTYPE is UTF-8 svn: warning: please check that your locale name is correct
locale -a
export LC_ALL=C
sudo yum install subversion mod_dav_svnCreate the directory svn
mkdir /var/www/svn
svnadmin create myrepo
chown -R apache.apache myrepoEdit subversion configuration file
vi /etc/httpd/conf.d/subversion.confAdd these line
LoadModule dav_svn_module modules/mod_dav_svn.so LoadModule authz_svn_module modules/mod_authz_svn.so < Location /svn > DAV svn SVNPath /var/www/svn AuthType Basic AuthName "Subversion repositories" AuthUserFile /etc/svn-auth-users Require valid-user < /Location >Adding new user
sudo htpasswd -cm /etc/svn-auth-users username
New password: Re-type new password: Adding password for user new_userRestart your server
sudo service httpd restartFinally, access your svn url:
sudo yum install nodejs npm
sudo yum install mysql-devel
gem install mysql2
sudo yum remove ruby
ruby -v
sudo bundle install
-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 7778 -j ACCEPT
sudo setenforce 0
mkdir /home/kloxo cd /home/kloxo
wget http://download.lxcenter.org/download/kloxo/production/kloxo-installer.sh
sh ./kloxo-installer.sh --type=master
sudo yum update
sudo yum install curl
curl -L get.rvm.io | bash -s stableAfter installed RVM, close your terminal and login back to use the "rvm" command:
rvm requirementsand install some recommended dependencies:
rvmsudo yum install -y gcc-c++ patch readline readline-devel zlib zlib-devel libyaml-devel libffi-devel openssl-devel make bzip2 autoconf automake libtool bison iconv-devel
rvm list knownWill display like this:
# MRI Rubies [ruby-]1.8.6[-p420] [ruby-]1.8.7[-p374] [ruby-]1.9.1[-p431] [ruby-]1.9.2[-p320] [ruby-]1.9.3[-p545] [ruby-]2.0.0-p353 [ruby-]2.0.0[-p451] [ruby-]2.1.1 [ruby-]2.1-head ruby-headInstall the Ruby
rvm install 2.1.1
rvm use 2.1.1 --defaultcheck the version installed Ruby and Gem
ruby -v gem -v
gem install rails
sudo yum install mysql-devel
gem install mysql2
gem install passenger
yum install curl-devel httpd-devel
passenger-install-apache2-modulePut these lines to end of file in httpd.conf, edit the file at /etc/httpd/conf/httpd.conf
LoadModule passenger_module /usr/local/rvm/gems/ruby-2.1.1/gems/passenger-4.0.37/buildout/apache2/mod_passenger.so < IfModule mod_passenger.c > PassengerRoot /usr/local/rvm/gems/ruby-2.1.1/gems/passenger-4.0.37 PassengerDefaultRuby /usr/local/rvm/gems/ruby-2.1.1/wrappers/ruby < /IfModule >Adding new virtual host:
vi /etc/httpd/conf.d/your_vhost_name.confAdd these line, set up your public app directory:
< VirtualHost *:80 > ServerName www.yourhost.com # !!! Be sure to point DocumentRoot to 'public'! DocumentRoot /somewhere/public < Directory /somewhere/public > # This relaxes Apache security settings. AllowOverride all # MultiViews must be turned off. Options -MultiViews < /Directory > < /VirtualHost >Restart your apache
service httpd restart
sudo yum update
sudo yum install httpd
sudo service httpd start
sudo yum install mysql-server
sudo service mysqld startYou can set a root MySQL password with these command:
sudo /usr/bin/mysql_secure_installation
sudo yum install php php-mysql
yum search php-Then terminal will show list of modules:
php53-process.i386 : Modules for PHP script using system process interfaces php53-pspell.i386 : A module for PHP applications for using pspell interfaces php53-snmp.i386 : A module for PHP applications that query SNMP-managed devices php53-soap.i386 : A module for PHP applications that use the SOAP protocol php53-xml.i386 : A module for PHP applications which use XML php53-xmlrpc.i386 : A module for PHP applications which use the XML-RPC protocolTo see more detail:
yum info name_of_moduleTo install the module:
yum install name_of_moduleFinally, restart your apache to see the effect for the changed:
sudo service httpd restart
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY! Someone could be eavesdropping on you right now (man-in-the-middle attack)! It is also possible that a host key has just been changed. The fingerprint for the RSA key sent by the remote host is 80:54:8b:9b:39:fb:f1:23:af:0f:4d:af:eb:24:70:44. Please contact your system administrator. Add correct host key in /Users/arul/.ssh/known_hosts to get rid of this message. Offending RSA key in /Users/arul/.ssh/known_hosts:1 RSA host key for 192.168.10.50 has changed and you have requested strict checking. Host key verification failed.That messages show up, because RSA host key had change
vi ~/.ssh/known_hostsDone, now i can remote with SSH
apt-get remove webminOther way to uninstall webmin
/etc/webmin/uninstall.sh .
sudo vi /etc/apt/sources.list
deb http://download.webmin.com/download/repository sarge contrib deb http://webmin.mirror.somersettechsolutions.co.uk/repository sarge contribNow you need to download GPG key
wget http://www.webmin.com/jcameron-key.asc sudo apt-key add jcameron-key.asc
sudo apt-get update
sudo apt-get install webmin