Linux

66K

Solutions

33K

Contributors

Linux is a UNIX-like open source operating system with hundreds of distinct distributions, including: Fedora, openSUSE, Ubuntu, Debian, Slackware, Gentoo, CentOS, and Arch Linux. Linux is generally associated with web and database servers, but has become popular in many niche industries and applications.

Share tech news, updates, or what's on your mind.

Sign up to Post

I would like to use the esxi 6.7  free version (in a product environment) . Firstly if i use my personal email and get the serial then i can use this serial to my organization with only restrictions of the free version? or is needed to use my email from my organisation ? )  

also i plan to add a nas (synology) to the free 6.7 esxi , is this possible ? (i know that i can't use a  SAN to the free version of esxi)
what other restriction of the free version are exist?
(i plan to use a server with one cpu - 10 cores ,32 GB RAM) with 3 VMs one AD VM ,one Filse Server and one linux VM  i would like to be sychronize with azure AD and to backup also to nas (synology)

Can you see any problem to fulfill these requirements with a free version of esxi 6.7 ?
0
OWASP: Forgery and Phishing
LVL 13
OWASP: Forgery and Phishing

Learn the techniques to avoid forgery and phishing attacks and the types of attacks an application or network may face.

We got some threshold alert on CPU usage sometimes. Thus we want to find out which process caused high CPU utilization on Linux.
After we use top and ntop command, all processes used only 0.7 to 1% CPU resources from time to time. We have no idea which process caused the issue.
Any command or tools could help us with this problem? Thank you.

RedHat and Ubuntu.
0
I've created a test EC2 instance and have chosen Linux as my image.  I am successfully SSH'd into that box currently but would like to launch an actual GUI.  I'm not well versed in the AWS Dashboard, where do I go to do this or are all EC2 instances only available via the CLI?
0
hi am having this error starting my virtual box
errorvmerro213.jpg
0
Pls help...

User http access : sdm.mnd.com (75.68.129.206, Port 80)
Gateway will NAT the IP address & port to reserve Proxy server IP : 152.210.72.4:10118
RH Linux - Reserse proxy server : 152.210.72.4:10118
RH Linux application server : 152.160.85.4:10021

Verified the application server works well with direct IP.
RH Linux reverse proxy server, verified httpd successfully started.
Configuring reverse proxy settings, it is not working.
Can help me/ advise me what went wrong or to be modified...

User will access the URL http://sdm.mnd.com

Reverse proxy server httpd.conf file

<VirtualHost *:10118>
        ServerAdmin admin@mnd.com
        ProxyRequests off
        ProxyPreserveHost On
        ServerName sdm.mnd.com
        ProxyPass               /        http://152.160.85.4:10021
        ProxyPassReverse        /        http://152.160.85.4:10021
</VirtualHost>


Application server server.xml file

-->
      <Connector port="10021" protocol="HTTP/1.1"
      connectionTimeout="20000"

      redirectPort="8443" URIEncoding="UTF-8" />
   
      <!-- A "Connector" using the shared thread pool-->
   
<!--
0
Hi,

need help...
i am having two servers,  web reverse proxy and tomcat application server.

1. tomcat Application server is 120.121.25.16 default port number changed in server.xml file, port number is 28056. I checked the tomcat application server, it works after port change and verified application.

2. RH7.7 reverse proxy server 10.38.11.26
i installed httpd.
/etc/httpd/conf/httpd.conf edited and changed the default port 80 to 29081 in listener.
restartng the httpd, it is failing

After port change the httpd service not coming up...

Error below...
Oct 18 23:04:34 webpxy1httpd[19252]: AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using 10.250.245.6. Set the 'ServerNa
Oct 18 23:04:34 webpxy1 httpd[19252]: (13)Permission denied: AH00072: make_sock: could not bind to address [::]:8011
Oct 18 23:04:34 webpxy1 httpd[19252]: (13)Permission denied: AH00072: make_sock: could not bind to address 0.0.0.0:8011
Oct 18 23:04:34 webpxy1 httpd[19252]: no listening sockets available, shutting down
Oct 18 23:04:34 webpxy1 httpd[19252]: no listening sockets available, shutting down
Oct 18 23:04:34 webpxy1 httpd[19252]: AH00015: Unable to open logs
Oct 18 23:04:34 webpxy1 systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE
Oct 18 23:04:34 webpxy1 kill[19253]: kill: cannot find process ""
Oct 18 23:04:34 webpxy1 systemd[1]: httpd.service: control process exited, code=exited status=1
Oct 18 23:04:34 …
0
I'm using WxWidgets 3.1.2 with C++ under Ubuntu to control a device which acts like a Kiosk/ATM.
I use a magnetic card reader to take inputs from the users within the first frame (ProjectMain.cpp) and then I have two other frames (SecondPage.cpp and ThirdPage.cpp) where the users can perform some actions (i.e. press buttons, insert text and so on).
At the end of this procedure, the application destroys the third frame and reloads the first frame to start a new operation with a new user.

I use wx/timer.h in order to trigger a reset function if the user do nothing for more than 5 minutes; after this time, I load the first frame again.
I put the time trigger function in the frame creation function so the timer starts as soon as the frame is loaded; I use the trigger also when some buttons are pressed.
It works very fine, but sometimes I noticed that the application resets by itself (even if T << 5 minutes) and it loads new windows in the application bar.
If I press ALT+TAB, I can see several instances of the same application and this is very strange to me.

I'm pretty sure the problem is related to the timer function, but I cannot understand how to solve it.
Can you help me, please? I need to solve this problem very urgently, but I don't know what do do.

P.S. Moreover, when only the first frame is loaded, I can see that the timer on the secondpage starts, too. But, how can this possible since Frame2 is not loded yet?

ProjectApp.cpp
#include "ProjectApp.h"

Open in new window

0
hi am not able to connect to my via ftp but i can ping my vm am using winscp my vm is in linux ubuntu my host is window 10
host
0
Moodle: I am unable to publish Moodle over the internet. I have created FQDN and also open up port 80. I have modified the wwwroot and used the FQDN and not IP but still no success.
0
i install nfs-server on ubuntu desktop 18.04
then share a directory on /etc/expports:
/mnt/sharedirectory client-ip(rw,sync,no_subtree_check)

from client ip i try to mount shared directory
mount -t nfs desktop-ip:/mnt/sharedirestory /mnt/srchive/
 mount.nfs: Connection timed out
nothing is in my auth.log or syslog.
from that client i mountet directories from other server . Then error should be in my desktop. But i can't see any.
0
Ensure you’re charging the right price for your IT
Ensure you’re charging the right price for your IT

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden using our free interactive tool and use it to determine the right price for your IT services. Start calculating Now!

Hi, i have just installed Ubuntu Server 16 and i have installed firefox, my aim would be to have firefox launch automatically when machine starts up on a web address https://www.iradio.ie
0
What's the file system in the latest Ubuntu OS?  Any issues installing Windows 10 on the top of it from scratch and formatting?   For some reason some folks afraid doing it because it may 'crash' the HD.

No data need to be saved.
0
I am trying to install Centos 7 on an existing server with Centos 6 installed. When I tried to boot into installation CD using the regular F11, it took me to GRUB. How do I boot to installation CD from GRUB?
0
is there any graphical tools to monitor lxd?
what I want to see is cpu, men, disk, network trafik,.. .
0
We will migrate our Oracle db data from Windows 2008 SP2 (not R2) to RHEL7. The data more or less 2 TB. What is the fastest way, sftp the file over from Windows to RHEL or we install the NFS client on Win and mount on the RHEL side? I have already prepared 2 TB new disk on both site.

Also which one is more convenient, since NFS means I need to install on the Windows side?

Thank you,

Iwan
0
Hello to everyone,

I'm trying to remove the nvidia driver from my system (running with debian 10). I tried several methods,but unsuccesfully. Something like these :

-) apt remove nvidia-driver
-) apt-get purge nvidia-driver

