Category: Career
-
#### define eth0 interface ##### vi /etc/sysconfig/network-scripts/ifcfg-eth0 DEVICE=eth0 NM_CONTROLLED=no ONBOOT=yes HWADDR=00:50:56:37:F1:04 TYPE=Ethernet BOOTPROTO=static IPADDR=192.168.1.8 NETMASK=255.255.255.0 NETWORKING=yes HOSTNAME=web.example.com GATEWAY=192.168.1.1 nameserver 192.168.1.1 nameserver 8.8.8.8 # Google’s DNS server
-
try to start ssh /etc/init.d/sshd restart /etc/init.d/sshd status Check log: sudo /usr/sbin/sshd -d
-
create gitconfig: user> git config –global user.name “jayceee” user> git config –global user.email jicheng17@gmail.com user> git config –global -e edit gitconfig to add in: [http] proxy = http://mydomain\\myusername:mypassword@myproxyserver:8080
-
####init.d /etc/init.d/mysql start/stop/status ####service service mysql start/stop/status ####log /var/log/mysql.log /var/log/mysql.err
-
ssh-keygen -t rsa ssh-agent bash ssh-add ~/.ssh/id_rsa
-
Oracle HTTP Server does not require an Oracle WebLogic domain. However, Oracle HTTP Server is typically used in conjunction with an Oracle WebLogic Domain. mod_wl_ohs links Oracle Http Server and Oracle Weblogic Server. In cluster, managed servers are configured together as a comma-separated list. in mod_wl_ohs.conf file, < Location /cs > WebLogicCluster :16200,:16200 SetHandler weblogic-handler…
-
– open file at a fix line number vim +123 test.txt vim test.txt +123
-
#####Hard link vs. Soft link in Linux or UNIX #####Hard links cannot link directories. Cannot cross file system boundaries. Soft or symbolic links are just like hard links. It allows to associate multiple filenames with a single file. However, symbolic links allows: To create links between directories. Can cross file system boundaries. #####These links behave…
-
###before body Google used to recommend putting it just before the end of body tag, but there is some loading problem of the js. ###before head Current recommendation is just before the tag. < head> will add a little latency; in the footer will reduce the number of pageviews recorded at some small margin. As…
-
There is a very good book site to pick up the basic of shell scripting: http://linux-training.be/files/books/html/fun/pt06.html