Installation of Apache on CentOS [closed] - linux

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
How to install Apache on a CentOS 7?

1) login as root or use sudo
2) yum install -y httpd or sudo yum install -y httpd
3)all config files are locates in /etc/httpd/conf and /etc/httpd/conf.d
4)all your html files can be found in /var/www/html
5) Start learning the basic at http://www.centos.org/docs/5/html/Deployment_Guide-en-US/ch-httpd.html
6) grab a cup of coffee, tea or whatever you like most.

Or just edit your /etc/httpd/conf/httpd.conf near the bottom and voila you have a new vhost!

Related

How to install yum in Red Hat 3.4.6-3 [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
I want to use the yum command in Red Hat 3.4.6-3. How can I install it?
Download the yum version of your choice: wget http://linux.duke.edu/projects/yum/download/2.0/yum-2.0.7.tar.gz
Untar the package: tar xvzf yum-2.0.7.tar.gz
change directory into the newly expanded folder: cd yum-2.0.7
run the configuration file: ./configure
make configuration: make
make installation: make install
download yum-2.4.2-0.4.el4.rf.noarch.rpm and install using rpm -ivh yum-2.4.2-0.4.el4.rf.noarch.rpm

How to fix when deleted folder /var/lib/* in CentOS 6 [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
How to fix when deleted folder /var/lib/* on CentOS 6?
rpm -q centos-release yum rpm python
package centos-release is not installed
package yum is not installed
package rpm is not installed
package python is not installed
Reinstall Centos 6, and then stop deleting important directories

yum updates in fedora 17 going extremely slow [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I've just installed Fedora 17 and did an initial update:
yum update
yum update download speed is going way too slow. Download speed is 5 kbps.
Is there a way to tell yum to not pick such slow repositories?
Someone wrote a yum plugin which addresses this very issue that tells yum to use the fastest mirror available, here is how you install it:
su
enter password
yum install yum-plugin-fastestmirror
Then I did the:
yum update
And now the yum update is utilizing the full bandwidth of my download speed.

Problem with using aircrack-ng [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
I have problem with install a Aircrack-ng.
I was downloading aircrack from the official website and I followed to the ruls:
cd aircrack-ng-1.1
make
make install
http://pastebin.com/XsMzCbGN
Look at line 21: crypto.h:12:26: fatal error: openssl/hmac.h: Aucun fichier ou dossier de ce type
It appears you don't have openssl properly installed? You also should run "make install" as sudo (if you don't have admin rights)
Alternatively, if you're using Ubuntu (or similar distro), aircrack-ng should be in your repositories, so you don't need to install it from source:
sudo apt-get install aircrack-ng

How to update the man in bash [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
I have been trying Linux recently so my questions must be too much easy for you .Anyway
I try to look the man of lseek but there is no man for this function . I'd like to know how to update the man of linux on bash.
thank in advance
On Debian the commands would be (as root)
apt-get install man-db
apt-get install manpages-dev
And for completeness
apt-get install glibc-doc

Resources