Sponsored Content
Top Forums UNIX for Advanced & Expert Users Mod_jk not available anymore in newer version of CentOS Post 303046172 by anaigini45 on Sunday 26th of April 2020 10:42:42 AM
Old 04-26-2020
Hi Neo,


Thx for your reply. Yes, I am aware of the fact that it is pretty easy - the articles from the internet will probably advise to get the tomcat-connector-1.XXX-src packages.
But my concern is since I am using the built in CentOS SCLO repository httpd24 package, will it cause any problems if I use an external package for mod_jk?
Even for mod_ssl, I have managed to search and install httpd24-mod_ssl.



Regards.
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

tar --newer = tar --newer-mtime ?

Hi, I have the following question : As far as I know unix doesn't store file creation dates. Would that imply the following? tar -cvzf backup.tar --newer is equal to: tar -cvzf backup.tar --newer-mtime ? (1 Reply)
Discussion started by: jamesbond
1 Replies

2. UNIX for Dummies Questions & Answers

Can't login as SU anymore - SU: NO SHELL

the root shell has been changed in the file /etc/passwd, basically pointing to an incorrect directory. So now every time we login as 'su' I get the message 'su: no shell' so we can't login as superuser. Is there an easy way to rectify this? please use step by step instructions/commands - I... (4 Replies)
Discussion started by: homechoice
4 Replies

3. Shell Programming and Scripting

newer version of the parser installed,yet get the older one itlself,hows it possible?

Hi all, I downloaded a XML parser lib from blastwave.org... Its the "libxml2",but i am having trouble initializing it(or so it feels)...I kind of need it badly as the OSE version of the virtualbox 1.6.2 will not install unless i have one The version was 2.6.3... The min requirement from... (0 Replies)
Discussion started by: wrapster
0 Replies

4. Web Development

Mod_Jk Log rotation

Hi , I have cronolog (http://cronolog.org/) setup to rotate both my error and access logs, but how can I use it to rotate my mod_jk.log file. I tried different things but cant get it to work. I want to end up where all three files will be rotated daily in YYYY/MM/DD folder format. thanks (0 Replies)
Discussion started by: new2learn09
0 Replies

5. Shell Programming and Scripting

how to find a file then overwrite with a newer version

This should be a simple script, but can't find one with google search. I just need to find the file that is in many directories, then overwrite that file with a newer version i.e. find file.jar then overwrite with /root/file.jar All I get in searches is substitute text with new test inside... (1 Reply)
Discussion started by: haircat
1 Replies

6. Red Hat

Need some help on tomcat URL rewrite or mod_jk

I am trying to remove the context name from the url of my server. Current URL - http://www.domainname.com/MyApp/ What I need to make is to make it avaialble at - http://www.domainname.com/ I have already tried couple of things like below - RewriteEngine On RewriteCond... (0 Replies)
Discussion started by: rockf1bull
0 Replies

7. Red Hat

How to Upgrade Centos 5.7 using Centos 5.8 ISO image on Vmware workstation

Dear Linux Experts, On my windows 7 desktop with the help of Vmware workstation (Version 7.1), created virtual machine and installed Centos 5.7 successfully using ISO image. Query : Is this possible to upgrade the Centos 5.7 using Centos 5.8 ISO image to Centos version 5.8?.. if yes kindly... (2 Replies)
Discussion started by: Ananthcn
2 Replies

8. Slackware

Anyone Using Slackware Anymore?

We used to use Slackware, but then moved all our servers to Ubuntu Linux. Does anyone use Slackware anymore? (8 Replies)
Discussion started by: Neo
8 Replies

9. Web Development

Httpd proxy with mod_jk,ssl only on login page using .htacess

Hi all, I have a web app with the following pages, browse.jsp and shopping.jsp. I want to protect shopping.jsp with https. (https is only between browser and apache httpd server.)The https for the shopping.jsp page will terminate at the web server. From web server to tomcat application server... (0 Replies)
Discussion started by: new2ss
0 Replies
APT-SRC(1p)						User Contributed Perl Documentation					       APT-SRC(1p)

NAME
apt-src - manage debian source package trees SYNOPSIS
apt-src [options] command apt-src [options] install|remove pkg1 [pkg2 ...] apt-src location pkg DESCRIPTION
apt-src is a command line interface for downloading, installing, upgrading, and tracking debian source packages. It can be run as a normal user, or as root. Unlike binary packages, source packages are not installed into a canonical location. Instead, they are "installed" by unpacking their source tree into a directory, which can be anywhere you wish. A source package can be installed multiple times, in different locations. This program manages source packages installed in this way, and provides querying facilities to help find where a source package is installed. Unless the -h or --help option is given one of the commands below must be present. update Update the lists of available packages. Identical to apt-get update, really, and must be run as root in the default configuration. install Install the named source package or packages into the current directory. If a package in the current directory is already installed, it will attempt to upgrade it. This command will accept the names of binary packages, or source packages. Just like with apt-get install, you can prefix the name with =version or /release to specify what version to install or what release to take the source from. It will make sure that the build-dependencies of the source package are satisfied. If the --location option is given, the source package will be installed or upgraded into the given location instead of the current directory. If the --build option is given, each newly installed or upgraded package will be compiled. upgrade Upgrade all installed source packages, or, if the --location or --here options are used, update only source packages in the specified directory. If the --patch option is given (the default), apt-src will attempt to generate a patch containing any local changes made to the source package, and will apply this patch to the updated tree. This will allow your local changes to be preserved across package upgrades, but it may not always work, and you might sometimes have to merge in your changes by hand. If the --build option is given, each newly installed or upgraded package will be compiled. remove Remove the named source package or packages. The --location and --here options may be used to only remove packages in a particular directory. build Build the specified source or sources. If the source is not installed yet, it will first be installed. clean Clean the trees of the named source package or packages. The --location and --here options may be used to only clean packages in a par- ticular directory. import Use this option to let apt-src know about an existing, unpacked source tree. Besides the name under which it should be imported, you must specify the location of the source tree (with --location), and you may need to tell the version of the source (with --version). Don't expect the build command to work on this source, unless it has a debian/ directory. list With no other parameters, it will list all installed source packages; their status, and the directory they are installed in. If a pack- age's name is given, it will display only installed instances of that source package. If the --location or --here options are used, they will limit the list to packages in the specified directory. location Takes a single parameter; the name of a source package. If the package is installed, it will return the root of the package's source tree. This command can be used when you need to include files from another source package, or something like that. For example: -I`apt-src location pkg` version Takes a single parameter; the name of a source package. If the package is installed, it will return the version of the package that is installed. name Takes a single parameter; the name of a source package (may be specified with regexps). Returns the name of the source package installed matching that name, if any. OPTIONS
All command line options may be set using the configuration file, the descriptions indicate the configuration option to set. For boolean options you can override the defaults file by using something like -f-,--no-f, -f=no or several other variations. -h, --help Show this help text. -b, --build, --compile Build source packages after installing or upgrading them. Configuration Item: APT::Src::Compile. -i, --installdebs Install packages after building sources. Implies --build. Configuration Item: APT::Src::InstallDebs Note that if multiple packages are generated from a single source package, they will all be installed. -p, --patch Try to patch local changes into new source tree when upgrading. On by default, use --no-p to disable. Configuration Item: APT::Src::Patch. -l, --location Specify a directory; only operate on packages in that directory. Configuration Item: APT::Src::Location. -c, --cwd, --here Only operate on packages in the current directory. Configuration Item: APT::Src::Here. --upstream-version Only of use with the version command; makes it omit the debian version number from the version of the package output. -k, --keep-built Do not delete .debs and other built files after installing them with the --installdebs option. Configuration Item: APT::Src::KeepBuilt -n, --no-delete-source Do not delete source files when removing source package. Configuration Item: APT::Src:NoDeleteSource --version Specify a source tree version. Of use with the import command. -q, --quiet Direct all command output to /dev/null unless a command fails to run as expected. Configuration item: APT::Src::Quiet -t, --trace Output each command as it is run. Configuration item: APT::Src::Trace In addition to the above options, some less-used configuration items may only be specified in the config files, /etc/apt/apt.conf and ~/.apt-src/config. They are: APT::Src::BuildCommand The command to use to build a tree. Run in the tree to build, it defaults to "dpkg-buildpackage -b -us -uc", with "-rfakeroot" appended for non-root users. APT::Src::RootCommand The command to use if a non-root user needs to become root. This is used for, example, to satisfy build-deps. sudo is a good choice and the default. If you want to use su, you'll need to set it to "su -c". APT::Src::BuildDeps Controls whether apt-src makes sure a source package's build dependencies are installed when installing or upgrading it. Defaults to true, if you turn it off, packages may fail to build due to missing build dependencies. NOTE ON NAMES
You can use either binary package names, or source package names when installing a new source package. The rest of the time, when dealing with already installed packages, you currently have to use the source package names (this may later changes). However, you may use regexps as part of the names. ENVIRONMENT
This program sets APT_SRC_BUILD when it is building a package. EXAMPLES
To install the source to pine to /usr/src, build it, and install the resulting debs: apt-src install --location=/usr/src -i pine To track changes to said installed pine source package, and install debs whenever a new version comes out: apt-src install -i pine To install a local copy of package foo, which you are going to apply a local patch to: apt-src install foo cd foo-version patch <~/my-foo-patch apt-src build --installdebs foo To upgrade your local copy of foo, bringing your patch forward, and building and installing new debs: apt-src install -i foo To import the source tree in /usr/src/linux, which you unpacked from a ftp.kernel.org tarball (or from the kernel-source package) into apt-src, so it knows about it: apt-src import kernel --location=/usr/src/linux --version=2.4.18 In a debian/rules of a kernel module package that needs to figure out if it is being built by apt-src, and if so set the KVERS, KSRC. and KDREV variables that make-kpkg normally sets: ifdef APT_SRC_BUILD KDREV=$(shell apt-src version kernel(-source.*)?) KSRC=$(shell apt-src location kernel(-source.*)?) KVERS=$(shell apt-src name kernel(-source.*)? | sed s/kernel-source-//) endif FILES
/etc/apt/sources.list Locations to fetch packages from. ~/.apt-src/status apt-src's status file, lists installed packages. /etc/apt/apt.conf Global config file for apt-src (and apt). ~/.apt-src/config Per-user config file for apt-src. SEE ALSO
apt-get(8), sources.list(5), dpkg-source(1) AUTHOR
Copyright 2002 Joey Hess <joeyh@debian.org> This is free software; see the GNU General Public Licence version 2 or later for copying conditions. There is NO warranty. perl v5.8.8 2004-05-22 APT-SRC(1p)
All times are GMT -4. The time now is 08:20 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy