moeminthar ၏

စိတ္ကူးတည့္ရာေရးထားေသာ ဘေလာ့ခ္

Archive for the ‘IT Knowledges’ Category

Remote Accessing to Ubuntu 14.04 Desktop

Posted by Zwe on October 7, 2015

Step 1: Install VNC Server on Ubuntu machine sudo apt-get install x11vnc

Step 2. On Ubuntu Desktop search X11VNC Server

Step 3. Set the x11vnc Listening Port “5902”, File Transfer “TightVNC” and press OK.

Step 4. Select “Accept Connections” and Define Password as “admin”. Click “Apply” and “OK”.

Step 5. Check your Ubuntu Server IP address ifconfig

Step 6. At your Windows machine you need to  install VNC client, for example Tight VNC http://www.tightvnc.com

Step 7. Double click to install tightvnc-2.7.10-setup-64bit.

Step 8. Search tightVNC Viewer on Windows 8 machine.

Step 9. Enter Remote Host IP address “192.168.0.112

Step 10. Enter Password: admin

Step 11. tightVNC Viewer is successfully establish connection to Ubuntu Server.

Remote Accessing to Ubuntu 14.04 desktop

 

Advertisements

Posted in IT Knowledges | Leave a Comment »

Windows 7 Free Training

Posted by Zwe on September 12, 2015

http://www.itfreetraining.com/70-680/windows-7/

Part 1: Installing, Upgrading, and Migrating to Windows 7

1 Windows 7 Editions
2 Clean install Of Windows 7
3 Install methods and dual booting
4 Upgrading to Windows 7
5 Installing Windows 7 from the network
6 Migrating to Windows 7

Part 2: Deploying Windows

1 Customizing Windows 7
2 Creating A Reference Image
3 Performing Maintenance On A Image
Deploying a WIM Image
5 MDT 2010

Part 3: Configuring Hardware and Applications

1 Virtual Hard disks
2 Configuring devices drivers
3 Troubleshooting devices drivers
4 Configuring USB
5 Application Compatibility
6 Application Compatibly Toolkit
7 XP Mode
8 Application restrictions
9 App Locker
10 Internet Explorer

Part 4: Configuring Network Connectivity

1 Introduction to the Internet Protocol (IP)
2 Internet Protocol Version 4
3 Internet Protocol Version 6
4 Troubleshooting IP
5 Wireless Networking
6 Windows Firewall
7 Windows Firewall with advanced security
8 Remote Management
9 Remote Management Tools

Part 5: Configuring Access to Resources

1 Folder Virtualization
2 HomeGroup
3 Folder Sharing
4 Managing Windows 7 Printers
5 Configure File and folder access
6 NTFS Special Permissions
7 Encrypting File System
8 Configure User Account Control
9 Authentication and Authorization
10 Certificates
11 Smartcards
12 Rights and elevating permissions
13 BranchCache

Part 6: Configuring Mobile Computing

1 Bitlocker
2 Bitlocker to go
3 Bitlocker and Recovery
4 DirectAccess
5 Offline Files
6 Transparent Caching
7 Power Options

Part 7: Monitoring and Maintaining Systems that Run Windows

1 Remote Connections
2 Windows Updates
3 Manage disks
4 Dynamic disks
5 Disk Defragmentation
6 Disk Tools and Removal Device Policy
7 Event Viewer
8 Event Forwarding
9 Event Forwarding source initiated
10 Data collector sets
11 Performance Options

Part 8: Configuring Backup and Recovery Options

1 Backup and Restore
2 System Recovery Image
3 System Restore Points
4 Previous versions
5 System recovery options

Posted in interest, IT Knowledges | Leave a Comment »

XAMPP

Posted by Zwe on October 21, 2013

http://www.apachefriends.org/en/xampp-linux.html

Posted in IT Knowledges | Leave a Comment »

Ubuntu 12.04 screen turns off

Posted by Zwe on October 13, 2013

There are many post out there if you google for “ubuntu 12.04 screen turns off”.

I have try it so many way although it doesn’t help me to fix this annoying issue. One morning, as usual I google it again and hoping at least one post will get rid off this.

WALLAH, I DID IT as follow. You have to run a few command on your Terminal.

