Tag Archives: ubuntu

How to Install LAMP on Ubuntu / Debian

1. Install Apache

sudo apt-get install apache2

2. Install MySQL

sudo apt-get install mysql-server

3. Install PHP

sudo apt-get install php5 libapache2-mod-php5

4. Restart Server

sudo /etc/init.d/apache2 restart

http://howtoubuntu.org/how-to-install-lamp-on-ubuntu


ps: After installation of phpMyAdmin it creates a configuration file for Apache2. Edit Apache2 main configuration file /etc/apache2/apache2.conf

vi /etc/apache2/apache2.conf

add following line at the end of file.

Include /etc/phpmyadmin/apache.conf

Restart Server

sudo /etc/init.d/apache2 restart

How to Install phpMyAdmin in Ubuntu 16.04, 14.04 & LinuxMint

how to install docker with apt-get

Instead of using docker use docker.io
sudo apt-get install docker.io
http://stackoverflow.com/a/30379382?stw=2

Why install docker on ubuntu should be `sudo apt-get install docker.io`?
Ans =
Why do Ubuntu use docker.io as executable name instead of just docker? Tutorials, blog posts all now have to mention this difference, “if you use Ubuntu 14.04, or if you are with rest of the world (including earlier versions of Ubuntu)”. Why?

This is because of a Debian/Ubuntu policy; there is already a program called “docker” [1], and it was not allowed to use the same binary name.
http://stackoverflow.com/a/27978397

Linux : toggle-able terminal

Untitled

sudo apt-get install guake
http://guake.org/

linux: show a list of ALL autostart services

You can simply use the initctl list shell command to list the contents of “/etc/init” rather than the suggested dbus-send command.
ref: http://askubuntu.com/questions/218/command-to-list-services-that-start-on-startup/6649?stw=2#6649

initctl show-config
ref: http://superuser.com/questions/511804/in-ubuntu-is-there-a-command-to-show-a-list-of-all-autostart-services/511980?stw=2#511980

How to fix : Unable to load dynamic library [PHP]

How to fix : Unable to load dynamic library [PHP]

Example : lost library “curl, pdo_sqlite, sqlite, sqlite3”
————————————————–
sornram9254@blackbuntu~/Desktop# ls /etc/php5/cli/conf.d
curl.ini gd.ini mcrypt.ini mysqli.ini mysql.ini pdo.ini pdo_mysql.ini pdo_sqlite.ini sqlite3.ini sqlite.ini
sornram9254@blackbuntu~/Desktop# ls /usr/lib/php5/20090626/
gd.so mcrypt.so mysqli.so mysql.so pdo_mysql.so pdo.so

————————————————–
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20090626/curl.so'
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20090626/pdo_sqlite.so'
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20090626/sqlite.so'
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20090626/sqlite3.so'

————————————————–
goto site , download and install lib
https://launchpad.net/~ubuntu-security/+archive/ppa/+build/3203514
————————————————–
install with software center or
commandline :
sornram9254@blackbuntu~/Desktop# wget http://example.com/
sornram9254@blackbuntu~/Desktop# dpkg -i file.deb

php5-curl_5.3.3-1ubuntu9.10_amd64.deb
(https://launchpad.net/~ubuntu-security/+archive/ppa/+build/3203514/+files/php5-curl_5.3.3-1ubuntu9.10_amd64.deb)

php5-sqlite_5.3.3-1ubuntu9.10_amd64.deb
(https://launchpad.net/~ubuntu-security/+archive/ppa/+build/3203514/+files/php5-sqlite_5.3.3-1ubuntu9.10_amd64.deb)
————————————————–

Download file on Ubuntu With IDM

IDM 5.05 Working on Linux !! *0*
But newest version NOT WORKING -_-”

Video Preview :

jY8wlGAS6YA

สำหรับ Link Download ก็ไปหาโหลดกันเองเองนะครับ คงไม่ยากเกินความสามารถ เราไม่สนับสนุนให้ใช้ของละเมิดลิขสิทธิ์ ^_^

เขียนและ compile ภาษา C บน Ubuntu

3 เกมส์ สุดมันส์! บน Linux Ubuntu

OpenArena

Download : http://www.openarena.ws

 

AssaultCube

Download : http://assault.cubers.net/

 

supertuxkart

Download : http://supertuxkart.sourceforge.net/