after that,when I reboot the PC,debian 10 restarts and I see this :

mario@DESKTOP-N9UN2H3:/home/mariozio# lspci -nnk -d 10de:
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation TU102 [GeForce RTX 2080 Ti] [10de:1e04] (rev a1)
      Subsystem: ZOTAC International (MCO) Ltd. TU102 [GeForce RTX 2080 Ti] [19da:2503]
      Kernel driver in use: nvidia
      Kernel modules: nvidia

what to do ?
0
I have encrypted the volume using luks in centOS 6.3.
And generated the key added to the volume.
I have also added the entry in the /etc/crypttab for the encrypted volumes. As the volumes are from storage it takes more time for the server to reboot, so i have commented the /etc/crypttab entries to boot faster.

I Ubuntu I am am able to decrypt the volume using cryptdisks_start and in centOS 7 I use systemd-cryptsetup@<name>

Where as in CentOS 6.3 I am not able to find both the above commands.

My requirement is to boot decrypt the volume after the server boot's using a command like cryptdisks_start or systemd-cryptsetup@<name> .
0
Openstack swift issue.  I have all nodes running Ubuntu 16.04.4 LTS.  I have one controller node and 4 swift storage nodes.  All of the storage nodes have 1 boot drive and 3 data drives.  The first storage node works just fine.  However, it filled.  Upon which I realized the other 3 nodes are not working correctly.  It appears that the "boot" drive on the other 3 nodes is full.  However, I cannot find where the space is taken from.  The three data drives are mounted off of /srv/node/sda, /srv/node/sdc, and /srv/node/sdd (as described in the OpenStack documenation).  If I unmount them, I am still able to access those paths and see the contents.  So, it is saving the data to local disk and not the mounted disks???

