Tuesday, September 29, 2015

auto shutdown / restart window 7

Reference Social.technet:

1.   Launch Task Scheduler.
2.   Click Action and select Create Basic task.
3.   Type AutoRestart (or others you want) in the Name box and click Next.
4.   Select Daily and click Next
5.   Type the time you want to restart the computer and click Next.
6.   Select Start a program and click Next.
7.   Click Brower and navigate to %SystemRoot%\System32 and select Shutdown.exe and click Open. Type –R -T 3 -F in the Add arguments (optional) box and click Next.
8.   Click Finish.

or 

create bat file autoshutdown.bat

c:\windows\system32\shutdown.exe /R /T 3 /F


Sunday, September 27, 2015

The local device name is already in use

ให้อัพเดต windows 7

Read Link:

Thursday, September 24, 2015

xpnology

1. reset passwd user admin
https://www.youtube.com/watch?v=VW5qNnsLbHc

2. Install Xpnology Assistant



save and Install

Wednesday, September 9, 2015

update java 1.7.0_79 to 1.8.0_60

If new install ubuntu can install java with command
sudo apt-get install ubuntu-restricted-extras openjdk-8-jdk


1.Download java
2. extract java
cp /home/hades/Downloads/jdk-8u60-linux-x64.tar.gz /opt/
3. tar xvzf jdk-8u60-linux-x64.tar.gz
4. Install control java config
#apt-get install galternatives
#galternatives

add java, javac, javaws read more info


5. configure java default
#update-alternatives --config java


6. Check java version
root@mail:/opt# java -version
java version "1.8.0_60"
Java(TM) SE Runtime Environment (build 1.8.0_60-b27)
Java HotSpot(TM) 64-Bit Server VM (build 25.60-b23, mixed mode)

7. configure plugins firefox
/.mozilla$ mkdir plugins
ln -s /opt/jdk1.8.0_60/jre/lib/amd64/libnpjp2.so ~/.mozilla/plugins/

8. configure control security
/opt/jdk1.8.0_60/bin$ sudo sh ControlPanel



Reference: 
http://askubuntu.com/questions/159575/how-do-i-make-java-default-to-a-manually-installed-jre-jdk