Archive for the 'Linux, Unix' Category
To install any package called package.deb is very simple.
After you download that package, follow instruction below:
Go to directory where package.deb is kept.
For example if it is in /tmp directory:
$ cd /tmp
Continue Reading »
Howto Install .deb Packages on Ubuntu Linux
Important Post Installation Step
Make sure that you open the ports 8888 and 8887 in the firewall. Otherwise you won’t be able to connect to HyperVM.
Continue Reading »
Howto Install HyperVM
We’ll describe possible ways to send emails from the command line. Of course there are much nicer ways to do it, but you may be in the situation (such as the one that drove me to do a deeper research and come out with this solution) and will need an easy and fast way to send mails from the prompt.
Continue Reading »
Howto Sending Emails from Command Line
Many peoples have asked for this to be done so here’s a howto for installing.
List to be installed:
- FFmpeg (http://ffmpeg.mplayerhq.hu)
- FFmpeg-PHP (http://ffmpeg-php.sourceforge.net)
- Mplayer + Mencoder (mencoder is now built into the mplayer svn release )
(http://www.mplayerhq.hu/design7/dload.html) - flv2tool ****REQUIRES RUBY ON RAILS**** (http://inlet-media.de/flvtool2)
- LAME MP3 Encoder (http://lame.sourceforge.net)
- Libogg + Libvorbis (http://www.xiph.org/downloads)
Restricting Access to Your Web Pages Using .htaccess
Follow these steps to create a text file:
- Create a text file called .htaccess in the directory that you want to protect.
- Type
<Limit GET>as the first line of the file. - Use the deny and allow directives as described above to define your restrictions.
- Type
</Limit>as the last line of the text file. - Save your .htaccess file.
- Release your collection to Test and if everything is ok, to Publish.
Did you ever want to change or create a new login message anytime someone logs into SSH? We’ll show you how it’s done.
First off login to your server as root. Then type in the following:
pico -w /etc/motd
Now type in the security login message you wish all users to see once they login to your server through SSH.
Try something like this as a start:
Continue Reading »
Creating a Welcome Message for SSH Logins
Server headers and directory defaults usually show Apache server information.
This information can be used by hackers to learn about vulnerabilities on your server if the system is not updated.
You can mask server information as follows:
Continue Reading »
Mask Apache Server Version Number