• Categories
    Category
    {{ postCtrl.tags }}
    • {{ category.tag_type }}

      • {{tag.tag_name}}
      • View more
  • Categories
    Category
    {{ postCtrl.tags }}
    • {{ category.tag_type }}

      • {{tag.tag_name}}
      • View more
  • News
  • Tutorials
  • Forums
  • Tags
  • Users
Tutorial News Comments FAQ Related Articles

How to update Apache and suPHP Apache module in CentOS Web Panel.

{{postValue.id}}

To update Apache and suPHP apache module in Centos Web Panel

suPHP is a tool for executing PHP scripts with owner' s permission. It consists of an Apache module (mod_suphp) and a setuid root binary (suphp) which are utilized by the Apache module to change the uid of the process executing the PHP interpreter.

To update Apache and suPHP

Before updating the Apache service, it is required to stop the apache web server. Open the CWP admin to stop the Apache service from the Service Status.
Update_Apache

Once it is done, open the terminal and download the apache upgrade script from the link mentioned below and change its directory to /usr/local/src/

[[email protected] ~]# cd /usr/local/src/
[[email protected] src]# wget  http://dl-package.bullten.in/cwp/apache-upgrade.sh
--2017-02-07 16:16:37--  http://dl-package.bullten.in/cwp/apache-upgrade.sh
Resolving dl-package.bullten.in... 164.132.10.157
Connecting to dl-package.bullten.in|164.132.10.157|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 5084 (5.0K) [application/x-sh]
Saving to: “ apache-upgrade.sh” 
100%[===========================================================================================> ] 5,084       --.-K/s   in 0.002s  
2017-02-07 16:16:38 (2.89 MB/s) - “ apache-upgrade.sh”  saved [5084/5084]


Once it is done, use the following command to grant permission to the script file.

[[email protected] src]# chmod +x apache-upgrade.sh
[[email protected] src]# ls -l
	otal 3896
-rwxr-xr-x   1 root root    5084 Apr  8  2015 apache-upgrade.sh
drwxr-xr-x.  6 root root    4096 Feb  3 06:25 cwp
-rw-r--r--.  1 root root   28517 Feb  1 11:43 cwp-latest
drwx------. 13 root root    4096 Apr 15  2014 modsecurity-2.8.0
-rw-r--r--.  1 root root 3940357 Apr 15  2014 modsecurity-2.8.0.tar.gz


Now run the script file along with tee command with pipe symbol. You can see the upgrade process using tee command.

[[email protected] src]# sh apache-upgrade.sh | tee /var/log/apache_upgrade.log
******************************************************************************
          Apache 2.4 and suPHP 0.7.2 Installation in CWP 
       Bullten Web Hosting Solutions http://www.bullten.com/
   Web Hosting Company Specialized in Providing Managed VPS and Dedicated Server   
******************************************************************************
This script will Install Apache 2.4 and suPHP 0.7.2
Press ENTER to start the installation  ....
Now press enter to start the upgrade process
Installing Apr 1.5.1
--2017-02-07 16:18:07--  http://dl-package.bullten.in/cwp/files/apr-1.5.1.tar.gz
Resolving dl-package.bullten.in... 164.132.10.157
&hellip 
..
Apr 1.5.1 installation Completed.
Apr-Util 1.5.4 installation will begin in 5 seconds..
Installing Apr-Util 1.5.4
--2017-02-07 16:18:58--  http://dl-package.bullten.in/cwp/files/apr-util-1.5.4.tar.gz
Resolving dl-package.bullten.in... 164.132.10.157
Connecting to dl-package.bullten.in|164.132.10.157|:80... connected.
&hellip 
&hellip .
/usr/bin/install -c -m 644 aprutil.exp /usr/local/apr/lib
/usr/bin/install -c -m 755 apu-config.out /usr/local/apr/bin/apu-1-config
Apr-Util 1.5.4 installation Completed.
Apache 2.4.12 installation will begin in 5 seconds..
Installing Apache 2.4.12 
--2017-02-07 16:19:21--  http://dl-package.bullten.in/cwp/files/httpd-2.4.12.tar.gz
Resolving dl-package.bullten.in... 164.132.10.157
&hellip 
&hellip 
Installing build system files
Installing man pages and online manual
make[1]: Leaving directory `/tmp/apache-upgrade/httpd-2.4.12' 
Apache 2.4.12 installation Completed.
suPHP 0.7.2 installation will begin in 5 seconds..
Installing suPHP 0.7.2
-2017-02-07 16:22:04--  http://dl-package.bullten.in/cwp/files/suphp-0.7.2.tar.gz
Resolving dl-package.bullten.in... 164.132.10.157
Connecting to dl-package.bullten.in|164.132.10.157|:80... connected.
HTTP request sent, awaiting response... 200 OK
&hellip 
&hellip 
make[2]: Leaving directory `/tmp/apache-upgrade/suphp-0.7.2' 
make[1]: Leaving directory `/tmp/apache-upgrade/suphp-0.7.2' 
suPHP 0.7.2 installation Completed.
Waiting for 5 Seconds...
Setting Vhost /usr/local/apache/conf.d/vhosts.conf 
Vhost Setup Completed
Restarting Apache
Stopping httpd:                                            [FAILED]
Starting httpd: AH00548: NameVirtualHost has no effect and will be removed in the next release /usr/local/apache/conf/sharedip.conf:1
AH00558: httpd: Could not reliably determine the server' s fully qualified domain name, using linuxhelp1.com. Set the ' ServerName'  directive globally to suppress this message
                                                           [  OK  ]
Installation Completed


The update process is now completed, once you refresh the CWP admin, you can see the updated apache version.
2
After it gets updated, start the Apache web server.
3
Next enter your IPaddress in a new tab and press enter to check if the newly updated Apache server functions properly.

If you are taken to the Apache default index page, your server will be working fine, else a error message will be displayed.
Apache_index_page

Tags:
jayce
Author: 

Comments ( 1 )

tgviral
Hi, i have updated correctly to apache 2.4. but how i can enable http2 support? i have added --enable-http2 to configure but seems not enable http2!
Add a comment
{{postCtrl.cmtErrMsg}}

Frequently asked questions ( 5 )

Q

How to check the version of "Apache" web server on the system?

A

You can use execute the following command on the terminal to get a version of "Apache" web server on the system. For syntax: "apache2 -V"

Q

What is the default Administration credential for "ApacheGUI"?

A

The default credential of Administration console for the "ApacheGUI",

username: "admin"

password: "admin"

Q

Under htpasswd for svn what type of authentication is used?

A

This is basic authentication which undergoes base64 encoding

Q

How to Setup IP Based Virtual Hosting in Linux?

A

We check the IPs attached in your server.

command: ip a

Assign a specific IP/Port to get http requests by altering the Listen directive in the file, httpd.conf.

command: vim /etc/httpd/conf/httpd.conf

Q

What are the types of authentication available in apache web server?

A

There are two types of authentication available in Apache

Basic Authentication

Digest Authentication

Back To Top!
Rank
User
Points

Top Contributers

1
userNamelinuxhelp
30580

Top Contributers

userNamehamzaahmed
26900

Top Contributers

userNamenaveelansari
21200

Top Contributers

userNameabdularham
21065

Top Contributers

userNameGREEN
21000
Can you help kesizewi ?
Size of icons on desktop

HI,

I am using KDE 4.14.2 and I have set my 4 virtual desktops to be Default Desktops (not folders)
When I try to copy items from the kickstart menu to the desktop I get small icons (I' m a bit older and like to see things a bit larger).
How do I make the icons look bigger? I know how to make one bigger by using the handle but enlarging 20 or so per desktop is a tedious job. Also is it practically impossible to make them all the same size.
One more question: how do I place these icons in a straight line next to each other, like with folder view where you can place them on a grid.

When this is not possible, is it perhaps possible to switch the desktops to Folder View and select a different folder per desktop? This way I can enlarge them easily and place them in a straight line.Who can help with this " problem" ?

Please help.

I didn' t find the right solution from the Internet.

References:

https://forum.kde.org/viewtopic.php?f=14& t=132626
Marketing video agency

Thanks!

Networking
  • Routing
  • trunk
  • Netmask
  • Packet Capture
  • domain
  • HTTP Proxy
Server Setup
  • NFS
  • KVM
  • Memory
  • Sendmail
  • WebDAV
  • LXC
Shell Commands
  • Cloud commander
  • Command line archive tools
  • last command
  • Shell
  • terminal
  • Throttle
Desktop Application
  • Linux app
  • Pithos
  • Retrospect
  • Scribe
  • TortoiseHg
  • 4Images
Monitoring Tool
  • Monit
  • Apache Server Monitoring
  • EtherApe 
  • Arpwatch Tool
  • Auditd
  • Barman
Web Application
  • Nutch
  • Amazon VPC
  • FarmWarDeployer
  • Rukovoditel
  • Mirror site
  • Chef
Contact Us | Terms of Use| Privacy Policy| Disclaimer
© 2023 LinuxHelp.com All rights reserved. Linux™ is the registered trademark of Linus Torvalds. This site is not affiliated with linus torvalds in any way.