Thursday, December 12, 2013
Monday, July 29, 2013
Tuesday, July 23, 2013
USB Modem Set up At Linux
groups
----------------------------------------------------------------------
chmod a+w /dev/ttyUSB0? This is not sure. ---------------------------------------------------------------------
$fd = fopen('/dev/ttyUSB0','w'); fwrite($fd,'AT+CMGS="+659223290"'.chr(13).'helloword'.chr(26)); fclose($fd);
Sunday, July 7, 2013
Setting Up PHP at Ubuntu
sudo apt-get install apache2
sudo apt-get install php5
sudo apt-get install libapache2-mod-php5
sudo /etc/init.d/apache2 restart sudo apt-get install mysql-server
apt-get install php5-mysql mysql-client
Monday, February 11, 2013
Installing MySQL And Set Data Folder At Different Path At Windows Server
When installing MySQL, choose "Customer" type and choose different installation path. If you also want to set Data folder indifferent path, choose your designated path at choosing data path page. After that open my.inf and change the path of "datadir" to your designated path. And then stop mysql, and copy the Data folder from "C:\ProgramData\MySQL\Data" to your path using [xcopy "C:\ProgramData\MySQL\MySQL Server 5.1\data" F:\mydrivefolder\data /s]. And then start mysql again.
To start mysql, use [net start mysql] and use [net stop mysql] to stop.
To start mysql, use [net start mysql] and use [net stop mysql] to stop.
Monday, December 24, 2012
To set up virtual network
http://social.technet.microsoft.com/Forums/en-US/w7itpronetworking/thread/259c7ef2-3770-4212-8fca-c58936979851/
- very useful for web application which is set up at PC and which does not have internet connection.
- very useful for web application which is set up at PC and which does not have internet connection.
Monday, December 17, 2012
how to disable third party repositories
| Sam_ (and-sam) said : | #2 |
System administration -> software sources -> third party
https:/ /help.ubuntu. com/community/ Repositories/ Ubuntu# Third-Party% 20Software% 20Tab
## Fix broken packages
via CLI method (other apps, such as Synaptic, Software Sources, Update Manager should be closed):
sudo dpkg --configure -a
sudo apt-get -f install
sudo apt-get --fix-missing install
## Clean up package cache
sudo apt-get autoclean
sudo apt-get autoremove
## Update
sudo apt-get update
sudo apt-get upgrade
Reference:
http:// library. gnome.org/ users/gnome- terminal/ stable/ gnome-terminal- get-started. html.en
https:/ /help.ubuntu. com/community/ RootSudo# Usage
https:/ /help.ubuntu. com/community/ AptGet/ Howto
https:/ /help.ubuntu. com/community/ SynapticHowto
From : https://answers.launchpad.net/ubuntu/+source/apt/+question/99388
https:/
## Fix broken packages
via CLI method (other apps, such as Synaptic, Software Sources, Update Manager should be closed):
sudo dpkg --configure -a
sudo apt-get -f install
sudo apt-get --fix-missing install
## Clean up package cache
sudo apt-get autoclean
sudo apt-get autoremove
## Update
sudo apt-get update
sudo apt-get upgrade
Reference:
http://
https:/
https:/
https:/
From : https://answers.launchpad.net/ubuntu/+source/apt/+question/99388
Subscribe to:
Posts (Atom)