Can't start apache2 on debian - server

Please see my error screenshot and advice me what should i do

Only with your screenshot it is hard to say, what went wrong. Most likely, after doing an upgrade, something went wrong. I would advice you to reinstall apache:
sudo apt-get remove --purge apache2
sudo apt-get install apache2
Make sure to backup everything important from your Apache2-Directories, before reinstalling.

Related

How to install "stunnel" on CloudLinux RHEL Feddora CentOS yum install not working

!!JUST WRITING THIS POST SO THAT SOMEONE CAN SAVE HOURS IN THIS!!
I tried a hell lot to install this "stunnel" but was unable to do so
I was in my cpanel's terminal
What I tried all with 'sudo'
yum install stunnel
yum -y install stunnel
yum install stunnel5u
yum install stunnel4
etc BUT NONE OF THEM WORKED it just said No package stunnel found
I thought of manually install but still failed
I followed
https://developers.exlibrisgroup.com/blog/newcastle-stunnel-manual-installing-stunnel-on-centos-6/
I tried with the latest version though 5.57
But I stuck on makefile as for this entire stunnel tar package I don't know how to create a makefile
Please Help!!
I searched everywhere but I didn't find it so I tried it myself and it worked
Hope this may help others who are stuck with this in their cpanel RHEL FEDDORA CENTOS
What I did is this:
Open Terminal from Cpanel and run this
wget https://dl.iuscommunity.org/pub/ius/stable/CentOS/7/x86_64/stunnel5u-5.44-1.ius.centos7.x86_64.rpm
rpm -Uvh stunnel5u-5.44-1.ius.centos7.x86_64*rpm
This gave me sign of relief

How to launch automatically updatedb (for locate) at startup on Debian?

I need to update manually locate with sudo updatedb before to use it, obviously!
But with "Linux Mint" for example it's done automatically at each startup and it's very convenient because it's enough for most of your daily searches. :o)
However I don't know how it's scheduled or how it works.
How can I convince "Debian" to do the same?
Try to use mlocate instead of locate:
sudo apt-get remove locate
sudo apt-get install mlocate

Having issues with watchman

Can someone tell me how to remove watchman from linux terminal? Going to try a different nodewatcher. I tried "sudo apt-get --purge remove watchman" and that didn't work.
If you have build it from source.
Usually you can just use:
make uninstall
or
sudo make uninstall
if the app was installed as root.
from build directory.

I'm trying to install PostgreSQL onto Ubuntu 14.04, but I am having difficulties after following a guide

I originally followed the guide at http://www.postgresql.org/docs/9.3/static/runtime.html. It instructed me to install postgres-xc, which is meant for making clusters of databases. On other sites, I was instructed to use the postgres-9.3 package (or 9.x) instead of the postgres-xc package. One inconsistency I noticed was that arguments such as --nodename were missing from the original guide, which led me to believe there was an issue with the original guide
I have uninstalled postgres-xc using both apt-get remove --purge postgres-xc and dpkg remove --purge postgres-xc, as advised by others, as well as following this solution, which involves changing postgres-xc.prerm so that it exits early on.
Additionally, I have uninstalled and reinstalled the postgresql-package many times and also run sudo apt-get install postgresql postgresql-contrib and sudo apt-get install postgresql-9.3 postgresql-contrib-9.3. I have done this after uninstalling other version. When I try running the postgres command in Bash, I get the following error:
The program 'postgres' is currently not installed. You can install it by typing:
sudo apt-get install postgres-xc
I've been trying to get this to work for a while, but nothing has worked so far. The only binary for PostgreSQL I can use is psql, which is just a dynamic session for it (and I want to set up a server).

how to install filezilla on CentOS?

I downloaded FILEZILLA from https://filezilla-project.org/download.php.Now how to install this on CentOs,please suggest me.
For Cent OS 7
sudo yum -y install epel-release
sudo yum -y install filezilla
Go to Application > Internet > Filezilla
You need to first download and install epel-release package from here..
http://fedora.mirrors.pair.com/epel/6/i386/repoview/epel-release.html
then you can install by typing yum install filezilla
Thanks..
100% working solution is here:
the question is very old.. but i m posting answer so that anyone else struggling to install fileZilla on centOS 6 or 5 may get help.
this works for me on centOS6.5 goto below link and follow the instruction:
note before following the instruction run this command on terminal:
su
sudo -i
cd /tmp
now follow the instruction from below link.
http://www.servermom.org/2-cents-tip-how-to-enable-epel-repo-on-centos-6-and-5/894/
then install filezilla like this:
yum install filezilla
and you done.
to start fileZilla goto Applications->Internet->FileZilla