1/ Set static IP of the machine
vim /etc/sysconfig/network-scripts/ifcfg-eth0
#Change the following properties
ONBOOT=yes
IPADDR=10.1.1.12.xxx| import { digest } from 'json-hash'; | |
| import mongose from 'mongoose'; | |
| import passportLocalMongoose from 'passport-local-mongoose'; | |
| import { fetchAndCache } from '../cache/redis'; | |
| const ObjectId = mongose.Schema.ObjectId; | |
| const AdminUser = new mongose.Schema({ | |
| username: { | |
| type: String, |
| wget --no-check-certificate --no-cookies --header "Cookie: oraclelicense=accept-securebackup-cookie" http://download.oracle.com/otn-pub/java/jdk/7u67-b01/jdk-7u67-linux-x64.rpm | |
| rpm -Uvh jdk-7u67-linux-x64.rpm | |
| alternatives --install /usr/bin/java java /usr/java/latest/jre/bin/java 200000 | |
| echo 'export JAVA_HOME="/usr/java/latest"' >> ~/.bash_profile |
| --set static ip | |
| DEVICE=eth0 | |
| HWADDR=00:0C:29:2D:08:6D | |
| TYPE=Ethernet | |
| UUID=551f9054-0ded-4ff0-a77a-387effe5924b | |
| ONBOOT=yes | |
| NM_CONTROLLED=yes | |
| BOOTPROTO=static | |
| IPADDR=10.1.12.81 | |
| NETMASK=255.255.255.0 |
| Set-ExplorerOptions -showHidenFilesFoldersDrives -showProtectedOSFiles -showFileExtensions | |
| Enable-RemoteDesktop | |
| cinst fiddler4 | |
| cinst sublimetext2 |
| [ 0.000000] Initializing cgroup subsys cpuset | |
| [ 0.000000] Initializing cgroup subsys cpu | |
| [ 0.000000] Linux version 3.2.037virtual (buildd@allspice) (gcc version 4.6.3 (Ubuntu/Linaro 4.6.31ubuntu5) ) #58Ubuntu SMP Thu Jan 24 15:48:03 UTC 2013 (Ubuntu 3.2.037.58virtual 3.2.35) | |
| [ 0.000000] Command line: LABEL=cirrosrootfs ro console=tty1 console=ttyS0 | |
| [ 0.000000] KERNEL supported cpus: | |
| [ 0.000000] Intel GenuineIntel | |
| [ 0.000000] AMD AuthenticAMD | |
| [ 0.000000] Centaur CentaurHauls | |
| [ 0.000000] BIOSprovided physical RAM map: | |
| [ 0.000000] BIOSe820: 0000000000000000 000000000009dc00 (usable) |
| [DEFAULT] | |
| # Show debugging output in log (sets DEBUG log level output) | |
| # debug = true | |
| # The DHCP agent will resync its state with Quantum to recover from any | |
| # transient notification or rpc errors. The interval is number of | |
| # seconds between attempts. | |
| # resync_interval = 5 | |
| # The DHCP requires that an inteface driver be set. Choose the one that best |
| #NOTE: the directory paths used here may be adjusted | |
| #the following two directories must be both readable and writable by apache | |
| WSGISocketPrefix ${APACHE_RUN_DIR} | |
| #WSGIPythonEggs /var/python/eggs | |
| #the following directory must be readable by apache | |
| #WSGIPythonHome /usr/local | |
| #NOTE: all urs below will need to be adjusted if | |
| #settings.FORUM_SCRIPT_ALIAS is anything other than empty string (e.g. = 'forum/') |