Install mysql
$ apt-get install apache2
$ apt-get install mysql-server
$ apt-get install php5
$ apt-get install libapache2-mod-php5
$ apt-get install php5-gd
$ apt-get install php5-dom
$ apt-get install php5-pgsql
$ apt-get install php5-mysql
* Mysql con PHP5
Mostrando entradas con la etiqueta Ubuntu. Mostrar todas las entradas
Mostrando entradas con la etiqueta Ubuntu. Mostrar todas las entradas
jueves, 22 de agosto de 2013
lunes, 20 de mayo de 2013
How to install mail in ubuntu server
How to install mail in ubuntu:
apt-get install sendmail-bin
sudo sendmailconfig
apt-get install sendmail-bin
sudo sendmailconfig
lunes, 6 de mayo de 2013
Apache Restart / Stop
Restart Apache 2 web server, enter:
# /etc/init.d/apache2 restart
If you are using Ubuntu use sudo:
$ sudo /etc/init.d/apache2 restart
To stop Apache 2 web server, enter:
# /etc/init.d/apache2 stop
$ sudo /etc/init.d/apache2 stop
To start Apache 2 web server, enter:
# /etc/init.d/apache2 start
$ sudo /etc/init.d/apache2 start
domingo, 5 de mayo de 2013
Downloading file from my server to my local
To download the file "serials.txt" from your remote home dir to the local computer:
scp user@server.com:serials.txt .
To download the remote file "something" using it's full path to your local computer:
scp user@server.com:/path/to/file/something.txt .
Now the tricky part: using the recursive switch (-r) to download a whole folder to your local computer. The issue you may have is that you DO NOT place a trailing forward slash after the directory name. For instance, this command will NOT work (notice the bold forward slash):
scp -r user@server.com:/path/to/directory/ .
This will give you a message saying the server is trying to write to the parent directory. REMOVE the last foward slash on the path and try again. The next command is CORRECT:
scp -r user@server.com:/path/to/directory .
I have been using a period when talking about downloading so far. Reason: this brings the file into the directory you are currently in. If you wish to take the last command and download it to somewhere else, the command would be:
scp -r user@server.com:/path/to/directory /new/local/location/
Suscribirse a:
Entradas (Atom)
Entradas populares
-
¿Cómo usar clases anidadas en CSS ? Para que nos entendamos, usar clases anidadas o identificadores anidados quiere decir poner varias propi...
-
Cambiando las cabeceras conseguimos que se refresque la página sin tener que forzar una recarga de nuestro navegador. $this-...
-
Do you remember when people would talk about ways to do things on your computer without using the mouse? Well, even though times are changin...
-
¿Qué es una expresión regular ? Una expresión regular , a menudo llamada también patrón, es una expresión que describe un conjunto de cade...
-
Crontab is a program used in linux to execute schedule scripts. If you need to run one script after rebooting the server you can use @reboot...
-
public function guardarImagen($object){ $directorio = IMG_PATH. '/' .$object-> directorio . '/' ; $n...
-
Recuperar lista de paquetes instalados En muchas ocasiones tenemos la necesidad de replicar una instalación en varios puestos de trabajo. ...
-
It's not necessary to use global variable in codeigniter, you can do this: class MY_Controller extends Controller { var $data; ...
-
Cómo ver todas las contraseñas guardadas en Chrome chrome://settings/passwords
-
Install mysql $ apt-get install apache2 $ apt-get install mysql-server $ apt-get install php5 $ apt-get install libapache2-mod-php5 $ ...