myPC@myPCLenovo:~$ xset q
Keyboard Control:
auto repeat: on key click percent: 0 LED mask: 00000002
XKB indicators:
00: Caps Lock: off 01: Num Lock: on 02: Scroll Lock: off
03: Compose: off 04: Kana: off 05: Sleep: off
06: Suspend: off 07: Mute: off 08: Misc: off
09: Mail: off 10: Charging: off 11: Shift Lock: off
12: Group 2: off 13: Mouse Keys: off
auto repeat delay: 500 repeat rate: 33
auto repeating keys: 00ffffffdffffbbf
fadfffefffedffff
9fffffffffffffff
fff7ffffffffffff
bell percent: 50 bell pitch: 400 bell duration: 100
Pointer Control:
acceleration: 2/1 threshold: 4
Screen Saver:
prefer blanking: yes allow exposures: yes
timeout: 600 cycle: 600
Colors:
default colormap: 0x20 BlackPixel: 0 WhitePixel: 16777215
Font Path:
/usr/share/fonts/X11/misc,/usr/share/fonts/X11/Type1,built-ins
DPMS (Energy Star):
Standby: 600 Suspend: 600 Off: 600
DPMS is Enabled
Monitor is On

myPC@myPCLenovo:~$ xset s off
myPC@myPCLenovo:~$ xset q
Keyboard Control:
auto repeat: on key click percent: 0 LED mask: 00000002
XKB indicators:
00: Caps Lock: off 01: Num Lock: on 02: Scroll Lock: off
03: Compose: off 04: Kana: off 05: Sleep: off
06: Suspend: off 07: Mute: off 08: Misc: off
09: Mail: off 10: Charging: off 11: Shift Lock: off
12: Group 2: off 13: Mouse Keys: off
auto repeat delay: 500 repeat rate: 33
auto repeating keys: 00ffffffdffffbbf
fadfffefffedffff
9fffffffffffffff
fff7ffffffffffff
bell percent: 50 bell pitch: 400 bell duration: 100
Pointer Control:
acceleration: 2/1 threshold: 4
Screen Saver:
prefer blanking: yes allow exposures: yes
timeout: 0 cycle: 600
Colors:
default colormap: 0x20 BlackPixel: 0 WhitePixel: 16777215
Font Path:
/usr/share/fonts/X11/misc,/usr/share/fonts/X11/Type1,built-ins
DPMS (Energy Star):
Standby: 600 Suspend: 600 Off: 600
DPMS is Enabled
Monitor is On
myPC@myPCLenovo:~$ sh -c “xset -dpms && xset s off”
myPC@myPCLenovo:~$ xset q
Keyboard Control:
auto repeat: on key click percent: 0 LED mask: 00000002
XKB indicators:
00: Caps Lock: off 01: Num Lock: on 02: Scroll Lock: off
03: Compose: off 04: Kana: off 05: Sleep: off
06: Suspend: off 07: Mute: off 08: Misc: off
09: Mail: off 10: Charging: off 11: Shift Lock: off
12: Group 2: off 13: Mouse Keys: off
auto repeat delay: 500 repeat rate: 33
auto repeating keys: 00ffffffdffffbbf
fadfffefffedffff
9fffffffffffffff
fff7ffffffffffff
bell percent: 50 bell pitch: 400 bell duration: 100
Pointer Control:
acceleration: 2/1 threshold: 4
Screen Saver:
prefer blanking: yes allow exposures: yes
timeout: 0 cycle: 600
Colors:
default colormap: 0x20 BlackPixel: 0 WhitePixel: 16777215
Font Path:
/usr/share/fonts/X11/misc,/usr/share/fonts/X11/Type1,built-ins
DPMS (Energy Star):
Standby: 600 Suspend: 600 Off: 600
DPMS is Disabled
myPC@myPCLenovo:~$

Other Links:
http://helpdeskgeek.com/linux-tips/configure-ubuntu-to-not-dim-or-turn-off-an-inactive-display/
http://www.liberiangeek.net/2012/04/disable-screensaver-black-screen-in-ubuntu-12-04-precise-pangolin/

Posted in IT Knowledges | Leave a Comment »

How to Install C and C++ Compilers in Ubuntu and testing your first C and C++ Program

Posted by Zwe on April 22, 2012

If you are a developer you need C and C++ Compiler for your development work.In ubuntu you can install the build-essential for C and C++ compilers.

1. Install the build-essential package by typing the following command in the terminal: sudo apt-get install build-essential
2. Now create a file that has the extension .c (if you plan to write a C program) or .cpp (for a C++ program).
3. Write the code in that file.
4. Now open a terminal and go to the place where you saved that file using the cd command (e.g. cd Desktop).
5. If you have a C program type in the terminal
gcc -Wall -W -Werror hello.c -o hello.
The first line will invoke the GNU C compiler to compile the file hello.c and output (-o) it to an executable called hello.
The options -Wall -W and -Werror instruct the compiler to check for warnings.
6. If you have a C++ program simply replace gcc with g++ and hello.c with hello.cpp. The options do the same things.
7. If you get a permissions error, you need to make the file executable. You can do this with chmod +x hello.cpp
8. Now type in the terminal ./hello and the program will run.

