Skip to content

Instantly share code, notes, and snippets.

@vparihar01
Created May 13, 2013 06:46
Show Gist options
  • Select an option

  • Save vparihar01/5566550 to your computer and use it in GitHub Desktop.

Select an option

Save vparihar01/5566550 to your computer and use it in GitHub Desktop.
clear
cd current
bundle install
tail -f /var/log/casserver.log
vim config.yml
exit
ifconfig
df -h
showmount -e
ls -la
ls -la /ebs/
ls -la /ebs/adobe/fms/vod
ls -la /ebs/adobe/fms/webroot/
ls -la /ebs/adobe/fms/webroot/vod/
ls -la /ebs/adobe/fms/webroot/vod/videos/
showmount -e
ls -la /ebs/adobe/fms/webroot/vod/video/
mkdir /ebs/akk
sudo su
cd /ebs/mlbacademy_com/
cd current
pwd
cd ..
cd ..
ls
cd rubycas/current
ls
tail -f /var/log/casserver.log -n 1000
tail -f /var/log/apache2/error.log -n 450
tail -f /var/log/apache2/error.log
vim Gemfile
bundle
bundle | grep rack
cat Gemfile.lock
sudo mv Gemfile.lock Gemfile.lock.bk
bundle
service apache2 restart
apache2ctl restart
/etc/init.d/apache2 resources/
/etc/init.d/apache2 restart
/usr/local/apache2/bin/apachectl restart
cd /ebs/rubycas/current
vim config.yml
vim config.yml
/usr/local/apache2/bin/apachectl restart
/usr/local/apache2/bin/apachectl restart
ls /usr/local/apache2/
history
ls /usr/local/apache2/bin
/usr/local/apache2/bin/apachectl restart
/usr/local/apache2/bin/apachectl restart
/usr/local/apache2/bin/apachectl restart
vim config.yml
vim config.yml
/usr/local/apache2/bin/apachectl restart
exit
cat ~/.bash_history
free -m
vim /etc/fstab
vim /etc/exports
touch /ebs/adobe/fms/webroot/vod/video/test
ls -la /ebs/adobe/fms/webroot/vod/video/
sudo su
sudo su
cd /ebs/
ls -l
history
clear
ls -l
cd spree/current
RAILS_ENV=production rails c
RAILS_ENV=production rails c
cd ..
cd ..
cd mlbacademy_com/current
clear
RAILS_ENV=production rails c
cd ..
cd ..
cd spree/
cd current
cd ..
cd ..
cd mlbacademy_com/current
rails c
RAILS_ENV=production rails c
cd ..
cd ..
cd spree/
cd current
RAILS_ENV=production rails c
RAILS_ENV=production rake -T
RAILS_ENV=production rake user:set_role
RAILS_ENV=production rails c
exit
ls -la /ebs/mlbacademy_com/shared/
ls -la /ebs/mlbacademy_com/current/public/
ls -la /ebs/mlbacademy_com/shared/
ls -la /ebs/mlbacademy_com/shared/uploads/
ls -la /usr/local/apache2/conf/extra/httpd-vhosts.conf
cd /ebs/mlbacademy_com/current
clear
vim config/environments/production.rb
RAILS_ENV=production rails c
history
/usr/local/apache2/bin/apachectl restart
cat /home/deploy/.ssh/authorized_keys
cat /home/deploy/.ssh/id_dsa.pub
cat /home/vivek/.ssh/authorized_keys
cat /home/deploy/.ssh/authorized_keys
cat /etc/ssh/ssh_config
cd /usr/local/apache2/logs/
tail -f error_log
tail -f access_log
ls
cd /ebs/rubycas/current
clear
mysql -u root -p sso_mlb
rake db:migrate
mysql -u root -p sso_mlb
clear
cd /ebs/
cd mlbacademy_com/
cd current
RAILS_ENV=production rake -T
clear
clear
vim /usr/local/apache2/conf/extra/httpd-vhosts.conf
history
/usr/local/apache2/bin/apachectl restart
vim /usr/local/apache2/conf/extra/httpd-vhosts.conf
tail -f /var/log/apache2/mlb_error_log
tail -f /var/log/apache2/mlb_access_log
vim /usr/local/apache2/conf/extra/httpd-vhosts.conf
/usr/local/apache2/bin/apachectl restart
vim /usr/local/apache2/conf/extra/httpd-vhosts.conf
/usr/local/apache2/bin/apachectl restart
vim /usr/local/apache2/conf/extra/httpd-vhosts.conf
/usr/local/apache2/bin/apachectl restart
history
/usr/local/apache2/bin/apachectl restart
vim /usr/local/apache2/conf/extra/httpd-vhosts.conf
/usr/local/apache2/bin/apachectl restart
/usr/local/apache2/bin/apachectl restart
vim /usr/local/apache2/conf/extra/httpd-vhosts.conf
/usr/local/apache2/bin/apachectl restart
vim /usr/local/apache2/conf/extra/httpd-vhosts.conf
/usr/local/apache2/bin/apachectl restart
vim /usr/local/apache2/conf/extra/httpd-vhosts.conf
/usr/local/apache2/bin/apachectl restart
vim /usr/local/apache2/conf/extra/httpd-vhosts.conf
/usr/local/apache2/bin/apachectl restart
vim /etc/apache2/sites-available/
vim /usr/local/apache2/conf/extra/httpd-vhosts.conf
/usr/local/apache2/bin/apachectl restart
vim /usr/local/apache2/conf/extra/httpd-vhosts.conf
/usr/local/apache2/bin/apachectl restart
vim /usr/local/apache2/conf/extra/httpd-vhosts.conf
/usr/local/apache2/bin/apachectl restart
vim /usr/local/apache2/conf/extra/httpd-vhosts.conf
/usr/local/apache2/bin/apachectl restart
ls -l
cd /ebs/
ls -l
clear
cd mlbacademy_com/
cd current
RAILS_ENV=production rake db:reseed
RAILS_ENV=production rails c
RAILS_ENV=production rake pro_players:generate_all_pro_players_data
rake algorithm:create_all_required_data
RAILS_ENV=production rake algorithm:create_all_required_data
cd ..
cd ..
cd rubycas/
cd current
vim config.yml
mysql -u root -p hills66badge
vim config.yml
mysql -u root -p sso_mlb
clear
RAILS_ENV=production rake db:migrate
mysql -u root -p sso_mlb
clear
cd ..
cd ..
cd mlb-spree
cd spree/
cd current
RAILS_ENV=production rake db:reset
cd ..
clear
cd ..
cd mlbacademy_com/current
rails c
RAILS_ENV=rails c
RAILS_ENV=production rails c
RAILS_ENV=production rails c
clar
clear
rake db:reseed
RAILS_ENV=production rake db:reseed
RAILS_ENV=production rails c
vim config/initializers/constants.rb
vim config/initializers/constants.rb
vim config/initializers/constants.rb
RAILS_ENV=production rails c
RAILS_ENV=production rake -T
RAILS_ENV=production rake user:create_admin
history
sudo /usr/local/apache2/bin/apachectl restart
RAILS_ENV=production rails c
tail -f /var/log/apache2/error.log
tail -f /var/log/apache2/mlb_error_log
cd /var/log/apache2/
cd login_
cd log
ls -l
tail -f /var/log/apache2/mlb_error_log
tail -f /var/log/apache2/mlb_error_log
tail -f /var/log/apache2/mlb_error_log
tail -f /var/log/apache2/mlb_access_log
cd /ebs/
cd mlbacademy_com/
cd current
clear
cd ..
cd ..
cd spree/
cd ..
cd rubycas/
cd ..
ls -l
cd rubycas/
cd current
mysql -u root -p sso_mlb
vim config.yml
mysql -u root -p sso_mlb
mysql -u root -p sso_mlb
cd ..
cd ..
cd spree/current
RAILS_ENV=production rails c
clear
RAILS_ENV=production rake -T
RAILS_ENV=production rake user:set_role
RAILS_ENV=production rails c
cd /ebs/mlbacademy_com/current
rails c
RAILS_ENV=production rails c
rake pro_players:generate_all_pro_players_data
RAILS_ENV=production rake pro_players:generate_all_pro_players_data
RAILS_ENV=production rails c
RAILS_ENV=production rake algorithm:create_all_required_data
exit
cd /var/www/
clear
cd /ebs/
ls -l
cd mlbacademy_com/
RAILS_ENV=production rails c
cd current
RAILS_ENV=production rails c
exit
clear
cd /ebs/mlbacademy_com/current
clear
tail -f log/production.log
clear
exit
tail -f /var/log/apache2/mlb_access_log
tail -f /var/log/casserver.log
clear
cd /ebs/mlbacademy_com/
cd current
ls -l
clear
history
cd /usr/local/apache2/conf/
ls -l
cd extra/
ls -l
vim httpd-ssl.conf
vim httpd-vhosts.conf
history
/usr/local/apache2/bin/apachectl restart
vim httpd-vhosts.conf
cd /ebs/rubycas/
clear
cd current
vim config.yml
vim config.yml
/usr/local/apache2/bin/apachectl restart
tail -f /var/log/casserver.log
clear
vim /usr/local/apache2/conf/extra/httpd-vhosts.conf
vim /usr/local/apache2/conf/extra/httpd-vhosts.conf
/usr/local/apache2/bin/apachectl restart
tail -f /var/log/apache2/mlb_access_log
vim /usr/local/apache2/conf/extra/httpd-vhosts.conf
/usr/local/apache2/bin/apachectl restart
tail -f /var/log/apache2/mlb_access_log
/usr/local/apache2/bin/apachectl restart
tail -f /var/log/apache2/mlb_access_log
netstat -tulpn |grep fms
sudo su
clear
cd /ebs/mlbacademy_com/
cd current
RAILS_ENV=production rake -T
RAILS_ENV=production rake algorithm:create_all_required_data
cd ..
ls -l
cd releases/
ls -l
cd 20130509093819/
vim config/initializers/constants.rb
exit
top -C
top -c
cd /ebs/adobe/fms/
ls
ls 1
ls -l
ls
ls /ebs/FMS/
netstat -tulpn
netstat -tulpn | grep fms
ls -la
chmod -R 777 conf/
ls -la
cd ..
ls -la
cd fms/
ls
ls -l
./fmsedge server start
netstat -tulpn | grep fms
./fmsadmin status
./fmsadmin
./fmsadmin --help
./fmsadmin -help
./fmsadmin server
./fmsadmin server start
cd /usr/local/apache2/conf/
vim extra/httpd-vhosts.conf
/usr/local/apache2/bin/apachectl restart
vim extra/httpd-vhosts.conf
/usr/local/apache2/bin/apachectl restart
vim extra/httpd-vhosts.conf
/usr/local/apache2/bin/apachectl restart
vim extra/httpd-vhosts.conf
vim extra/httpd-ssl.conf
vim extra/httpd-vhosts.conf
/usr/local/apache2/bin/apachectl restart
vim extra/httpd-vhosts.conf
/usr/local/apache2/bin/apachectl restart
cd ..
tail -f logs/access_log
tail -f /var/log/apache2/mlb_access_log
tail -f /var/log/apache2/mlb_error_log
date
date
tail -f /var/log/apache2/mlb_error_log
vim extra/httpd-vhosts.conf
vim conf/extra/httpd-vhosts.conf
/usr/local/apache2/bin/apachectl restart
tail -f /var/log/apache2/mlb_error_log
/usr/local/apache2/bin/apachectl restart
tail -f /var/log/apache2/mlb_error_log
/usr/local/apache2/bin/apachectl restart
tail -f /var/log/apache2/mlb_error_log
vim conf/extra/httpd-ssl.conf
vim conf/extra/httpd-ssl.conf
tail -f /usr/local/apache2/logs/error_log
tail -f /usr/local/apache2/logs/error_log
cd
netstat -tlips
netstat -tlupn
netstat -tulpn
netstat -tulpn | grep fms
cd /ebs/adobe/
ls -l
ls -la
cd fms/
ls -la
cat .autostart
ls -la
./fmsmaster
netstat -tulpn | grep fms
./fmsedge server restart
netstat -tulpn | grep fms
./fmsedge server r
./fmsedge serve
./fmsedge
./server
./server restart
./server stop
./server restart
netstat -tulpn | grep fms
killall -s KILL fmsmaster
killall -s KILL fmsmadmin
./server start
netstat -tulpn | grep fms
e | grep fmsps
e | grep fms
ps -e | grep fms
netstat -tulpn | grep fms
netstat -tulpn
ps -e | grep fms
cd ..
cd ..
cd adobe/fms/
ls
ls -la
./uninstallFMS
./uninstallFMS
netstat -tulpn | grep fms
ps -e | grep fms
cd //
cd /ebs/adobe/
ls -la
cd ..
cd FMS/FMS_4_5_1_r484/
./installFMS
ps -e | grep fms
netstat -tulpn | grep fms
cd ..
cd ..
cd adobe/fms/
./fmsmgr server fms start
./fmsmaster -console
./fmsmgr server fms start
netstat -tulpn | grep fms
./fmsedge server fms start
ls -la
rpm -q libcap
ls -l /lib/
ln -s /lib/x86_64-linux-gnu/libcap.so.2 libcap.so.1
ls -la
./fmsedge server fms start
netstat -tulpn | grep fms
./fmsedge server fms restart
tail -f conf/Server.xml
./fmsmaster
tail -f logs/master.00.log
ls -la
vim conf/fms.ini
ls
ls -la
./fmsedge server fms restart
./fmsmaster
./fmsmaster
./fmsmaster
tail -f logs/master.00.log
date
tail -f logs/master.00.log
ls -la
cat conf/fms.ini
tail -f logs/master.00.log
./fmsmaster -console
tail -f logs/master.00.log
ps -e | grep fm
netstat -tulpn | grep fms
cp -r /ebs/akk/ /ebs/adobe/fms/webroot/vod/
cd /ebs/adobe/fms/
ls -l webroot/vod/
cp -r webroot/vod/akk/video webroot/vod/
ls -l webroot/vod/
cp -r webroot/vod/akk/videos/ webroot/vod/
ls -l webroot/vod/
rm -rf akk
cat conf/fms.ini
history
vim /usr/local/apache2/conf/extra/httpd-vhosts.conf
cd /ebs/
/usr/local/apache2/bin/apachectl restart
vim /usr/local/apache2/conf/extra/httpd-vhosts.conf
tail -f /var/log/apache2/mlb_access_log
vim /usr/local/apache2/conf/extra/httpd-vhosts.conf
/usr/local/apache2/bin/apachectl restart
tail -f /var/log/apache2/mlb_access_log
clear
cd mlbacademy_com/current
ls -l
cd public/
ls -l
cd uploads
ls -l
cd video
cd videos
ls -l
cd videos
cd /ebs/adobe/fms/webroot/vod/videos
cd /ebs/adobe/fms/webroot/vod
ls -l
exit
sudo su
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment