Debian – Page 60 – POFTUT

Category: Debian

0

How To Run Shell Script or Command On Remote With SSH

I want to run my commands securely. Are there anyway for this? Yes there are a lot of options. But the most simple and secure way is running scripts or commands over ssh. Run Command On Remote System SSH is very powerful tool which can invoke provided commands on remote system or server. We will provide the command and options in a double quote. This command will run current users...

Ubuntu, Debian, Kali Ssh Installation 0

Ubuntu, Debian, Kali Ssh Installation

I want to connect my Linux server securely. Security is important nowadays. OpenSSH is a secure shell for remote connections. OpenSSH is very popular and have very life saver features. Installation Installation of ssh is like below. ssh full package name is Openssh-server which provides daemon, client and auxiliary tools for ssh. Ubuntu, Debian, Mint, Kali:

CentOS, Fedora, RedHat:

Start Ssh Service After installation if service is not...

1

Apache Log Files

Apache or with real name httpd provides logs. These logs are very helpful while detecting errors, attacks. There is two type of Apache logs by default. Log resides in following directories. Log Path Apache logs are stored in different paths because of name difference for different distributions. DEB or apt family uses the name apache2 and stores logs as apache2 but  the RPM yum family uses the name httpd and...

0

How To Start, Stop and Get Status of Linux Service With Systemd?

Services are all over the Linux world. Enterprise Linux world turn over services. There are different tools to manage Linux services like Sys-V, upstart, systemd etc. Systemd is gaining popularity in recent times. Fedora, CentOs, RedHat uses systemd for a long time. Ubuntu started to use systemd too. Here we will look into basics of the service management with systemd. List Installed Services Linux operating systems like Ubuntu, CentOS, Debian...

0

How To Install OwnCloud On CentOS Linux?

I need some application that will provide online file sharing and synchronization. It should be free. Open Source solution is preferred. It seems that we will install OwnCloud which is is an open source, self-hosted file sync and share app platform. There are a lot of things like calendar sync, active feed notifications etc. but for now we will just install ownCloud. Get Repository Keys and Add Repository We need to...

0

How Convert Files Between Ascii and Utf-8

I have a java code and I want to convert it into Utf-8. How can I do it in console. By the way I have multiple files so it need to be do multiple conversion. Getting Info About Character Set We start by getting information about character set. We need to be sure files character set to convert accordingly.

file is very useful tool to get information about files like...

0

How To Delete Route In Ubuntu Linux?

I have some route in my routing table. But I want to delete one route from routing table. How can accomplish this? List Existing Routes To get detailed information about route that will be removed we list the existing routes in our system.

Remove Specific Route This command can be run all modern Linux distributions like Kali, Debian, Ubuntu, Fedora, CentOS. We remove the route by giving specific details...

0

How To Add or Change Default Route or Default Gateway in Ubuntu, Linux?

Systems connected to the network will generally access to the internet. In order to access to the internet they need some network configuration like gateway or default gateway. In this tutorial we will examine how to add or change default gateway in Ubuntu, Debian, CentOS, Fedora, Mint, Kali operating systems. List Routing Table Routing table is used to route IP network communication. Hosts generally uses default route to send packages...

0

How To Add New Route In Ubuntu, Linux?

I have a box with Ubuntu Linux and I want to add new route to my box. Because I want to access external network from a different interface and network. How can I add new route to my Ubuntu, Debian, Fedora, Cent-OS Linux box? Because ip-tools is the same for all of this Linux distributions. Display Existing Routing Table First we should display existing routing table. Our target network should...

1

How to Install Pip in Debian, Ubuntu, Kali, Mint?

Pip is a python package manager. Python packages and libraries can be installed in different ways to the system. We can also use the distribution provided package manager to install Python libraries. Python packages can get from pypi.python.org . How can we install pip in Debian, Ubuntu, Kali or similar dpkg, apt-based distributions. “Command ‘pip’ not found, but can be installed with:” Error If pip is not installed in the...

Enjoy this blog? Please spread the word :)