Category Archives: OS

How do I disable the blank console “screensaver” on Ubuntu Server?

The easiest way is to add the parameter 

1
consoleblank=0

 to your kernel command-line at boot-time.

  • Open /etc/default/grub in your favorite editor; you will need to use sudo (for vi, nano, etc.) or gksudo (for gedit, etc.).
  • Then add consoleblank=0 to the GRUB_CMDLINE_LINUX_DEFAULT=, parameter.
  • e.g. yours may say:
    1
    GRUB_CMDLINE_LINUX_DEFAULT="quiet splash consoleblank=0"

Then run sudo update-grub, and reboot.

 

source

install node.js on ubuntu

hai ca daca tot e in trend treaba cu node.js, hai sa il instalam si noi (pe ubuntu, dar se poate pe orice inseamna linux)

Install node.js

1. incepem cu niste dependente

1
sudo apt-get install g++ curl libssl-dev apache2-utils

2. download-am + dezarhivam sursele (ultima versiune din acestt moment):

1
2
wget http://nodejs.org/dist/node-v0.4.8.tar.gz
tar -xzf node-v0.4.8.tar

Continue reading install node.js on ubuntu

new VPS for shared hosting

Dupa ce am instalat o copie noua de centos 5.5… hai sa o pregatesc pentru produs 🙂

Urmeaza sa instalez pe ea:

  • MySql
  • MongoDB
  • Apache
  • PHP 5.3
  • mpm-itk
  • phpmyadmin

Si sa incep cu instalarea bazelor de date.

MySQL

1
2
3
4
5
# yum install mysql mysql-server
# chkconfig --levels 235 mysqld on
# /etc/init.d/mysqld start
# mysqladmin -u root password 'new-password'
# mysqladmin -u root -h my.hostname password 'new-password'

Continue reading new VPS for shared hosting