background preloader

ApacheMySQLPHP

ApacheMySQLPHP
Hint: Server Guide To find the Ubuntu Server Guide related to your specific version, please go to: select your Ubuntu version and then click on Ubuntu Server Guide. For the latest LTS version (14.04.1 LTS) of Ubuntu Server, please go to Parent page: Programming Applications This is to help people set up and install a LAMP (Linux-Apache-MySQL-PHP) server in Ubuntu, including Apache 2, PHP 5 and MySQL 4.1 or 5.0. To install the default LAMP stack in Ubuntu 10.04 and above First refresh your package index... $ sudo apt-get update ... and then install the LAMP stack: $ sudo apt-get install lamp-server^ Mind the caret (^) at the end. Starting over: How to remove the LAMP stack To remove the LAMP stack remove the following packages: Note: This assumes you have no other programs that require any of these packages. To also remove the debconf data, use the purge option when removing. You may also want to purge these packages: or

PostgreSQL installation in Ubuntu 12.04 | railskey PostgreSQL is a powerful and reliable object-relational database system. It’s a great alternative for MySQL. It is as easy to set up, performs better and offers far more features. 1. $sudo apt-get install python-software-properties 2.Add PPA repository to my Ubuntu. $sudo add-apt-repository ppa:pitti/postgresql 3. $sudo apt-get update 4.Finally install postgresql-9.1: $sudo apt-get install postgresql if you having any error, make sure you already install libpq-dev.The libpq-dev package is for compiling wrappers/clients against libpq. $sudo apt-get install postgresql-9.1 libpq-dev 5.Now check it out installation is successful or….. $ locate postgresql 6. Check the install version. $psql -V 7.Now let’s take look to postgres console $su postgres 7(a) Setup Root User ‘posrgres’ $sudo passwd postgres give the postgres user a (unix) password,Now we can switch to the user postgres using command $ su postgres 8. First we edit the file postgresql.conf: $ cd /etc/postgresql/9.1/main List all file in main folder 9.

Download Wycofana zawartość dla systemów Windows Server 2003/2003 R2 from Official Microsoft Download Center <a id="b7777d05-f9ee-bedd-c9b9-9572b26f11d1" target="_self" class="mscom-link download-button dl" href="confirmation.aspx?id=53314" bi:track="false"> Pobierz </a> Wycofana zawartość dla systemów Windows Server 2003, Windows Server 2003 z dodatkami SP1 i SP2 oraz Windows Server 2003 R2.Żądana zawartość została już wycofana. Jest ona dostępna do pobrania na tej stronie. SzczegółyWindows Server 2003_pl-pl.pdf Pełny zestaw zawartości opublikowanej wcześniej w witrynie Windows TechNet dla systemów Windows Server 2003, Server 2003 z dodatkami Service Pack 1 i 2 oraz Windows Server 2003 R2. Obejmuje całą zawartość dostarczoną w ramach produktu Windows Server 2003, wraz z zawartością dotyczącą operacji oraz zabezpieczeń i ochrony, dokumentacją techniczną, słownikiem, wymaganiami systemowymi, wprowadzeniem, planowaniem i architekturą oraz wdrażaniem.

how to correctly install apache2, php5, mysql and phpmyadmin Install Apache2 sudo apt-get update sudo apt-get install apache2 sudo apt-get install php mysql-server mysql-client php5-mysql libapache2-mod-auth-mysql php-mbstring php5-gd libapache2-mod-php5 sudo mysql_install_db Set password for mysql sudo /usr/bin/mysql_secure_installation Then install the php sudo apt-get install php5 libapache2-mod-php5 php5-mcrypt sudo apt-get install php5-mysql php5-curl php5-gd php5-intl php-pear php5-imagick php5-imap php5-mcrypt php5-memcache php5-ming php5-ps php5-pspell php5-recode php5-snmp php5-sqlite php5-tidy php5-xmlrpc php5-xsl Then to check the PHP sudo vim /var/www/info.php <? Install phpmyadmin apt-get install phpmyadmin While installation it will ask for some settings for choosing apache server or lighthttpd choosem apache Choose Apache Choose no for dbconfig-common Now Navigate to the Web Browser and openup the IP mentioned with /phpmyadmin/

