Saturday 26 December 2015

W3school latest version



W3Schools is optimized for learning, testing, and training. Examples might be simplified to improve reading and basic understanding. Tutorials, references, and examples are constantly reviewed to avoid errors, but we cannot warrant full correctness of all content. While using this site, you agree to have read and accepted our terms of use, cookie and privacy policy.
Copyright 1999-2015 by Refsnes Data. All Rights Reserved.

Tuesday 22 December 2015

Installation Docker in ubuntu 14.04

1. Install docker

           
sudo apt-get update
sudo apt-get install linux-image-extra-$(uname -r)
sudo apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D
sudo sh -c "echo deb https://apt.dockerproject.org/repo ubuntu-trusty main > /etc/apt/sources.list.d/docker.list"
sudo apt-get update
sudo apt-get purge lxc-docker*
sudo apt-cache policy docker-engine
sudo apt-get install docker-engine
sudo service docker start
 


2. use docker without sudo
     
 
sudo groupadd docker
sudo gpasswd -a ${USER} docker
 


3. You need to restart after finish step 2

4. Verify

             
$ docker version
--- you should see ---
Client:
 Version:      1.9.1
 API version:  1.21
 Go version:   go1.4.2
 Git commit:   a34a1d5
 Built:        Fri Nov 20 13:12:04 UTC 2015
 OS/Arch:      linux/amd64

Server:
 Version:      1.9.1
 API version:  1.21
 Go version:   go1.4.2
 Git commit:   a34a1d5
 Built:        Fri Nov 20 13:12:04 UTC 2015
 OS/Arch:      linux/amd64

--- end ---
$ docker info
--- you should see ---
Containers: 80                      // first time you will see container : 0
Images: 113
Server Version: 1.9.1
Storage Driver: aufs
 Root Dir: /var/lib/docker/aufs
 Backing Filesystem: extfs
 Dirs: 273
 Dirperm1 Supported: true
Execution Driver: native-0.2
Logging Driver: json-file
Kernel Version: 3.19.0-25-generic
Operating System: Ubuntu 14.04.3 LTS
CPUs: 4
Total Memory: 3.75 GiB
Name: puthea
ID: QC6E:M5P7:XBBS:VIC7:7X5W:FZKF:OUFV:DW6J:DCJR:XLYE:EMVT:QP5O
WARNING: No swap limit support

--- end ---
$ docker run hello-world
--- you should see ---
Hello from Docker.
This message shows that your installation appears to be working correctly.
To generate this message, Docker took the following steps:
 1. The Docker client contacted the Docker daemon.
 2. The Docker daemon pulled the "hello-world" image from the Docker Hub.
 3. The Docker daemon created a new container from that image which runs the
    executable that produces the output you are currently reading.
 4. The Docker daemon streamed that output to the Docker client, which sent it
    to your terminal.
To try something more ambitious, you can run an Ubuntu container with:
 $ docker run -it ubuntu bash
Share images, automate workflows, and more with a free Docker Hub account:
 https://hub.docker.com
For more examples and ideas, visit:
 https://docs.docker.com/userguide/
--- end ---

5. Install docker compose
    
   
curl -L https://github.com/docker/compose/releases/download/1.5.1/docker-compose-`uname -s`-`uname -m` > ~/docker-compose
sudo mv ~/docker-compose /usr/local/bin
sudo chmod +x /usr/local/bin/docker-compose
docker-compose -v
--- you should see ---
docker-compose version: 1.5.1
--- end ---

 6. Download Images to store in cache to save speed


docker pull ubuntu:14.04
docker pull mariadb:10.0
docker pull nginx:1.7
docker pull mailhog/mailhog:latest
docker pull redis:3.0
docker pull elasticsearch:1.4
docker pull sebobo/shel.dockerflow:latest


Wednesday 9 December 2015

KhmerCourse: How to installation Prolog Programming

KhmerCourse: How to installation Prolog Programming: 1. Open terminal from the Dash, Launcher, or via Ctrl+Alt+T shortcut keys. When it opens, run command to add PPA: sudo apt-get inst...

Derivatives (Lim Phalkun) for grade 12