This will install all the required packages for C and C++ compilers

Testing C and C++ Programs

Compiling Your first C Programs

Now you need to open first.c file

sudo gedit first.c

add the following lines save and exit the file

Firstly compile the code using the following command

cc -c first.c

that would produce an object file you may need to add to the library.

then create an executable using the following command

cc -o first first.c

Now run this executable using the following command

./first

Output should show as follows

Hello, world

Compiling your first C++ program

If you want to run c++ program follow this procedure

g++ is the compiler that you must use.

you should use a .cpp file extension rather than a .c one

You need to create a file

sudo gedit first.cpp

add the following lines save and exit the file

Run your C++ Program using the following command

g++ first.cpp -o test

./test

Output should show as follows

Hello World!

Posted in Cplusplus | 3 Comments »

Compiling C++

Posted by Zwe on April 21, 2012

to get runtime initialization, you have to compile with

c++ testfile.cpp

which shoul result with a.out in the current directory. You can start it with

./a.out

Resulting file can be renamed automatically, using

c++ testfile.cpp -o whatever

and started with

./whatever

Compiling C++ on a Mac

Though the Mac isn’t officially supported at CSU, there’s probably and IDE that you can download for your Mac that looks very similar to the one we use in class. Still, one of the simplest ways to compile your program is using the program g++. You will do this using the command line (terminal), which is usually found under the ‘Applications’ folder, and then the ‘Utilities’ folder. Note, you may want to drag this onto your program bar at the bottom of the screen for future access. Typically, you will do the following steps:

Open up the terminal, as well as some kind of editor (like word pad). You can alternatively do this from the command line, but use whatever you’re comfortable with.
Edit/change your program (for example, my.cpp).
Save your changes, remembering the folder that you put it in. For simplicity, you may want to create a CSCI1301 folder directly in your hard drive (root directory)
From the terminal, you will make sure you’re in the same directory as your .cpp file, then type g++ -o myprogram my.cpp
The step above compiles my.cpp (source code) into an executable called ‘myprogram’. You can then run it by typing ./myprogram
Go to step 2 until your program works.
Note: if you’re not a Unix guru, don’t sweat it. You can change directories by typing ‘cd’ and then the directory you want to go to. If you’ve set it up correctly (by creating the csci1301 folder), before you compile the first time, you can type cd /csci1301 and you will be in the right directory.

You may want to check out the Mac site for a program called Eclipse. It seems to be pretty powerful, and I think it’s free.

Posted in Cplusplus | 2 Comments »

How to change the default startup directory for Command Prompt?

Posted by Zwe on March 12, 2010

Introduction

When you open a Command Prompt window (CMD.EXE), it defaults to your user profile home directory. If you wish to change the default startup directory for Command Prompt, use the steps listed in this article.

Set the default startup directory

* Click Start, Run and type Regedit.exe
* Navigate to the following branch:

[HKEY_LOCAL_MACHINE\Software\Microsoft\Command Processor]
“AutoRun”=”C: && cd \”

Voilà

Posted in IT Knowledges | Leave a Comment »

Ubuntu 8.04 LTS Hardy Heron

Posted by Zwe on April 7, 2009

Ubuntu is a computer operating system based on Debian GNU/Linux. Ubuntu’s goals include providing an up-to-date, stable operating system for the average user, with a strong focus on usability and ease of installation. Ubuntu has been rated as the most popular Linux distribution for the desktop, claiming approximately 30% of desktop Linux installations in 2007.

ဦးဘြန္းတု..အမေလး…ငါေတာ္ေတာ္ေခတ္ေနာက္က်ေနပါလား၊ မိုက္ကရိုေဆာ့ဖ္ထဲႏွစ္ျမွဳပ္ေနတာနဲ႕ အခ်ိန္ေတြ အေတာ္ကုန္သြားၿပီ…
ဒီလိုနဲ႕ အေျပးအလႊား VMware ေပၚမွာစမ္းသပ္ၾကည့္လိုက္တာ….အားလားလား….ေတာ္ေတာ္မိုက္တဲ့ေကာင္ပဲ။ OS အခြံ Install လုပ္ၿပီးတာနဲ႕ Update Manager Run လိုက္တယ္။ Update အခုေပါင္း 280 ေက်ာ္ ေဒါင္းလုပ္ဆဲြခ်တာ ၾကာလိုက္တာဗ်ာ… တေမ့တေမာပဲ။

VMware Specifications
Memory allocated 512MB
Hard Disk allocated 8 GB

VMware

VMware

loginusername

Login Username

loginpassword

Login Password

desktop

Desktop

updatemanager