Introduccion al PHP - Cursos - Programación Web PHP es lo que llamamos un lenguaje de programación del lado del servidor, esto significa que el código se interpreta en el servidor y no en el ordenador del usuario. El código PHP interpretado, produce un resultado que es enviado al navegador del visitante en forma de HTML, imagen, documento .doc... de ninguna manera el navegador del visitante accede al código fuente en PHP sino solo a su resultado en HTML. El navegador pide un documento al servidor, en el caso que este documento sea un archivo PHP, el archivo es interpretado y se envía su resultado al navegador. Vamos a ver un ejemplo sencillo de código escrito en PHP para que nos sea mas fácil de comprender: Este código producirá el siguiente resultado que es lo que se enviará al navegador del visitante: Vemos que el código PHP esta delimitado por las etiquetas . Otra característica del PHP es que las variables se identifican con el signo del dolar ($) y que cada instrucción debe finalizarse con un punto y coma (;).

Running Commands on a Remote Linux / UNIX Host You would like to execute a command on a remote Linux/FreeBSD/Solaris/UNIX host and have the result displayed locally. Once result obtained it can be used by local script or program. A few examples: => File system and disk information => Get user information => Find out all running process => Find out if particular service is running or not etc You can use rsh or ssh for this purpose. Syntax for running command on a remote host: ssh [USER-NAME]@[REMOTE-HOST] [command or script] Where, ssh: ssh (SSH client) is a program for logging into a remote machine and for executing commands on a remote machine.USER-NAME: Remote host user name.REMOTE-HOST: Remote host ip-address or host name, such as fbsd.cyberciti.biz.command or script: Command or shell script is executed on the remote host instead of a login shell. (A) Get disk information from a server called www1.cyberciti.biz: $ ssh vivek@www1.cyberciti.biz df -h (B) List what ports are open on remote host $ ssh vivek@www1.cyberciti.biz netstat -vatn

white-space The white-space property controls how text is handled on the element it is applied to. Let's say you have HTML exactly like this: <div> A bunch of words you see. </div> You've styled the div to have a set width of 100px. At a reasonable font size, that's too much text to fit in 100px. If you want to prevent the text from wrapping, you can apply white-space: nowrap; Notice in HTML code example at the top of this article, there are actually two line breaks, one before the line of text and one after, which allow the text to be on its own line (in the code). It's called pre because the behavior is that as if you had wrapped the text in <pre></pre> tags (which by default handle white space and line breaks that way). Perhaps you like how pre honors white space and breaks, but you need the text to wrap instead of potentially break out of its parent container. Finally, white-space: pre-line; will break lines where they break in code, but extra white space is still stripped. #More Information

ubuntu - unable to install php5-mcrypt Cursos extracurriculares El Centro CAO brinda a la comunidad en general capacitación informática en los campos del Diseño Web,2D| 3D| rendering, Multimedia, Diseño Editorial, Ilustración Digital, GIS y teledetección y otras especializaciones varias. Aulas para capacitación El centro CAO cuenta con 8 aulas totalmente equipadas, destacándose su excelente iluminación, siendo de esta manera, lugares ideales para la realización de cursos de capacitación. Cada aula posee 10 computadoras con internet, que en los cursos se emplean cada dos personas.No está permitido el ingreso con notebooks, bebidas, ni alimentos. Inscripción Se realiza en el centro CAO, en los horarios de atención, no siendo ésta de carácter personal. En caso de que el curso posea descuentos para alumnos o docentes FADU debe traer libreta o certificado que demuestre la condición del mismo. Para los cursos de 60 horas (Autocad 2d y 3d y 3d-studio) deben abonarse los primeros $500 en el momento de la inscripción. Devolución

Keep a Backup of Installed Packages Keep a list of installed packages so you can restore all of your applications with one command. You might prefer to have a clean system on reinstall but sometimes it is nice to reinstall applications from a previous machine/setup. Keeping a backup list of packages will make this a snap. Just give your package manager a list of all the packages you want it to install and let it rip. Here are the backup and restore methods for each of the major distros/package managers. Debian / Ubuntu Backup dpkg –get-selections > installed-software.log Restore dpkg –set-selections < installed-software.log apt-get dselect-upgrade Arch Linux pacman -Qqe | grep -v “$(pacman -Qmq)” > pkglist pacman -S $(cat pkglist) Fedora rpm -qa > installed-software.bak yum -y install $(cat installed-software.bak) Gentoo cp /var/lib/portage/world installed-software.bak cat installed-software.bak | xargs -n1 emerge -uv OpenSuse rpm -qa –queryformat ‘%{NAME} ‘ > installed-software.bak sudo zypper install $(cat installed-software.bak)

Related: