• About
  • Everyday Linux Commands

<roughCode/>

~ …so I can find it

Monthly Archives: July 2014

Unity3d Editor…things to remember

17 Thursday Jul 2014

Posted by Scott in Video Games

≈ Comments Off on Unity3d Editor…things to remember

Tags

Unity3d

  • To snap to grid, select the items you’re trying to snap, then Edit > Snap Settings
  • For top-down 2d camera, don’t forget to set the camera rotation to X: 90 and Projection: Orthographic (when using the default 3d settings)
  • CreatePlane script: http://wiki.unity3d.com/index.php?title=CreatePlane

…because so far I keep forgetting these two things when trying to set up my project…

Advertisement

Battleborn: Best Game Trailer Ever?

17 Thursday Jul 2014

Posted by Scott in Video Games

≈ Comments Off on Battleborn: Best Game Trailer Ever?

Tags

games

Not 100% sure why…maybe the song (My Tears Are Becoming A Sea by M83), certainly the editing with the song, maybe the awesome gentleman robot dude, the cool other character designs, the pull back to shattered space…but this is the best game trailer I’ve seen in ages:

More installing Java on CentOS

14 Monday Jul 2014

Posted by Scott in Java, Linux / UNIX

≈ Comments Off on More installing Java on CentOS

Tags

Java, linux, Linux Java

from .bash_history…

sudo yum install java-1.6.0-openjdk-devel

well…where did that install to? Check out the crazy stuff @ /usr/lib/jvm/

sudo JAVA_HOME=/usr/lib/jvm/java-openjdk
export JAVA_HOME
PATH=$JAVA_HOME/bin:$PATH
export PATH

Continue reading →

IPTABLES to redirect 80 to 8080 for Tomcat

14 Monday Jul 2014

Posted by Scott in Apache Tomcat, Application Servers, Linux / UNIX

≈ Comments Off on IPTABLES to redirect 80 to 8080 for Tomcat

Tags

linux, tomcat

This is partially noted in some earlier posts, but the full detail is missing…

sudo /sbin/iptables -I INPUT 1 -p tcp –dport 8080 -j ACCEPT
sudo /sbin/iptables -I INPUT 1 -p tcp –dport 80 -j ACCEPT
sudo iptables -t nat -A PREROUTING -p tcp -m tcp –dport 80 -j REDIRECT –to-ports 8080
sudo service iptables save
sudo service iptables restart

Adding user to CentOS sudoers

14 Monday Jul 2014

Posted by Scott in Linux / UNIX

≈ Comments Off on Adding user to CentOS sudoers

Tags

centos, linux

edit /etc/sudoers and blunt trauma a user into it:

bob    ALL=(ALL)       ALL

Quick reference:

http://wiki.centos.org/TipsAndTricks/BecomingRoot

 

Recent Posts

  • Bulk commands to install PHP and MySQL on CentOS 7
  • Four year gap? No, had just been self-hosting for a while
  • winhttpcertcfg.exe Example
  • Configure Tomcat 7 to use HTTPS
  • SCP on Mac (and a tool for Windows)

Archives

  • November 2018
  • October 2018
  • October 2014
  • September 2014
  • August 2014
  • July 2014
  • January 2013
  • December 2012
  • November 2012
  • October 2012
  • September 2012
  • August 2012
  • July 2012

Categories

  • Apache Tomcat
  • Apache Web Server
  • Application Servers
  • C#
  • CMS
  • Code Samples
  • Databases
  • Development Tools
  • Drupal
  • IIS
  • Java
  • Linux / UNIX
  • MS SQL Server
  • Networking
  • Operating Systems
  • Oracle
  • Uncategorized
  • Video Games
  • Windows
  • WordPress

Meta

  • Register
  • Log in
  • Entries feed
  • Comments feed
  • WordPress.com

Blog at WordPress.com.

Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.
To find out more, including how to control cookies, see here: Cookie Policy
  • Follow Following
    • <roughCode/>
    • Already have a WordPress.com account? Log in now.
    • <roughCode/>
    • Customize
    • Follow Following
    • Sign up
    • Log in
    • Report this content
    • View site in Reader
    • Manage subscriptions
    • Collapse this bar