Update Manager

wine

Wine Library

အလြန္ေကာင္းမြန္ေသာ အြန္လိုင္း ဖတ္ရွဳနိုင္ေသာ Ubuntu Tutorial Links
Ubuntu Tutorials: A few essential How Tos and links for users starting with Ubuntu Linux.

Posted in IT Knowledges | Tagged: | Leave a Comment »

My Desktop PC

Posted by Zwe on April 2, 2009

Recently, I bought a PC from IT Show Suntec City. လိုခ်င္လို႔ သြားရွာတာက Dell XPS 430 Desktop. Online ကေနဝယ္မွ ရမယ္တဲ့၊ ဒီအျပင္ ၁၄ ရက္လည္းေစာင့္ရအံုးမယ္ဆိုတာနဲ႕ အျခား Brand ေတြကိုလိုက္ၾကည့္တဲ့စီေရာက္သြားတာေပါ့၊ HP, Compaq, Acer, Lenovo.

Dell XPS 430

Dell XPS 430

ေနာက္ဆံုးမွာေတာ့ ဝယ္ျဖစ္သြားေတာကေတာ့ Lenovo ပါ S$1399 ေပးရတယ္၊ LinkSys USB Wireless Adapter and Canon MP140 Printer တို႕ကို အတူတဲြရတယ္…..

Lenovo IdeaCentre K220
The Lenovo IdeaCentre K220 is a midrange desktop designed to handle all of your media. The low end K220 features Intel Core 2 Quad processors, 4 GB of DDR3 RAM, a 640 GB hard drive and Windows Vista Home Premium 64 bit. Gamers can add a Nvidia GeForce 9300GE graphics card for DirectX 10 support.On the software front, the K220 comes with Lenovo Rescue System which enables a user to restore the PC, run antivirus or recover data even when the system is crashed. When paired with a Lenovo L222 LCD monitor, the K220 takes advantage of the monitor’s built in webcam to enable Lenovo VeriFace technology which unlocks the computer using the user’s face instead of a password. Additionally, the Bright Vision and Bright eye technologies can automatically adjust the brightness of your monitor to reduce eye strain.

The new Lenovo IdeaCentre K220 specifications are as follows:
• Intel Core 2 Quad Q8200 processor
• 4GB PC3-8500 DDR3 SDRAM 1066MHz
• 640GB 7200rpm
• DVD Recordable 40X Max
• Windows Vista Home Premium 32bit SP1 (OEM)
• NVIDIA GeForce 9300GE

Lenovo IdeaCentre K220

Lenovo IdeaCentre K220


Read the rest of this entry »

Posted in IT Knowledges | 1 Comment »

Force Enable Windows Aero Glass or WDM on Unsupported and WDDM-Incomptible Graphics Card

Posted by Zwe on March 26, 2009

If your graphic card doesn’t support Windows Aero Glass, here a trick that you can try to force Windows Vista to enable Windows Aero Glass on Non-WDDM Compatible or Not Aero Supported graphics accelerator card or processor, by disabling the check Windows Vista made to determines if your system hardware fulfills minimum requirements for Aero Glass window frame transparency.

Note: This method may or may not works with current RTM release of Windows Vista (user feedback welcome), and may cause a blue screen loop or constant flicker, so use with care and proper backup is a must.

1. Click on Start button, then select Run.
2. Type “regedit” (without the quotes). (If you do not turn of UAC, you have to run as administrator: Right click on Command Prompt accessible from All Programs -> Accessories, then select “Run as Administrator”, click on “Allow” from the Windows Security dialog, then run “regedit”.)
3. Browse or navigate to the following registry branch:

HKEY_LOCAL_MACHINE\Software\Microsoft
4. Create a new registry branch called DWM. (If DWM doesn’t work, try to create and use WDM registry branch instead.)
5. Inside the HKEY_LOCAL_MACHINE\Software\Microsoft\DWM\ registry branch, create a new DWORD subkey called EnableMachineCheck.
6. Right click on EnableMachineCheck (or double click on it) to set the value to 0.
7. Repeat above two steps to create another DWORD called Blur, and set the value to 0.
8. Repeat again the steps to create another DWORD called Animations and set that to 0.

Last two steps is to disable the blurring and animations effects to lessen the load burden on your graphics card so that the system will be responsive.

You can also disable slow animation effect, which slowly minimize or slowly close the window(s) when the “Shift” Key is held when you minimize or close a window with “AnimationsShiftKey”, disable use of Elongated Buttons with “UseAlternateButtons”, or disable Aero Glass Copy and Paste with “Glass”. To enable any of them, simply modify the value to 1.

Posted in IT Knowledges | Tagged: | 21 Comments »