Mostrando entradas con la etiqueta ubuntu. Mostrar todas las entradas
Mostrando entradas con la etiqueta ubuntu. Mostrar todas las entradas

viernes, 17 de mayo de 2013

removing mate desktop on ubuntu -- removiendo escritorio mate en ubunt

bueno me agarró por probar mate 1.6. Si después quieren sacarlo como me pasa a mi agarran y hacen:

sudo apt-get remove mate-archive-keyring mate-notification-daemon atril atril-common caja caja-common engrampa engrampa-common eom eom-common gir1.2-mate-panel libatril libcaja-extension libmarco libmatedesktop libmatekbd libmatekeyring libmatemenu libmatepanelapplet libmatepolkit libmateweather libmateweather-common libmatewnck libmatewnck-common marco marco-common mate-applets mate-applets-common mate-backgrounds mate-calc mate-control-center mate-core mate-desktop mate-desktop-common mate-desktop-environment mate-dialogs mate-icon-theme mate-media mate-media-common mate-media-gstreamer mate-menus mate-panel mate-panel-common mate-polkit mate-power-manager mate-power-manager-common mate-screensaver mate-screensaver-common mate-session-manager mate-settings-daemon mate-settings-daemon-common mate-settings-daemon-gstreamer mate-system-monitor mate-terminal mate-terminal-common mate-themes mate-utils mate-utils-common pluma pluma-common


 Saludos

jueves, 14 de marzo de 2013

¿Cómo crear un usuario con privilegios Root en Linux?



Para crear un usuario con privilegios de administrador en el servidor de linux siga los siguientes pasos:

a) Ingrese con su usuario root al servidor
b) Para crear el usuario con los privilegios ingrese el siguiente comando:

useradd -u 0 -o -g 0 "nombre_de_usuario"

c) Para añadir una contraseña al usuario ingrese el siguiente comando:

passwd "nombre_de_usuario"

d) Escriba una contraseña e ingrésela nuevamente.

domingo, 7 de octubre de 2012

nohup: seguir ejecutando un comando aunque se cierre la ventana de terminal

Seguir ejecutando un comando pese a que cerremos la terminal:
$ nohup --help Modo de empleo: nohup ORDEN [ARGUMENTO]... o bien: nohup OPCIÓN Ejecuta ORDEN, descartando las señales de colgar. --help muestra esta ayuda y finaliza --version informa de la versión y finaliza
si la entrada estándar es una terminal, redirigirla desde /dev/null. si la salida estándar es una terminal, añadir la salida a `nohup.out` si es posible, en caso contrario a `$HOME/nohup.out`. si los errores van a una terminal, redirigirlos a la salida estándar. Para guardar la salida a FILE, use `nohup COMMAND > FILE`

martes, 2 de octubre de 2012

Conectar a ssh en terminal de ubuntu (ssh terminal connection)

Bueno en windows usaba putty, y quería algo similar para ubuntu pero resulta que se puede hacer desde la terminal:
$ ssh -p puerto usuario@ipservidor
eso es todo, ya estamos logueados en el servidor

sábado, 14 de julio de 2012

Automount de una partición en ubuntu

Auto mount de una partición en ubuntu al iniciar el sistema:

Con esto conseguimos que al iniciar el pc determinada partición ya se encuentre montada automaticamente, por ejemplo, para usarla como carpeta incoming y temp para el emule o jdownloader (esto es para lo que yo lo aplico)

Paso 1: crear el punto de montaje

sudo mkdir /media/NOMBRE

Paso 2: permisos

sudo chown -R username:username /media/NOMBRE/
Paso 3: abrir gparted, localizar la partición y anotarse el sistema de archivos utilizado



Paso 4: editar fstab

sudo gedit /etc/fstab

Paso 5: agragar a fstab

/dev/sda5 /media/NOMBRE ext4 defaults 0 0


Guardar y cerrar

sudo mount -a


o reiniciar el sistema

miércoles, 4 de julio de 2012

Instalar jdownloader en ubuntu

Abrir una terminal (ctrl + alt + t) y ejecutar estos tres simples pasos:

sudo add-apt-repository ppa:jd-team/jdownloader
sudo apt-get update
sudo apt-get install jdownloader

martes, 3 de julio de 2012

CakePHP Tutorial:Installing CakePHP on Ubuntu


