You are on page 1of 9

cp /tmp/wfa_features_benefits.html .

/
ls -ls
cd /var/opt/mpf/
ls -ls
cd /var/opt/de
cd /var/opt/mpf/
clear
su postgres
cd /var/opt/mpf/
cd /var/svn/mpowersales/conf/
nano passwd
clear
cd /var/opt/mpf/mpowerforce/mpf_joomla
rm /tmp/wfa_features_benefits.html
mv /tmp/wfa_features_benefits.html ./
ls -ls
clear
mkdir /var/opt/mpf/sample/webapps/
mkdir /var/opt/mpf/sample/
mkdir /var/opt/mpf/sample/webapps/
sudo aptitude install libapache2-mod-php5 php5 php5-common php5-curl php5-dev ph
p5-gd php5-imagick php5-mcrypt php5-memcache php5-mhash php5-mysql php5-pspell p
hp5-snmp php5-sqlite php5-xmlrpc php5-xsl
sudo aptitude search php5-
php
sudo aptitude install libapache2-mod-php5 php5 php5-common php5-curl php5-dev ph
p5-gd php5-imagick php5-mcrypt php5-memcache php5-mhash php5-mysql php5-pspell p
hp5-snmp php5-sqlite php5-xmlrpc php5-xsl
apt-get update
sudo aptitude install libapache2-mod-php5 php5 php5-common php5-curl php5-dev ph
p5-gd php5-imagick php5-mcrypt php5-memcache php5-mhash php5-mysql php5-pspell p
hp5-snmp php5-sqlite php5-xmlrpc php5-xsl
sudo aptitude install php5-mysql php5-dev php5-curl php5-gd php5-imagick php5-mc
rypt php5-memcache php5-mhash php5-pspell php5-snmp php5-sqlite php5-xmlrpc php5
-xsl
/etc/php5/apache2/php.ini
cat /etc/php5/apache2/php.ini
clear
nano /etc/php5/apache2/php.ini
ls -ls /var/www
sudo apt-get install phpmyadmin
clear
lynx.stable http://localhost/phpmyadmin
cd /var/opt/mpf/grapevine/webapps/prd/
cd /var/svn/mpowersales/conf/
nano passwd
nano /etc/sudoers
passwd tally
clear
nano /etc/ssh/sshd_config
exit
/etc/init.d/openfire start
iptables -L
ps -ef|grep openfire
/etc/init.d/openfire start
ps -ef|grep openfire
apt-get install openfire
locate openfire
/etc/init.d/openfire start
ps -ef|grep openfire
ps -ef|grep java
/etc/init.d/openfire start
cd /root/sources/
DPKG -I openfire_3.6.4_all.deb
dpkg -i openfire_3.6.4_all.deb
ps -ef|grep java
nano /etc/openfire/openfire.xml
nano /var/lib/openfire/embedded-db/openfire.script
/etc/init.d/openfire stop
/etc/init.d/openfire start
cd /var/opt/demo
ls
cd /var/opt/mpf/demo/
cd /var/opt/
ls
cd /var/opt/mpf/
ls
cd /var/opt/mpf/tallyapps/
ls
cd /var/opt/mpf/tallyapps/webapps
ls
cd /var/opt/mpf/tallyapps/webapps/qa
ls
cd /var/opt/mpf/tallyapps/webapps/qa/log
ls
nano tail -2 mongrel_app.log
nano tail -20 mongrel_app.log
nano mongrel_app.log
nano tail -2 mongrel_app.log
tail -20 mongrel_app.log
tail -2 mongrel_app.log
cd /var/opt/mpf/tallyapps/serverapps/qa/log
tail -2 mongrel_app.log
ls
cd..
cd /var/opt/mpf/tallyapps/serverapps/qa/
ls
cd /var/opt/mpf/tallyapps/serverapps/qa/log
ls
cd /var/opt/mpf/tallyapps/serverapps/qa/log/
ls
cd /var/opt/mpf/tallyapps/webapps/qa/log
ls
tail -10 mongrel_app.log
psql -d postgres
tail -10 mongrel_app.log
psql -d qa_sfa
psql -d postgressql
psql -d qatallyapps
nano tail -2 mongrel_app.log
nano tail -t mongrel_app.log
nano tail -2 mongrel_app.log
nano -t 2 mongrel_app.log
exit
su postgrs
psql -t qatallyapps
psql -d qatallyapps
pwql
psql
psql -help
psql help
help paql
help psql
psql -d qatallyapps
psql /h
psql \h
psql -U qatallyapps
psql \h
psql h
cp -rf /var/opt/mpf/mpowerforce/mpf_joomla/ /var/opt/slicebackup/mpowerforce.com
/mpf_joomla_2010_10_21/
cd /var/opt/mpf/mpowerforce/
mv mpf_joomla/ /var/opt/slicebackup/mpowerforce.com/mpf_joomla_2010_10_21_origin
al/
unzip /tmp/finalversion.zip
mv finalversion/ mpf_joomla/
cd mpf_joomla
clear
ls -ls
ls -ls /var/opt/slicebackup/mpowerforce.com/mpf_joomla_2010_10_21_original/
cd /etc/apache2/sites-available/
nano mpowerforce.com
clear
mv mpowerforce.com mpowerforce.com.backup
nano mpowerforce.com
/etc/init.d/apache2 stop
/etc/init.d/apache2 start
nano mpowerforce.com
mkdir /var/opt/mpf/mpowerforce/mpf_joomla/log/
/etc/init.d/apache2 start
nano mpowerforce.com
nano mpowerforce.com.backup
chown -R www-data.root /var/opt/mpf/mpowerforce/mpf_joomla/
nano mpowerforce.com
/etc/init.d/apache2 start
/etc/init.d/apache2 stop
/etc/init.d/apache2 start
nano mpowerforce.com
/etc/init.d/apache2 stop
/etc/init.d/apache2 start
cd /var/www/
unzip /tmp/finalversion.zip
mv finalversion/ mpowerforce/
chown -R www-data.root mpowerforce/
cd /etc/apache2/sites-available/
nano mpowerforce.com
mkdir /var/www/mpowerforce/log/
/etc/init.d/apache2 stop
/etc/init.d/apache2 start
php
php5
sudo aptitude install libapache2-mod-php5 php5 php5-common php5-curl php5-dev ph
p5-gd php5-imagick php5-mcrypt php5-memcache php5-mhash php5-mysql php5-pspell p
hp5-snmp php5-sqlite php5-xmlrpc php5-xsl
apt-get install libapache2-mod-php5 php5 php5-common php5-curl php5-dev php5-gd
php5-imagick php5-mcrypt php5-memcache php5-mhash php5-mysql php5-pspell php5-sn
mp php5-sqlite php5-xmlrpc php5-xsl
sudo /etc/init.d/apache2 reload
a2dissite mpowerforce.com
sudo /etc/init.d/apache2 reload
a2ensite mpowerforce.com
sudo /etc/init.d/apache2 reload
nano mpowerforce.com
a2ensite mpowerforce.com
a2dissite mpowerforce.com
sudo /etc/init.d/apache2 reload
a2ensite mpowerforce.com
sudo /etc/init.d/apache2 reload
nano mpowerforce.com.backup
nano mpowerforce.com
a2dissite mpowerforce.com.backup
a2dissite mpowerforce.com
sudo /etc/init.d/apache2 reload
a2ensite mpowerforce.com
sudo /etc/init.d/apache2 reload
/etc/init.d/apache2 stop
/etc/init.d/apache2 start
nano mpowerforce.com
/etc/init.d/apache2 stop
/etc/init.d/apache2 start
ls -ls /var/www/mpowerforce/
nano /var/www/mpowerforce/log/error.log
nano /var/www/mpowerforce/log/access.log
nano mpowerforce.com
> mpowerforce.com
nano mpowerforce.com
/etc/init.d/apache2 stop
/etc/init.d/apache2 start
nano mpowerforce.com
cd ../mods-available/
a2ensmod php5
a2enmod php5
ls -ls
ls -ls|grep load
ls -ls ../mods-enabled/|grep load
a2enmod include
/etc/init.d/apache2 stop
/etc/init.d/apache2 start
nano /var/www/mpowerforce/log/access.log
nano ../sites-enabled/mpowerforce.com
cd /var/www/
chown -R www-data.root mpowerforce/
cd mpowerforce/
nano log/access.log
nano log/error.log
ls -ls log/
ls -ls
chmod 777 *
ls -ls
ls -ls
cd /etc/apache2/sites-available/
ls -ls
nano mpowerforce.com.backup
nano mpowerforce.com
cd ../mods-available/
cd ../../
cd apache2/sites-available/default
nano apache2/sites-available/default
cd apache2/sites-available/
nano default
mv default default.backup
nano default
/etc/init.d/apache2 stop
/etc/init.d/apache2 start
exit
cd /var/www/mpowerforce/
cd ..
rm /tmp/finalversion.zip
mv mpowerforce/ /var/opt/slicebackup/mpowerforce.com/mpowerforce_2010_10_21_fina
l0/
du -hs /tmp/finalversion.zip
unzip /tmp/finalversion.zip
mv finalversion/ mpowerforce/
mkdir mpowerforce/log/
chown -R www.data.root mpowerforce/
chown -R www-data.root mpowerforce/
cd mpowerforce/
ls -ls
cd /etc/apache2/sites-available/
nano default
exit
cd /var/www
mv /var/wwwJohnson/ /var/opt/slicebackup/
ls -ls
mv /tmp/finalversion.zip /var/opt/slicebackup/mpowerforce.com/
mv mpowerforce/ /var/opt/slicebackup/mpowerforce.com/mpowerforce_2010_10_22_upda
ted_1/
unzip /tmp/mpowerforce.zip
cd mpowerforce/
cd ..
chown -R www-data.root mpowerforce/
ls -ls
chmod 777 mpowerforce/
ls -ls
chmod 770 mpowerforce/
ls -ls
mongrel_cluster_ctl statys
mongrel_cluster_ctl status
cd /var/opt/mpf/
cd cardigen/webapps/prd/
mongrel_rails cluster::stop
rm tmp/pids/*
cd /var/opt/mpf/jnj/webapps/qa/
mongrel_rails cluster::stop
cd /var/opt/mpf/mpc/webapps/qa
mongrel_rails cluster::stop
cd /var/opt/mpf/neutrogena/webapps/qa/
mongrel_rails cluster::stop
.
mongrel_rails cluster::stop
clear
cd /var/opt/mpf/grapevine/webapps/prd/
mongrel_rails cluster::stop
ps -ef|grep rubu
ps -ef|grep ruby
kill -9 9398
kill -9 16264
cd /var/opt/mpf/mpharma/webapps/prd/
mongrel_rails cluster::stop
16264
kill -9 16264
kill -9 22487
kill -9 22529
ps -ef|grep ruby
clear
top
/etc/init.d/openfire stop
top
clear
cd /var/opt/mpf/tallyapps/
ls
cd /var/opt/mpf/tallyapps/webapps/
ls
cd /var/opt/mpf/tallyapps/webapps/qa/
ls
cd /var/opt/mpf/tallyapps/webapps/qa/log/
ls
tail -f mongrel_app.log
tail -h
tail --help
tail -n 100 -f mongrel_app.log
tail -n 10 -f mongrel_app.log
tail -n -f mongrel_app.log
tail -f mongrel_app.log
cd /var/opt/mpf/tallyapps/serverapps/qa/log/
ls
cd /var/opt/mpf/tallyapps/serverapps/qa/
ls
cd /var/opt/mpf/tallyapps/serverapps/qa/sfa/
ls
cd /var/opt/mpf/tallyapps/webapps/qa/log
ls
tail -f mpowerforce.log
tail -f mobile_apps.log
tail -f access.log
cd /var/opt/mpf/tallyapps/serverapps/qa
cd /var/opt/mpf/
ls
cd /var/opt/
ls
cd /var/opt/mpf/
cd /var/opt/mpf/mpfapps/
ls
cd /var/opt/mpf/mpfapps/webapps/qa/log/
cd /var/opt/mpf/test_proje
ls
cd /var/opt/mpf/mpfapps/webapps/prd/
log
ls
cd /var/opt/mpf/mpfapps/webapps/prd/log/
ls
tail -2 mangrel_app.log
tail -2 mongrel_app.log
tail -f mongrel_app.log
exit
cd /var/www/
ls -ls mpowerforce/
chmod 770 mpowerforce/
chown -R www-data.root mpowerforce/
ls -ls
cd /var/www/mpowerforce/
ls -ls
ls -ls /tmp
rm /tmp/mpowerforce.zip
cd ..
mv mpowerforce/ /var/opt/slicebackup/mpowerforce.com/mpowerforce_2010_10_23_fina
l2/
unzip /tmp/mpowerforce.zip
cd mpowerforce/
ls -ls
mkdir log/
cd ..
chown -R www-data.root mpowerforce/
chmod 770 mpowerforce/
ls -ls
mv mpowerforce/ /var/opt/slicebackup/mpowerforce.com/mpowerforce_2010_10_23_fina
l3/
rm /tmp/mpowerforce.zip
unzip /tmp/mpowerforce.zip
cd /var/www/mpowerforce/
cd ..
rm /tmp/mpowerforce.zip
mv mpowerforce/ /var/opt/slicebackup/mpowerforce.com/mpowerforce_2010_10_25_fina
l4/
unzip /tmp/mpowerforce.zip
chown -R www-data.root mpowerforce/
chmod 770 mpowerforce/
ls -ls mpowerforce/
cd mpowerforce/
nano product.php
cd /var/www/
rm /tmp/mpowerforce.zip
mv mpowerforce/ /var/opt/slicebackup/mpowerforce.com/mpowerforce_2010_10_25_fina
l5/
unzip /tmp/mpowerforce.zip
chown -R ww-data.root mpowerforce/
chown -R www-data.root mpowerforce/
chmod 770 mpowerforce/
ls -ls mpowerforce/
cd mpowerforce/
ls -ls
cd /var/opt/mpf/mpfapps/webapps/prd/log/
tail -2 mongrel_app.log
tail -f mongrel_app.log
cd /var/opt/mpf/mpfapps/webapps/qa/log/
cd /var/opt/mpf/mpfapps/webapps/qa
cd /var/opt/mpf/mpfapps/
ls
cd /var/opt/mpf/mpfapps/webapps/
ls
cd /var/opt/mpf/mpfapps/webapps/prd/
cd /var/opt/mpf/mpfapps/webapps/prd/log/
ls
tail -f mongrel_app.log
nano tail -f mongrel_app.log
exit
cd /var/www/mpowerforce/
ls
cd..
ls
cd /var/opt
ls
cd mpf
ls
cd mpowerforce
ls
cd mpf_joomla
ls
ls c*
vi contact.php
l s-ls
ls -lls
ls ls c*
ls -ls con*
vi contact.php
ps -ef | grep apache
apache2 ?
apache2 -k stop
cd /var
ls
cd /etc/apache2
ls
cd sites-available
ls
vi mpowerforce.com
cd /var/www/mpowerforce
ls
vi contact.php
ls -ls con*
whoami
vi contact.php
exit
cd /var/opt/demo/tallyapps/webapps/qa
clear
cd /var/www/mpowerforce/
chmod 777 /home/admin/history*
exit
cd /var/opt/mpf
mkdir goldwin
mkdir goldwin/webapps
mkdir goldwin/serverapps
cd goldwin/webapps
svn co svn://209.20.86.215/Goldwin/goldwin_webapps/goldwin_webapps
mv goldwin_webapps/ qa/
cd qa
nano config/database.yml
mongrel_cluster_ctl status
cd /var/opt/mpf/jnj/webapps/qa/
mongrel_rails cluster::stop
cd /var/opt/mpf/neutrogena/webapps/qa/
mongrel_rails cluster::stop
cd /var/opt/mpf/mpc/webapps/qa/
mongrel_rails cluster::stop
cd /var/opt/mpf/goldwin/webapps/qa/
mongrel_rails cluster::configure -e production -p 5008 -N 1 -c /var/opt/mpf/gold
win/webapps/qa -a 127.0.0.1 -S config/mongrel.conf
sudo ln -s /var/opt/mpf/goldwin/webapps/qa/config/mongrel_cluster.yml /etc/mongr
el_cluster/qagoldwin.yml
mongrel_rails cluster::start
cd /etc/apache2/sites-available/
nano mpowerforce.net
/etc/init.d/apache2 stop
nano mpowerforce.net
/etc/init.d/apache2 stop
/etc/init.d/apache2 start
cd -
scp -P 30000 admin@209.20.90.126:/tmp/goldwin1.backup /tmp
su postgres
nano config/database.yml
pg_restore -i -h localhost -p 5432 -U postgres -d qagoldwin -v "/tmp/goldwin1.ba
ckup"
mongrel_rails cluster::stop
mongrel_rails cluster::start
nano /root/.bash_history
cp /root/.bash_history /home/admin/history.txt
cd ../
cd serverapps/
svn co svn://209.20.86.215/Goldwin/goldwin_serverapps/goldwin_serverapps
mv goldwin_serverapps/ qa/
cd qa
nano config/database.yml
nano *.xml
cp /root/.bash_history /home/admin/history1.txt
exit
cd /var/opt/mpf/goldwin/serverapps/qa
ls -l
cat cront.txt
rm cront.txt
crontab -e
ls -l
cd config
ls -l
cat database.yml
ls -l
cd ..
ls -l
ruby generator.rb
cd log
ls -l
vi server_apps.log
cd ..
exit
nano /var/opt/mpf/tallyapps/webapps/setup.rb

You might also like