How to retrieve the Plesk control panel password?

You can always get the Plesk password if you have Administrative access to the server.

For Windows,

1. From the Start menu, select Run.
2. Enter the following command:
“C:\Program Files\SWsoft\Plesk\admin\bin\plesksrvclient.exe” -get

For Linux,
1. Via SSH, run the following command:
cat /etc/psa/.psa.shadow

Change Hostname

Debian based systems use the file /etc/hostname to read the hostname of the system at boot time and set it up using the init script /etc/init.d/hostname.sh. So on a Debian based system we can edit the file /etc/hostname and change the name of the system and then run,

# /etc/init.d/hostname.sh start

To make the change active. The hostname saved in this file will be saved on system reboot.

Start applications on boot (Debian)

update-rc.d is the utility that Debian provides to manage init scripts. It is similiar to Redhat’s chkconfig. Say, you have a new service called “mine” that you would like to start at boot time. Make sure that the file “/etc/init.d/mine” exists. Below is the command that you can type to make your service run at boot time.

# update-rc.d mine defaults

This will make sure that when your system reaches runlevel 2, 3, 4 or 5 that the “mine” service will start up and that in runlevel 0, 1 or 6 it will be stopped. So you’re done with your “mine” and you would like to stop them from starting up when you reboot? Use the command to remove it from starting up at boot time:

# update-rc.d mine remove

To start up in runlevels 2 or 3, you could run the following command:

# update-rc.d mine start 45 stop 01236

Mine will start up when your system reaches runlevels 4 or 5, but stop at 0, 1, 2, 3 or 6.

rcconf ( apt-get install rcconf ) tool is a graphical interface that can be used from the shell to configure your init scripts.

Disable USB Devices

The modprobe can be configured to not load the USB storage driver upon demand. This will prevent the modprobe program from loading the usb-storage module, but will not prevent root from using the insmod program to load the module manually.

Enter the following command:

# echo ‘install usb-storage : ‘ >> /etc/modprobe.conf

You can also remove USB Storage driver, enter:

# mv /lib/modules/$(uname -r)/kernel/drivers/usb/storage/usb-storage.ko /root

BIOS option

You can also disable USB from system BIOS configuration option. Make sure BIOS is password protected.

Grub option

You can get rid of all USB devices by disabling kernel support for USB via GRUB. Open grub.conf or menu.lst (Debian/Ubuntu Linux) and append “nousb” to the kernel line as follows:

kernel /vmlinuz-2.6.18-128.1.1.el5 ro root=LABEL=/ console=tty0 console=ttyS1,19200n8 nousb

Save and close the file, just reboot the system. You are done 馃槈

Disable Wireless Networking (Wi-Fi)

Use the following commands to list installed devices (list PCI devices):

# lspci

Go to /lib/modules/$(uname -r)/kernel/drivers/net/wireless and remove wireless driver.

# mkdir -p /root/backup/
# mv /lib/modules/$(uname -r)/kernel/drivers/net/wireless /root/backup/
# reboot

Above will remove the kernel drivers that provide support for wireless devices and it will prevent users from activating the devices.

Deactivate Wireless Interfaces (Remove Config Files)

You can also deactivate the wireless interfaces. Open terminal and type the following command to list the wireless interface:

# ifconfig

Turn off wireless interfaces after identifying the same with ifdown command:

# ifdown interface

Finally, remove wireless configuration file /etc/sysconfig/network-scripts/ifcfg-interfaceName.

# mv /etc/sysconfig/network-scripts/ifcfg-wlan0 /root/backup

OR just remove config file, enter:

# rm /etc/sysconfig/network-scripts/ifcfg-wlan0

Above will make sure wlan0 will not return after the next reboot.

How Do I Restore Wi-Fi Again?

Just copy back all files and reboot the system:

# mv /root/backup/ifcfg-wlan0 /etc/sysconfig/network-scripts/ifcfg-wlan0
# mv /root/backup/wireless /lib/modules/$(uname -r)/kernel/drivers/net/wireless
# reboot

For Debian/Ubuntu Systems, you need to edit /etc/network/interfaces file to remove wireless configuration and you need to remove /lib/modules/$(uname -r)/kernel/drivers/net/wireless directory.

DSL?

What is DSL?

Damn Small Linux is a very versatile 50MB mini desktop oriented Linux distribution. It is small enough and smart enough to do the following things:

Boot from a business card CD as a live linux distribution (LiveCD)
Boot from a USB pen drive
Boot from within a host operating system (can run inside Windows)
Run fully in RAM with as little as 128MB
DSL is highly extendable without the need to customize

DSL was originally developed as an experiment to see how many usable desktop applications can fit inside a 50MB live CD. It was at first just a personal toy. But over time, it grew into a fully automated remote and local application installation system and a very versatile backup/restore system which may be used with any writable media including a hard drive, a floppy drive, or a USB device.

DSL has a nearly complete desktop, with limited number of command line tools. Damn Small also has the ability to act as an SSH/FTP/HTTPD server right off of a live CD.

XMMS, FTP client, web browsers, spreadsheet, Sylpheed email, spellcheck, a word-processor, three editors, graphics editing and viewing, Xpdf, file manager, Naim, VNCviwer, Rdesktop, SSH server and client, DHCP client, PPP, PPPoE , a web server, calculator, generic and GhostScript printer support, NFS, Fluxbox and JWM window managers, games, system monitoring apps, a host of command line tools, USB support, and pcmcia support, wireless support.