If you don't yet know about complex numbers (the numbers with "i" in them), then you would say that the above quadratic has "no solution". If you do know about complexes, then you would say that this quadratic has "no real solution" or that is has a "complex solution".
Since solving "(quadratic) = 0" for x is the same as finding the x-intercepts (assuming the solutions are real numbers), it stands to reason that this quadratic should not intersect the x-axis (since x-intercepts are "real" numbers). As you can see below, the graph does not in fact cross the x-axis.

Saturday 5 December 2015

How To Install VMware Workstation 11 On Ubuntu 14.04



To install VMware 11 on Ubuntu, follow the below steps. The first thing is that you prepare the Ubuntu machine that you want to use as a host machine. The host machine is the machine want to install VMware workstation software on.

The virtual or guest machines are the ones created from within VMware Workstation software.

To get started, open the command console and run the commands below.


sudo apt-get update && sudo apt-get dist-upgrade && sudo apt-get autoremove

The commands above updates Ubuntu and remove unwanted packages including old kernel modules

Next, run the commands below to install required packages for VMware to function on Ubuntu.

sudo apt-get install build-essential linux-headers-`uname -r`

After that, go and download version 11 of VMware workstation. You must have an account with VMware in order to get it.

 https://my.vmware.com/web/vmware/details?downloadGroup=WKST-1100-LX&productId=462&rPId=7183#product_downloads


If you did not download the zipped archive, then run the commands below to make the installer executable.

 chmod +x VMware-Workstation-Full*.bundle

Next, run the commands below to begin the installation

sudo ./VMware-Workstation-Full*.bundle


 

How to installation Prolog Programming






1. Open terminal from the Dash, Launcher, or via Ctrl+Alt+T shortcut keys. When it opens, run command to add PPA:

sudo apt-get install software-properties-common
sudo apt-add-repository ppa:swi-prolog/stable

2. you should tell your system to pull down the latest list of software from each archive it knows about,  including the PPA you just added:

sudo apt-get update

3. Installation Prolog


sudo apt-get install swi-prolog

How to Upgrade to LibreOffice 5.0 in Ubuntu



For all current Ubuntu releases and based systems, the best way is to upgrade LibreOffice 5.0 through the official PPA.

1. Open terminal from the Dash, Launcher, or via Ctrl+Alt+T shortcut keys. When it opens, run command to add PPA:


sudo add-apt-repository -y ppa:libreoffice/ppa
 
2.you can run below commands to do the upgrade process after
  adding the PPA:

sudo apt-get update; 
 
sudo apt-get install libreoffice

Friday 4 December 2015

CSS Croxx Country Part I









Suite for Grade 11





