Source: http://ubuntuforums.org/showthread.php?t=791804
setup
1. sudo apt-get install apache2
2. sudo apt-get install openssl
3. sudo apt-get install ssl-cert
create ssl certificate:
sudo make-ssl-cert /usr/share/ssl-cert/ssleay.cnf /etc/ssl/private/localhost.pem
switch to apache sites configuration:
cd /etc/apache2/sites-available/
bakup the default configuration:
sudo cp default default.backup.date
be sure to listen the port 80 for the default:
sudo sed -i ‘1,2s/\*/*:80/’ default
create the ssl configuration:
sudo cp default ssl
set the ssl port:
sudo sed -i ‘1,2s/\*:80/*:443/’ [...]
Popularity: 19% [?]
Continue reading about Configure Apache SSL Certificate in Ubuntu 8.04
1. You have to install qemu.
http://free.oszoo.org/ftp/qemu/win32/release/QemuInstall-0.7.2.exe
2. cd c:\Program files\qemu
qemu-img.exe convert -O vmdk hdd.vdi hdd.vmdk
Popularity: 73% [?]
Popularity: 73% [?]
Continue reading about how to convert vdi to vmdk in Sun VirtualBox Vbox
Most wanted question:
1. How do I access PostgreSQL through the network?
1.1. Open postgresql.conf (in Ubuntu 8.04 at /etc/postgresql/8.3/main/postgresql.conf) and change listen_addresses = ‘localhost’ to listen_addresses = ‘*’.
1.2. Uncomment password_encryption = on.
1.3. Open /etc/postgresql/8.3/main/pg_hba.conf
host all all [...]
Popularity: 1% [?]
Continue reading about Enable PostgreSQL access through the Network
From linux command prompt:
su – postgres
psql -d template1 -U postgres
alter user postgres with password ‘postgres_password’;
ctrl+d
Popularity: 1% [?]
Popularity: 1% [?]
Oops.
All it needed was
/etc/nagios2#/etc/init.d/nagios2 stop
Stopping nagios2 monitoring daemon: nagios2.
/etc/nagios2# dpkg-statoverride –update –add nagios www-data 2710 /var/lib/nagios2/rw
/etc/nagios2# dpkg-statoverride –update –add nagios nagios 751 /var/lib/nagios2
/etc/nagios2# /etc/init.d/nagios2 start
Starting nagios2 monitoring daemon: nagios2.
ref. http://ubuntuforums.org/showthread.php?t=458375
Popularity: 1% [?]
Popularity: 1% [?]
Continue reading about Error: Could not stat() command file ‘/var/lib/nagios2/rw/nagios.cmd’!
Table 2. Plugin Return Codes
Numeric Value
Service Status
Status Description
0
OK
The plugin was able to check the service and it appeared to be functioning properly
1
Warning
The plugin was able to check the service, but it appeared to be above some “warning” threshold or did not appear to be working properly
2
Critical
The plugin detected [...]
Popularity: 1% [?]
stop nagios2
/etc/nagios2# dpkg-statoverride –update –add nagios www-data 2710 /var/lib/nagios2/rw
/etc/nagios2# dpkg-statoverride –update –add nagios nagios 751 /var/lib/nagios2
start nagios2
Good stuff!
Leonardo
Popularity: 1% [?]
Popularity: 1% [?]
Continue reading about Error: Could not stat() command file ‘/var/lib/nagios2/rw/nagios.cmd’!
root@srv:~# mysql -p
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 14 to server version: 5.0.24a-Debian_9ubuntu2.4-log
Type ‘help;’ or ‘\h’ for help. Type ‘\c’ to clear the buffer.
mysql> GRANT ALL ON *.* TO root@’%’ IDENTIFIED BY ‘password_you_want’;
Query OK, 0 rows affected (0.00 sec)
mysql>
Popularity: 1% [?]
Popularity: 1% [?]
Today I had an interesting issue on Ubuntu 8.10.
We have 2 NICS on the server one has the following ip 172.16.20.10/16 and another one has 172.16.60.10/16. I know they are on the same network though but we had to do it in order to accomplish some routing issues.
So here is the problem:
When I try to [...]
Popularity: 1% [?]
Continue reading about Ping does not respond after 8 or 9 successful replies.
apt-get install build-essential
Popularity: 1% [?]
Popularity: 1% [?]
Continue reading about install ubuntu/debian development tools