VLC 1.0 for Linux Released, with HD Codecs

Now it’s time to celebrate… the best, free and popular media player application, VLC reached version 1.0.0 after more than eight years of activity!!!….

It is now providing support for some HD streams. The highlights of VLC 1.0.0 are:

路 Added new HD codecs:

路 Blu-Ray Linear PCM
路 Dolby Digital Plus
路 AES3
路 TrueHD
路 Real Video 3.0 and 4.0

路 Added support for M2TS and Raw Dirac
路 Greatly improved the support for video playback
路 Added MP3 fixed-point encoder
路 Added Dirac encoder
路 AirTunes streaming support
路 Playback support for zipped files
路 Fullscreen support for video scaling
路 Support for MTP devices
路 Support for Frame-by-Frame
路 Instant pausing support
路 Live recording support
路 Support for RTSP Trickplay
路 Improved speed controls
路 Improved support for the GTK environment
路 Added an easier encoding graphical user interface in the Qt version
路 Made the toolbars customizable
路 New artwork
路 Includes popular audio/video codecs
路 Cross-platform and open source!

Firefox 3.5 For Windows, Linux, Mac OS X

Firefox version 3.5 has been released and available for download. Firefox 3.5 is the fastest web browser. It is twice as fast as Firefox 3. As a result javascript and multimedia enabled web apps loads faster and supports open video and audio formats, allowing practically limitless new ways for sites to display rich content. This is based upon the open formats (HTML 5) which allow displaying media without a plug-in and/or proprietary software.
firefox
What’s New In Firefox 3.5

New set of security and other advanced features.

1) Private Browsing

Private browsing is a new feature that allows Firefox to control browsing history, images, videos, and cookies in cache. Firefox won’t keep any browser history, search history, download history, web form history, cookies, and temporary internet files. However, files you download and bookmarks you make will be kept. . This allows you to browse the Internet without storing data that could be retrieved at a later date to incriminate that person. This is useful for ecommerce and banking website.

To enable private browsing hit [CTRL]+ [SHIFT]+ [P] or simply visit Tools > Start Private Browsing

2) Forget This Site

Having second thoughts about having visited a certain Web site? With this feature, you can remove every trace of that site from your browser. Simply hit [CTRL+H] > Select Site > Right Click > Select Forgot about this site.

HTML 5 and CSS 3 Support

HTML 5, an update to the HTML language. Firefox 3.5 supports HTML5 and CSS 3. Checkout demo page for information.

Download Firefox v3.5

Visit the official website to grab Firefox 3.5.

How Do I Upgrade Firefox v3.x to v3.5?

Use your package manger or type the following commands (assuming that older firefox is installed at /opt/firefox), enter:

# cd /tmp
# wget ‘http://download.mozilla.org/?product=firefox-3.5&os=linux&lang=en-US’
Untar and install Firefox 3.5 (close all running FF sessions):
# tar -jxvf firefox-3.5.tar.bz2
# cp -avr firefox/* /opt/firefox/

First Release Candidate of Linux Mint 7 KDE

First-Release-Candidate-of-Linux-Mint-7-KDE-Edition-Arrives-2small
Linux Mint project proudly announced the official blog the immediate availability of the first release candidate of Linux Mint 7 (Gloria) KDE Community Edition operating system. This first RC is based on the popular Ubuntu 9.04 (Jaunty Jackalope) distribution, is powered by Linux kernel 2.6.28 and is built on top of the KDE 4.2.4 desktop environment. Just like the other editions of Gloria, this one also includes brand-new artwork, updated applications and many, many new breathtaking features.

. Based on Ubuntu 9.04;
路 Linux kernel 2.6.28;
路 X.Org 7.4;
路 KDE 4.2.4;
路 Amarok 2.1;
路 New artwork;
路 Improved boot speed;
路 Improved mintMenu;
路 Improved mintInstall;
路 Improved mintUpdate;
路 Improved mintUpload;
路 Added mintWelcome;
路 Added apt version, inxi and rtfm command-line tools;
路 Moonlight/Silverlight support.

Minimum system requirements:

路 A 32-bit processor;
路 512 MB of RAM;
路 10 GB free hard disk space (for installation);
路 VGA video card capable of at least 800×600 resolution;
路 A CD-ROM drive.

What is Linux Mint? Linux Mint is an elegant, easy-to-use, up-to-date, 100% free and comfortable Linux desktop distribution based on the very popular Ubuntu operating system. It offers paid commercial support to companies and individuals and free community support is available from the forums and the IRC channel.

What Is Linux

cloud-question-mark-cloud-computing-189x300

In the early 90s, a geek named Linus Torvalds at the University of聽 Helsinki聽 in Finland thought it would be fun to write a Unix kernel from scratch. He called it Linux, and it was cool but pretty much useless without all the utility programs needed to make it a complete operating system. At the same time, Richard Stallman and his pals at the Free Software Foundation were writing a bunch of freeware Unix utilities collectively known as the GNU Project. It was cool but pretty much useless without a kernel to make it a complete operating system. Fortunately, the two parties decided to collaborate.

News of Linux spread quickly over the Internet, and many other Unix programmers joined the effort to enhance it. What we now know as Linux is a combination of Torvald鈥檚 Linux kernel, the GNU Project software, and some other nifty software bit and pieces developed by programmers from all around the world.