INDIA WEB HOSTING FAQs

May 26, 2013

Find files greater than MB GB size in linux ssh

Filed under: Dedicated Server,SSH,Virtual Private Server,Web-Hosting — Tags: , , — Unichost @ 8:45 am

Find files greater than MB GB size in linux ssh. ( Such a helpful ssh command to find big, larger or largest file on server)

The following ssh command will list all the files in the system greater than 200MB.
# find / -type f -size +200M

The following ssh command will list all the files greater than 2GB.
# find / -type f -size +2G

The following ssh command will list all the files greater than 10MB from home folder only.
# find /home -type f -size +10M

Related: Linux SSH, Virtual Server

April 2, 2012

Reboot Server from SSH

Reboot Server from SSH

How to reboot Linux server from ssh? Is it same for local and remote Linux system?

Linux has various ways to reboot a system. It is also known as halt, poweroff, shutdown, init etc.

Coming to the point, rebooting your Linux server from ssh console: The most important thing, you should be logged in as root to reboot the system. Once you are in as root, type any of the following command as per your requirement.

INSTANT REBOOT LINUX SERVER:

# reboot
OR
# /sbin/reboot
OR
# shutdown -r now
OR
# /sbin/shutdown -r now

Want to send a notification to logged in users about this reboot? Then type the following command:
# shutdown -r +2 (This will send the message to all the users that the system is going to reboot in next 2 minutes.)

Related: Linux Server, Linux VPS, Dedicated Server, Private Server

March 9, 2012

PHP Warning – PHP Startup – Suhosin Extension does not officially support PHP 5.2

Filed under: cPanel,Dedicated Server,PHP,Security,Setup — Tags: , , , , — Unichost @ 9:10 am

PHP Warning: PHP Startup: Suhosin Extension
does not officially support PHP 5.2 and below anymore, because it is
discontinued. Use it at your own risk. in Unknown on line 0

Since the php upgrade, you might have noticed these type of errors in your server logs. Must be wondering a perfect solution for this.

Actually you should be able to use the latest build, however some older scripts or applications might get in trouble, unless they are ready for latest php version. You need not to worry any more, as you have jumped to right place for it. Just follow the below given steps and you will be at rest.

What to do?

Easy enough, downgrade suhosin from 0.9.33 to 0.9.31 :

# remove suhosin from easyapache php config
/usr/local/cpanel/scripts/phpextensionmgr uninstall PHPSuHosin

# download and install older suhosin
wget http://download.suhosin.org/suhosin-0.9.31.tgz
tar zxf suhosin-0.9.31.tgz
cd suhosin-0.9.31
phpize
./configure
make
make install

#open php.ini and add line loading suhosin
vi /usr/local/lib/php.ini

#Add following line into extensions section:
extension=”suhosin.so”

Save and close the file,  restart apache and you are done. You can also verify if everything is ok with the command php -v from the prompt.

Related: Web Server, Virtual Server, PHP Host, cPanel Host

 

August 10, 2011

Website on plesk windows Server asking for Username and password

Website on Plesk Windows Server/Plesk VPS asking for Username and password.

I have recently purchased a Windows VPS with Plesk control panel and have uploaded website files. While visiting my website it is asking for username and password authentication. Now, I haven’t set any authentication on server for any website, what shall I need do?

This is quite common with the sites hosted on windows server with plesk as a control panel. You are not allowed to acces the site whtout authentication – entering username and password. This is not a bug or issue but is related to password synchronization with IIS server. To resolve this, you will need to synchronize the password.

Below given are some simple steps that you will need to follow:

  1. RDP to your windows server as an administrator.
  2. Start>Run>cmd [this will take you to sytem command prompt]
  3. cd to plesk\admin\bin [shortcut is cd %plesk_bin%]
  4. Type websrvmng.exe –update-anon-password –domain-name=yourdomain.com

The above command will synchronize the password and you will require no more password authentication to view the content.

If this doesn’t work for you, then please open a support ticket and we’ll investigate further and fix the issue for you happily.

~Admin

Related: Windows VPS, Windows Server, Plesk VPS, Windows Dedicated

January 2, 2009

What is Virtual Server Hosting?

Filed under: Virtual Private Server,Web-Hosting — Tags: — Unichost @ 4:46 pm

VPS – Virtual Private Server

Virtualization is the hottest trend in the industry today, and the Parallels Virtuozzo platform allows for a highly scalable and full featured Virtual Private Server environment. Unlike hypervisor based systems, Virtuozzo allows all of the Virtual Machines on a physical server to share one underlying operating system. This makes much more efficient use of the physical infrastructure and allows for a greater density of Virtual Machines to run simultaneously.

Virtuozzo creates multiple isolated virtual containers (VCs) on a single physical server. Each VC performs and executes exactly like a stand-alone server to its users and applications. It can be rebooted independently and has its own root access, users, IP addresses, memory, processes, files, applications, system libraries and configuration files.

Get your own Virtual Private Server now!

Powered by WordPress