Anda di halaman 1dari 3

yum update yum upgrade yum dist-upgrade ----- algo asiiiiiiiii creo...

quisas updatedb montar ntfs centos wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.3.6-1.el5.rf.i386 .rpm rpm -Uvh rpmforge-release-0.3.6-1.el5.rf.i386.rpm yum install fuse fuse-ntfs-3g dkms dkms-fuse mount -t ntfs-3g /dev/sda2 /media/carpeta

useradd -s /bin/bash "nombre" passwd "nombre" groupadd -r "nombregrupo" gpasswd -a "nombreusuario" "nombregrupo" yum install mysql-server yum install php-mysql /etc/init.d/mysqld start setup agregar inicio setup configurar firewall htop yum install htop si no funciona!!s yum install ncurses-devel ncurses desde la fuente.... Installation steps on CentOs 5.3 include rpm -ivh http://repo.webtatic.com/yum/centos/5/`uname -i`/webtatic-release-5-0.n oarch.rpm Now you can install php by doing: instalar php desde yum y upgradear desde aqui yum --enablerepo=webtatic install php //////// con esto se instala todo lo de abajo

php-mbstring php5-gd php-devel php-pear gcc perl php-mysql php-ldap pear install pecl/json # cd /etc/php.d # echo "extension=json.so" > json.ini # service httpd restart

After that phpinfo() would output json support json version enabled 1.2.1

cd /etc/yum.repos.d # rm -f xapian.repo # wget http://www.xapian.org/RPM/rhel5/xapian.repo # yum install xapian-omega xapian-bindings-php xapian-bindings-python xapian-bin dings-tcl8 SI NO FUNCIONA!!!!!! entrar a www.xapian.org/RPM y bajarlos a mano hay que instalar mono-core rpm -Uvh

mimetex copiar antiguos NO !!!!!! borrar las weas de apache de cgi

recobrar mysql pass # 1: Detener el proceso del servidor MySQL. root@servidor-ubuntu:~# /etc/init.d/mysql stop * Stopping MySQL database server mysqld [ OK ] root@servidor-ubuntu:~# # 2: Iniciar el servicio/demonio de MySQL (mysqld) con la opcion asi no pedira contrasea. skip-grant-tables

root@servidor-ubuntu:~# mysqld_safe --skip-grant-tables & [1] 10702 root@servidor-ubuntu:~# nohup: ignoring input and redirecting stderr to stdout Starting mysqld daemon with databases from /var/lib/mysql mysqld_safe[10741]: started # 3: Conectar al servidor MySQL como el usuario root. root@servidor-ubuntu:~# mysql -u root Welcome to the MySQL monitor. Commands end with ; or g. Your MySQL connection id is 1 Server version: 5.0.51a-3ubuntu5.4 (Ubuntu) Type 'help;' or 'h' for help. Type 'c' to clear the buffer. mysql> Paso # 4: Configure la nueva contrasea de root. mysql> use mysql; Reading table information for completion of table and column names

You can turn off this feature to get a quicker startup with -A Database changed mysql> update user set password=PASSWORD("321") where User='root'; Query OK, 3 rows affected (0.03 sec) Rows matched: 3 Changed: 3 Warnings: 0 mysql> flush privileges; Query OK, 0 rows affected (0.01 sec) Paso # 5: Salir y reiniciar el servidor MySQL mysql> quit Bye root@servidor-ubuntu:~# /etc/init.d/mysql stop * Stopping MySQL database server mysqld STOPPING server from pid file /var/run/mysqld/mysqld.pid mysqld_safe[11414]: ended [ OK ] [1]+ Done mysqld_safe --skip-grant-tables Paso # 6: Reinicio de MySQL root@servidor-ubuntu:~# /etc/init.d/mysql start * Starting MySQL database server mysqld [ OK ] * Checking for corrupt, not cleanly closed and upgrade needing tables. root@servidor-ubuntu:~# mysql -u root -p

Anda mungkin juga menyukai