Any help would be appreciated.
0
Hello.

I'm trying to enable the passthrough on my graphic card (nvidia RTX 2080 ti on CPU I9 - 9900k) on the Debian 10,following this tutorial :

https://passthroughpo.st/gpu-debian/
 
These are the commands that I gave :

nano /etc/initramfs-tools/modules

adding this line :

vfio_pci ids= 10de:1e04,10de:10f7

below you can see how I have got that numbers :

ziomario@DESKTOP-N9UN2H3:/home/mariozio# lspci -nn | grep 01:00.

01:00.0 VGA compatible controller [0300]: NVIDIA Corporation TU102 [GeForce RTX 2080 Ti] [10de:1e04] (rev a1)
01:00.1 Audio device [0403]: NVIDIA Corporation TU102 High Definition Audio Controller [10de:10f7] (rev a1)

and then :


update-initramfs -u
update-initramfs -u -k all

and

nano /etc/modprobe.d/blacklist.conf

adding these lines :

blacklist nouveau
options nouveau modeset-0

the tutorial does not explain if I should modify also the file /etc/default/grub. Anyway I tried,adding this line :

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash intel_iommu=on iommu=pt"

instead of the old one,that was :
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"

and then I did again :

update-initramfs -u
update-initramfs -u -k all

but the result does not change. During the boot I see the blinking cursor hanging on the screen and nothing happens anymore. I have even removed all the changes that I made and I did again :


update-initramfs -u
update-initramfs -u -k all
0
OWASP Proactive Controls
LVL 13
OWASP Proactive Controls

Learn the most important control and control categories that every architect and developer should include in their projects.

Hello,
I have ubuntu vps and I want to install on it a control panel to allow managing hosting through web like create users and websites for them and specify for each website ghis php version and so on, something like cpanel/plesk bot open source and free, any suggestion?
Thanks
0
Hi experts,

our linux guys use two scripts for their linux file servers.
1. When a user logs on, one script checks the SCRTACH share, if the user has already a folder, if not, the script creates one.
2. Another script deletes the content of the SCRATCH folders.