Les suites numériques sont liées à la mathématique de la mesure (mesures d'un phénomène prises à intervalles de temps réguliers) et à l'analyse (une suite numérique est l'équivalent discret d'une fonction numérique). La notion de suite est présente dès qu'apparaissent des procédés illimités de calcul. On en trouve, par exemple, chez Archimède, spécialiste des procédés illimités d'approximation (séries géométriques de raison 1/4) pour des calculs d'aires et de volumes, ou en Égypte vers 1700 av. J.-C. et plus récemment au Ier siècle ap. J.-C. dans le procédé d'extraction d'une racine carrée par la méthode de Héron d'Alexandrie :

PHP 7.0.0 Released Stable Version



The PHP development team announces the immediate availability of PHP7.0.0. This release marks the start of the new major PHP 7 Series. 

PHP 7.0.0 comes with a new version of the Zend Engine, numerous improvements and new features such as :
  • Improve performance PHP 7 is up to twice as fast as PHP5.6.
  • Significantly reduced memory usage. 
  • Abstract Syntax Tree.
  • Consistent 64bit support.
  • Improved Exception hierarchy.
  • Many fatal errors converted to Exceptions.
  • Secure random number generator.
  • Removed old and unsupported SAPIs and extensions.
  • The null coalescing operator(??)
  • Return and Scalar Type Declaration 
  • Anonymous Classes
  • Zero cost asserts.                               More Details

For Hun Sen, 30 Turbulent Years as Prime Minister

Thirty years ago today, Hun Sen, then 33, was appointed prime minister by the National Assembly of the socialist People’s Republic of Kampuchea, becoming the world’s youngest head of government.
For the former Khmer Rouge regiment commander, who had fled to Vietnam in June 1977 amid a wave of purges by Pol Pot, it was the start of a reign in which he would traverse almost constant upheaval to impose himself as the unrivaled ruler of Cambodia.
 Readmore

Tuesday 1 December 2015

Integral Beginner




the integral is called an indefinite integral (also known as antiderivative). The fundamental theorem of calculus relates indefinite integrals and definite integrals. There are many extensions of this notation to generalizations of the integral.

International Mathematics III







The International Mathematical Olympiad (IMO) is an annual six-problem, 42-point mathematical olympiad for pre-collegiate students and is the oldest of the International Science Olympiads. The first IMO was held in Romania in 1959. It has since been held annually, except in 1980

How To Install nodeJs Using a PPA





An alternative that can get you a more recent version of Node.js is to add a PPA (personal package archive) maintained by NodeSource. This will probably have more up-to-date versions of Node.js than the official Ubuntu repositories.

First, you need to install the PPA in order to get access to its contents:

curl -sL https://deb.nodesource.com/setup | sudo bash -

The PPA will be added to your configuration and your local package cache will be updated automatically. After running the setup script from nodesource, you can install the Node.js package in the same way that you did above:

sudo apt-get install nodejs

The nodejs package contains the nodejs binary as well as npm, so you don't need to install npm separately. However, in order for some npm packages to work (such as those that require building from source), you will need to install the build-essentials package:


sudo apt-get install build-essential

មេកានិច​ ភាគទី២ ឈុន សេងណាំ



Mechanical engineering is the discipline that applies the principles of engineering, physics, and materials science for the design, analysis, manufacturing, and maintenance of mechanical systems. It is the branch of engineering that involves the design, production, and operation of machinery.

Saturday 28 November 2015

Installation Telnet in ubuntu Server

Telnet is a network protocol that allows a user on one computer to log onto another computer that is part of the same network.



Step1:  Login to you ubuntu server as admin and run command 
             
              sudo apt-get install telnetd


Step2:  Restart inetd service

                
            sudo /etc/init.d/openbsd-inetd  restart
 
Step 3: now  you  shoud  connect to telnet  server  from 
      any  other  computer machine. run command 
 
     telnet ip-telnet-server
 


មេកានិច​ ភាគទី១ ឈុន សេងណាំ





Mechanical engineering is the discipline that applies the principles of engineering, physics, and materials science for the design, analysis, manufacturing, and maintenance of mechanical systems. It is the branch of engineering that involves the design, production, and operation of machinery.

International Mathematic 2





The International Mathematical Olympiad (IMO) is an annual six-problem, 42-point mathematical olympiad for pre-collegiate students and is the oldest of the International Science Olympiads. The first IMO was held in Romania in 1959. It has since been held annually, except in 1980

An Introduction to Wavelets Through Linear Algebra








Linear algebra is the branch of mathematics concerning vector spaces and linear mappings between such spaces. It includes the study of lines, planes, and subspaces, but is also concerned with properties common to all vector spaces.

Install Atom in Ubuntu via PPA

  1. What is atom ?
  2.    
     Atom is an open source "hackable text editor for the 21st Century" developed by GitHub

    Step 1: You can add a PPA location with the command

         sudo add-apt-repository ppa:webupd8team/atom 
      
    Step 2: you should tell your system to pull down the latest
           list of software from each archive it knows about, 
           including the PPA you just added:
         
         sudo apt-get update
      
    Step3: Now you're ready to start installing software from 
           the PPA!
        
       sudo apt-get install atom
     
     
    Done now you can using Atom. KhmerCourse 

Friday 27 November 2015

International Mathematic 1










The International Mathematical Olympiad (IMO) is an annual six-problem, 42-point mathematical olympiad for pre-collegiate students and is the oldest of the International Science Olympiads. The first IMO was held in Romania in 1959. It has since been held annually, except in 1980

International Mathematic 11






The International Mathematical Olympiad (IMO) is an annual six-problem, 42-point mathematical olympiad for pre-collegiate students and is the oldest of the International Science Olympiads. The first IMO was held in Romania in 1959. It has since been held annually, except in 1980

How To Install Linux, Apache, MySQL, PHP in ubuntu 14.04

Step One—Install Apache

        Apache is a free open source software which runs over 50% of the world’s  web servers.
         To install apache, open terminal and type in these commands:
              
                sudo apt-get update
          sudo apt-get install apache2
 

Step Two—Install MySQL

MySQL is a powerful database management system used for organizing and retrieving data

To install MySQL, open terminal and type in these commands:

   sudo apt-get install mysql-server libapache2-mod-auth-mysql php5-mysql
 

Step Three—Install PHP

PHP is an open source web scripting language that is widely use to build dynamic webpages.

To install PHP, open terminal and type in this command.

  sudo apt-get install php5 libapache2-mod-php5 php5-mcrypt


103 Geometry Selected Exercise







A major contributor to the field of geometry was Euclid - 325 BC who is typically known as the Father of Geometry and is famous for his works called The Elements. As one progresses through the grades, Euclidian geometry (Plane Geometry) is a big part of what is studied. However, non-Eucledian geometry will become a focus in the later grades and college math.
Simply put, geometry is the study of the size, shape and position of 2 dimensional shapes and 3 dimensional figures.

GUI tools that can make life much easier for a Linux administrator

In the recent times, many organizations have migrated from Windows, where everything is regulated with a point-and-click GUI. Thankfully, Linux has plenty of GUI tools that can help you keep away from the command line. Linux-based security tools and distributions can be used for penetration testing, reverse engineering, forensics and so on.

Here’s a look at some of the good  GUI tools that can make your Linux sysadmin tasks simpler.
 1. MySQL Workbench 
               MySQL Workbench is a visual database design tool that integrates SQLdevelopment, administration, database design, creation and maintenance into a single integrated development environment for the MySQL database system. MySQL Workbench is one of the best tools for working with MySQL databases. Besides managing databases, it also helps you design, develop, and administer MySQL databases. There is a new addition to the MySQL Workbench set of tools, which is the ability to easily migrate Microsoft Access, Microsoft SQL Server, PostgreSQL, Sybase ASE, and other RDBMS tables, objects, and data to MySQL, that alone makes MySQL Workbench worth using.
 
      cPanel is a Linux based web hosting control panel that provides a GUI and automation tools designed to simplify the process of hosting a web site. It allows you to configure sites, customers’ sites and services, and a lot more. You can also use this tool to configure/manage mail, apps, security, files, domains, apps, databases, logs and many more. However, the only flipside is that cPanel is not available for free. You need to pay to use cPanel.
 
       Shorewall is an open source firewall tool for Linux that builds upon the Netfilter (iptables/ipchains) system built into the Linux kernel, making it easier to manage more complex configuration schemes by providing a higher level of abstraction for describing rules using text files. Shorewall is one of the best tops for the server. This security GUI allows you to configure gateways, traffic controlling, VPNs, blacklisting, and much more.

4. Apache Directory
       Apache Directory is an open source project of the Apache Software Foundation. Though it is designed particularly for Apache Directory Server, it is the only solid GUI tool for managing any LDAP server. It is an Eclipse RCP application and can serve as your LDAP browser, ApacheDS configuration editor, schema editor, ACI editor, LDIF editor and more. The app also contains the latest ApacheDS, which means you can use it to create a DS server in no time.

5. YaST (Yet another Setup Tool) 

       YaST (Yet another Setup Tool) is a Linux operating system setup and configuration tool for enterprise-grade SUSE and openSUSE. With this all easy-to-use, attractive GUI, you can configure network, hardware, services and tune system security. By default, YaST is installed in all SUSE and openSUSE platforms.


How to install git in ubuntu 14.04 with latest version

  1. Use the PPA from the maintainers of git on Ubuntu:
  2.  
     
     
    • sudo apt-add-repository ppa:git-core/ppa
    •  
    • sudo apt-get update
    •  
    • sudo apt-get install git  

KhmerCourse