esto me lo copié de acá: http://komunitasweb.com/2009/02/cakephp-tutorial-installing-cakephp-on-ubuntu/

February 10th, 2009
Yes, this is another cakephp on ubuntu. Most of them were not detail enough for beginners. So here I am and here is my version of installing cakephp on ubuntu.
Install Apache Server, MySQL, PHP
sudo apt-get install apache2 mysql-server php5

Download CakePHP 1.2
Go to http://cakephp.org and download latest cakephp. I downloaded cake_1.2.1.8004.tar.bz2
Copy and extract to web root
Open your terminal where you put cakephp you just downloaded.

sudo cp cake_1.2.1.8004.tar.bz2 /var/www/ cd /var/www sudo tar -xvf cake_1.2.1.8004.tar.bz2 sudo mv cake_1.2.1.8004 cakephp

Change tmp folder permisssion
sudo chmod -R 777 cakephp/app/tmp

Enable mod-rewrite
sudo a2enmod rewrite

Open file /etc/apache2/sites-enabled/000-default and change AllowOverride None to AllowOverride All
sudo vim /etc/apache2/sites-enabled/000-default

<Directory /var/www/> Options Indexes FollowSymLinks MultiViews AllowOverride None Order allow,deny allow from all </Directory>

to
<Directory /var/www/> Options Indexes FollowSymLinks MultiViews AllowOverride All Order allow,deny allow from all </Directory>

Restart Apache
sudo /etc/init.d/apache2 restart

Open your browser and type address http://localhost/cakephp/ and you’ll see CakePHP message


If you can see CakePHP message in colour, then you have cakephp running in your hand. Congratulation.

viernes, 18 de mayo de 2012

Mostrar errores de php en ubuntu


~>$sudo gedit /etc/php5/apache2/php.ini

(poner la variable Display_Errors en On)

 * Restarting web server apache2
apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
... waiting apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
[ OK ]
~>$sudo /etc/init.d/apache2 restart

miércoles, 16 de mayo de 2012

Ubuntu y sus problemas con el subwoofer

Desde que probe ubuntu 7 que tenía problemas con la placa 7.1.. y en la versión 12 sigue igual!!

Acá esta como hay que tocar el archivito /etc/pulse/daemon.conf para que el subwoofer no deje de andar cada vez que termina un tema


sudo gedit /etc/pulse/daemon.conf
#############################################################################

# This file is part of PulseAudio.
#
# PulseAudio is free software; you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# PulseAudio is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with PulseAudio; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
# USA.
## Configuration file for the PulseAudio daemon. See pulse-daemon.conf(5) for
## more information. Default values are commented out.  Use either ; or # for
## commenting.
; daemonize = no
; fail = yes
; allow-module-loading = yes
; allow-exit = yes
; use-pid-file = yes
; system-instance = no
; local-server-type = user
; enable-shm = yes
; shm-size-bytes = 0 # setting this 0 will use the system-default, usually 64 MiB
; lock-memory = no
; cpu-limit = no
; high-priority = yes
; nice-level = -11
; realtime-scheduling = yes
; realtime-priority = 5
; exit-idle-time = 20
; scache-idle-time = 20
; dl-search-path = (depends on architecture)
; load-default-script-file = yes
; default-script-file = /etc/pulse/default.pa
; log-target = auto
; log-level = notice
; log-meta = no
; log-time = no
; log-backtrace = 0
resample-method = speex-float-1
; enable-remixing = yes
enable-lfe-remixing = yes
flat-volumes = no
; rlimit-fsize = -1
; rlimit-data = -1
; rlimit-stack = -1
; rlimit-core = -1
; rlimit-as = -1
; rlimit-rss = -1
; rlimit-nproc = -1
; rlimit-nofile = 256
; rlimit-memlock = -1
; rlimit-locks = -1
; rlimit-sigpending = -1
; rlimit-msgqueue = -1
; rlimit-nice = 31
; rlimit-rtprio = 9
; rlimit-rttime = 1000000
; default-sample-format = s16le
default-sample-rate = 48000
default-sample-channels = 6
; default-channel-map = front-left,front-right
default-fragments = 8
default-fragment-size-msec = 10
; enable-deferred-volume = yes
deferred-volume-safety-margin-usec = 1
; deferred-volume-extra-delay-usec = 0