Is it possible to to do the same for a windows fileserver ?
Do you have some hints and ideas ?
0
i try to start a lxd conatiner. I get error :
Error: Common start logic: Set last ID map: json: cannot unmarshal number into Go value of type [idmap.IdmapEntry
i try to change  volatile.idmap.next value sat to [] and start lxd
my config show:

config:
  image.architecture: amd64
  image.description: ubuntu 18.04 LTS amd64 (release) (20190604)
  image.label: release
  image.os: ubuntu
  image.release: bionic
  image.serial: "20190604"
  image.version: "18.04"
  security.idmap.base: "10000000"
  security.idmap.isolated: "true"
  security.idmap.size: "200000000"
  volatile.base_image: c234ecee3baaee25db84af8e3565347e948bfceb3bf7c820bb1ce95adcffeaa8
  volatile.eth0.hwaddr: 00:16:3e:6b:be:cb
  volatile.idmap.base: "200000000"
  volatile.idmap.current: '[{"Isuid":true,"Isgid":false,"Hostid":10000000,"Nsid":0,"Maprange":200000000},{"Isuid":false,"Isgid":true,"Hostid":10000000,"Nsid":0,"Maprange":200000000}]'
  volatile.idmap.next: '[]'
  volatile.last_state.idmap: "3000000000"
  volatile.last_state.power: STOPPED
devices: {}
ephemeral: false
profiles:
- lanprofile
stateful: false
description: ""
0
I'm using WxWidgets and C/C++ under Ubuntu to write an application that use data coming from a magnetic card reader.
@sarabande gave me support to perform the string parsing and it works great!

Now, I would like to improve the code used to read the data since I realized that sometimes the users do not correctly swipe the card and the system is not able to process the string.

If the card is correctly swiped, the string is:

%URSMCC84R04E815LURSO  MARCO_ò8038001605011036724_

When the user fails to swipe the card, it usually produces a shorter string with strange characters or just a subset of the original string. For this reason, I'm trying to check the correct length of the string (it should be 53 characters) and if it's different, then the user gets an error.

It seems to work, but I would like to improve it.
Do you have suggestions, please?
If the swipe is not correct, the text  control should be cleared in order to accept a new string from the card reader (which acts like a keyboard).

void ProjectFrame::OntesseraText2(wxCommandEvent& event)
{
    wxString stringa_tessera = tessera->GetValue();
    // I read the string coming from the USB reader
    stringa_tessera.Length();
    int counter = static_cast<int>(stringa_tessera.Length());
     printf("Counter: %d\n", counter);
    if(counter > 52){

    wxString number = stringa_tessera.Mid(1, 16);  // Mid starts at offset 1 and takes 16 chars
    wxString rest = stringa_tessera.Mid(17);                

Open in new window

0
Hi Experts,

we have an old linux file server with some shares. Lets say we have here 100GB data.
Now we want to go to a new windows file server Windows Server 2019.
The file server is already installed with DFS and DFSR.

Do you know an easy way to migrate the files and permissions to the new filer ?

Can I use ROBOCOPY for it maybe  ?
0
hi am geting this error trying to start mysql database in ubuntu

mysql -u root -p
Enter password:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
user@myubuntu:~$ sudo etc/init.d/mysql -root -p start
[sudo] password for user:
Sorry, try again.
[sudo] password for user:
Sorry, try again.
[sudo] password for user:
sudo: 2 incorrect password attempts
user@myubuntu:~$ sudo start mysql
[sudo] password for user:
start: Unable to connect to Upstart: Failed to connect to socket /com/ubuntu/upstart: Connection refused
user@myubuntu:~$ Unable to connect to Upstart: Failed to connect to socket /com/ubuntu/upstart: Connection refused^C
user@myubuntu:~$ ^C
user@myubuntu:~$ sudo etc/init.d/mysql - root -p start
sudo: etc/init.d/mysql: command not found
user@myubuntu:~$ sudo etc/init.d/mysql -root -p start
sudo: etc/init.d/mysql: command not found
user@myubuntu:~$ sudo /etc/init.d/mysql - root -p start
Usage: /etc/init.d/mysql start|stop|restart|reload|force-reload|status
user@myubuntu:~$ pswd
123456: command not found
user@myubuntu:~$ sudo /etc/init.d/mysql - root -p start
Usage: /etc/init.d/mysql start|stop|restart|reload|force-reload|status
user@myubuntu:~$ sudo /etc/init.d/mysql start
[....] Starting mysql (via systemctl): mysql.serviceJob for mysql.service failed because the control process exited with error code. See "systemctl status mysql.service" and "journalctl -xe" for details.
 failed!
0

Linux

66K

Solutions

33K

Contributors

Linux is a UNIX-like open source operating system with hundreds of distinct distributions, including: Fedora, openSUSE, Ubuntu, Debian, Slackware, Gentoo, CentOS, and Arch Linux. Linux is generally associated with web and database servers, but has become popular in many niche industries and applications.