LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 02-13-2019, 07:47 PM   #1
benji45
LQ Newbie
 
Registered: Feb 2019
Posts: 1

Rep: Reputation: Disabled
Serveur Web / Powershell centos 7


Hello,

For my internship project I have to set up an intranet web site in PHP which allows to retrieve information from client pc (name, IP, MAC address, ...), the server runs on CENTOS 7.

My problem is that I can not retrieve this information. I installed Powershell, to launch the command, but nothing goes back up.

I come to you for suggestions.

Thank you so much.

Last edited by michaelk; 02-13-2019 at 08:23 PM.
 
Old 02-13-2019, 07:54 PM   #2
scasey
Senior Member
 
Registered: Feb 2013
Location: Tucson, AZ, USA
Distribution: CentOS 7.6
Posts: 2,920

Rep: Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007
Welcome to LQ benji45.

LinuxQuestions is an English-only forum. Please translate your question and update your post.

Thank you.
 
Old 02-14-2019, 06:23 AM   #3
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 8,498

Rep: Reputation: 1734Reputation: 1734Reputation: 1734Reputation: 1734Reputation: 1734Reputation: 1734Reputation: 1734Reputation: 1734Reputation: 1734Reputation: 1734Reputation: 1734
Quote:
I installed Powershell, to launch the command, but nothing goes back up.
Are you using CentOS to try to get this information? Why install Powershell when you can get this info from a terminal in CentOS? What command did you use? nmap will give you a lot of info on networks so try that. Some options at the link below. An online search should help as this is pretty basic.

https://askubuntu.com/questions/4067...cal-network-la
 
Old 02-14-2019, 06:26 AM   #4
Turbocapitalist
Senior Member
 
Registered: Apr 2005
Distribution: Linux Mint, Devuan, OpenBSD
Posts: 3,914
Blog Entries: 3

Rep: Reputation: 1862Reputation: 1862Reputation: 1862Reputation: 1862Reputation: 1862Reputation: 1862Reputation: 1862Reputation: 1862Reputation: 1862Reputation: 1862Reputation: 1862
Powershell is still only half-baked. Avoid it. Bash, Zsh, and Ksh are the ones to look at, as well as ash or dash.

However, none of those really have anything to do with serving PHP scripts over the web. What does your PHP script look like? Please remember to use [code] [/code] tags if posting code.
 
Old 02-14-2019, 10:30 AM   #5
scasey
Senior Member
 
Registered: Feb 2013
Location: Tucson, AZ, USA
Distribution: CentOS 7.6
Posts: 2,920

Rep: Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007
Thank you for updating your thread to English...

Since this appears to be a homework/learning assignment, please try this search
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Microsoft open-sources PowerShell for Linux, Macs. Repeat, Microsoft open-sources PowerShell for Linux LXer Syndicated Linux News 0 08-19-2016 03:50 AM
creation utilisateurs pour acces à distance serveur ftp redhat rachaya Linux - Server 2 05-20-2010 03:58 AM
copy xfs data fromr one serveur to other server cormanstnl Linux - Server 2 02-05-2008 05:09 AM
GRR! I need authentication from a Win2K serveur. antechrist Linux - Security 2 06-24-2004 01:03 PM
HELP config serveur avec 2 cartes réseau exalik Linux - Networking 4 04-01-2003 04:33 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 06:46 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration