installing postgresql on ubuntu
Steps for installing postgresql server and make it accessible from remote clients.
Read the rest of this entry »
Steps for installing postgresql server and make it accessible from remote clients.
Read the rest of this entry »
Feb 27, 2015 server, virtualbox
When rdp fails to connect to virtualbox, after installing the extension pack.
Check in virtualbox preference -> extensions
Most likely 2 packs are installed:
run command below to set the correct extension pack for rdp:
VBoxManage setproperty vrdeextpack "Oracle VM VirtualBox Extension Pack"
Beep has been blacklisted by Ubuntu since …
to restore beep, edit /etc/modprobe.d/blacklist.conf and remove or put it in comment the following line:
blacklist pcspkr
Ssh console login:
ssh JohnDoe@server
Count files in dir:
ls -l | wc -l
Following command extracts the archive into given directory.
SQLEXPR.EXE" /x:c:\sqlexprtmp
To install:
sudo apt-get install php5
sudo apt-get install libapache2-mod-php5
sudo /etc/init.d/apache2 restart
Create a test file:
gksudo gedit /var/www/testphp.php
Insert follwing line:
Test the server:
http://localhost/testphp.php
to install:
sudo apt-get install apache2
port config file:
/etc/apache2/ports.conf
to enable:
run /etc/init.d/apache2 force-reload
Usage:
/etc/init.d/apache2 start|stop|restart|reload|force-reload