749 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for Chloe_6

#!/bin/bash iptables -F iptables -t nat -F iptables -X iptables -t nat -X iptables -P INPUT DROP iptables -P OUTPUT DROP iptables -P FORWARD DROP iptables -A INPUT -i lo -j ACCEPT iptables -A INPUT -i eth1 -p tcp -s 192.168.167.0/24 --dport 22 \ -m state --state NEW -j ACCEPT …

Linux and Unix
Member Avatar for rproffitt
0
204
Member Avatar for Xozz

I'm trying to run VirtualBox in Ubuntu. I just created a machine but when I run it I get this error message: Failed to open a session for the virtual machine Windows7_inLinux_2021_01_30. VT-x is disabled in the BIOS. (VERR_VMX_MSR_VMXON_DISABLED). Result Code: NS_ERROR_FAILURE (0x80004005) Component: Console Interface: IConsole {8ab7c520-2442-4b66-8d74-4ff1e195d2b6} Help? Thanks. …

Member Avatar for rofa_1
0
539
Member Avatar for Xozz

When I boot into linux (Ubuntu, I'm not sure which version, a recent one) I get this error: " Oh no! Something has gone wrong. A problem has occurred and the system can't recover. Please contact a system administrator. " I understand that I should boot from a DVD or …

Linux and Unix ubuntu
Member Avatar for Xozz
0
166
Member Avatar for Xozz

I'm trying to save something on my external HD, but I get this error: Unable to access "TOSHIBA EXT" Not authorized to perform operation (polkit authority not available and caller is not uid 0) I made a snapshot of the error window, but that doesn't go to well either. I …

Linux and Unix hard-drive ubuntu
Member Avatar for gmbseoxx
0
2K
Member Avatar for Xozz

How can I produce supertext in Linux? edit: The name of this topic should be " produce supertext" in stead of " use supertext" but I think you all get t he point

Linux and Unix
Member Avatar for Xozz
0
365
Member Avatar for Patrick_Kane

I want to see your suggestions on comparing CPanel and FASTPANEL. I used CPanel for some time but later I changed to FASTPANEL which is absolutely free but provides you with the same opportunities. Also FASTPANEL's design looks much better than CPANEL's one. So now I can't understand why people …

Linux and Unix cpanel
Member Avatar for Alexsun
1
4K
Member Avatar for stefh

Hi everyone! i have Fedora 28 (with xfce) installed on my laptop. As Fedora 28 is now an old version, I'd like to know if there is a way to upgrade directly to Fedora 32, with no risk (I mean no data loss, in particular my /home dir).. Can you …

Linux and Unix redhat
Member Avatar for taceg30003
1
945
Member Avatar for lordrt

Hello, I currently have a RedHat Linux version 6.4 running on a physical server (HP). However, recently it has started to show a failing disk problem, with some failures at software level as well like the terminal not opening properly, and while waiting for a new replacement disk to be …

Linux and Unix redhat
Member Avatar for Sohaib_7
2
705
Member Avatar for whizkidash

Team, Hope you all are doing fine I have one admin server which is being used dedicately to run cron jobs on hourly basis, fetching the details from Database which is in a different server.These cronjob are run on every hourly/5 minutes basis depending as per end user requirement. The …

Linux and Unix
Member Avatar for Dani
1
1K
Member Avatar for dwlamb

I am trying to establish a connection between LibreOffice (5.4.6.2) and Mariadb (10.1.29)/mysql. I have researched various resources on the web but am stuck not being able to establish a connection preliminary steps taken: * the file mariadb-java-client-2.4.0.jar is downloaded from [https://downloads.mariadb.com/Connectors/java/connector-java-2.3.0/](https://downloads.mariadb.com/Connectors/java/connector-java-2.3.0/) * JRE is installed and enabled under LibreOffice …

Linux and Unix java mariadb
Member Avatar for tejal_1
0
5K
Member Avatar for JohnMcPherson

Hello, my name is John McPherson. I work as a contractor for the DOL, and I am trying convert some code I maintain in an application to send output files to a printer. Right now, the code( a bash script) just slowly prints the output file on the screen, and …

Member Avatar for JohnMcPherson
0
2K
Member Avatar for lewashby

Linux Mint So I'm trying to learn French but I'm running into some complications when it comes to finding a good keyboard layout. Here are the layouts that I've tried so far: English (US) English (international Alt Gr dead keys) English (UK, international with dead keys) English (UK, extended WinKeys) …

Linux and Unix
Member Avatar for Gribouillis
0
902
Member Avatar for lewashby

I have recently discovered that my music directory and the micro sd card that's in my hand held media player (iBasso DX50) are not in sync, I don't have any idea how that could have happened. There are songs in both my music directory that are that are not on …

Linux and Unix
Member Avatar for rproffitt
0
488
Member Avatar for lewashby

I recently purchased Terra-Master F4-220 but I can not sign in via ssh. I thing is I don't think it's on the TM end, I think it's on my debian server's end. When I do try and connect this is what I get. $ssh root@192.168.1.2 /etc/ssh/ssh_config: line 55: Bad configuration …

Linux and Unix debian
Member Avatar for rproffitt
0
3K
Member Avatar for lewashby

Today I just put a new SSD in my desktop. I did have a little trouble booting up the OS because I had plugged the DVI into the wrong port, when I couldn't see the monitor I did end up turning off the computer several times before I finally found …

Linux and Unix
Member Avatar for Gribouillis
0
621
Member Avatar for lewashby

I've been using rsync and or luckybackup for a while now to sync my desktop's music library to my micro sd card for my digital music player. Today I noticed that my music player wasn't showing one of my albums so I've started investigating and I've found that it's not …

Linux and Unix
Member Avatar for rproffitt
0
2K
Member Avatar for Warren_4

Hello. I am a newcomer to Daniweb and need some advice. I've been using Ubuntu regularily on several PCs and note books installing without problems until now. I have just purchased an Acer Aspire ES 11 (ES1-132-CONU) that is using an Intel Celeron Quad Core 3450 processor launced Q3'16 possibly …

Linux and Unix ubuntu windows-10
Member Avatar for Warren_4
0
519
Member Avatar for lewashby

A while back I built a computer with an Asus motherboard, a SSD, and two milk creates for a cheap case, and I had Xubuntu installed on it. I have tried to install Xubuntu on it again several times today but it always fails to create the partitions. I keep …

Linux and Unix storage ubuntu
Member Avatar for rproffitt
0
452
Member Avatar for AndrisP

How i can `sed` save pattern matches to variables and do something with it? eg $ echo "string_4.3.2" | sed 's/^string_\([0-9]\)\.\([0-9]\)\.\([0-9]\)$/\1 \2 \3/' output "4 3 2" but I want to pass variables to function eg do_something() { echo $1 echo $2 echo $3 # ..... # ..... } string="string_4.3.2" …

Linux and Unix
Member Avatar for AndrisP
0
829
Member Avatar for lewashby

I recent created a .vimrc file in my home directory because in addition to syntax highlighting and auto indention I also wanted my tabs to be four columns wide and to be tabs and not spaces but now that I have my file setup I am unable to use backspace …

Linux and Unix debian
Member Avatar for Benjamin_17
0
620
Member Avatar for bob_16

` #include<stdio.h> #include<conio.h> #define max 25 void main() int frag[max],b[max],f[max],i,j,nb,nf,temp,highest=0; static int bf[max],ff[max]; clrscr(); printf("\n\tMemory Management Scheme - Worst Fit"); printf("\nEnter the number of blocks:"); scanf("%d",&nb); printf("Enter the number of files:"); scanf("%d",&nf); printf("\nEnter the size of the blocks:-\n"); for(i=1;i<=nb;i++) {printf("Block %d:",i);scanf("%d",&b[i]);} printf("Enter the size of the files :-\n"); for(i=1;i<=nf;i++) {printf("File …

Linux and Unix c++ python
Member Avatar for rproffitt
-2
383
Member Avatar for Dean_5

What it says on the tin. When the system (without logging into X) detects a change in internet accessibility, I'd like to set a hook to execute a script. EDIT: Every single bloody time... So, [dhcpcd-run-hooks](http://roy.marples.name/man/html8/dhcpcd-run-hooks.html) exists... is that the preferred method or can anyone recommend something else that's - …

Linux and Unix debian
0
295
Member Avatar for Dean_5

What it says on the tin. I'm looking for a good voice/chat server I can run on a RasPi 3 running Raspbian Jessie. TeamSpeak is Intel only as best I can tell. EDIT: Dangit. Every single time I jump on this forum thinking "These guys will know, but let me …

Linux and Unix client-server
Member Avatar for rproffitt
1
375
Member Avatar for lewashby

`grep -v "#EXTINF:" All.m3u | sed 's#../##'g` I'm using the line above to try and make the playlists that I export from Banshee compatible with my digital music player. When I run the sed portion of this script I'm trying to remove the portion of the path up to where …

Linux and Unix
Member Avatar for rubberman
0
344
Member Avatar for Aeonix

I'm on latest Kubuntu. Here I am with English US keyboard input. But I'd like to install say Norwegian, Polish, Japanese, whatever. I decide the easiest step. Which is to search "input". "Input Method" sounds promising. I run it. Then I get window. That says: Current configuration for the input …

Linux and Unix debian session window-manager
Member Avatar for Aeonix
0
2K
Member Avatar for lewashby

I just purchased an 240 GB SSD for my older Toshiba Satellite. I would rather not go through trying to save the files from the HDD and install the Linux Mint Debian Edition and then move all the files back, I would like to just be able to clone the …

Linux and Unix debian laptop
Member Avatar for rubberman
0
494
Member Avatar for lewashby

Linux Mint (Ubuntu). I'm looking for a way to encrypt some of my external HDDs. I was looking this option over -> https://www.howtoforge.com/tutorial/encrypt-your-data-with-encfs-on-ubuntu/ but I'm not sure how well this would work. I read this on the top portion of the site -> "It is a pass-through filesystem, not an …

Linux and Unix ubuntu
Member Avatar for Reverend Jim
0
452
Member Avatar for Aeonix

(short version of the story) I'm using Kubuntu in BIOS Legacy State as this was the only way I could see USB option in Boot Menu (F12). And it was the only way I could install Kubuntu from USB, from boot. I "burned" USB using OEM Windows 10 and told …

Member Avatar for Aeonix
0
564
Member Avatar for lewashby

I have an older Toshiba Satellite laptop with Linux Mint OS installed. It pretty old and it's starting to show as it's getting slower. It's got a bigger screen and it's even got the num pad on the right of the keyboard in addetion to the numbers at the top. …

Linux and Unix laptop linux-kernel
Member Avatar for lewashby
0
466
Member Avatar for panduranga_1

Is it possible to create our own hosting using a server computer with good hardware configuration. If we install Linux server or Microsoft server edition like OS inside a computer, will it turn into hosting Server like Hostgator, godaddy etc. For example, If we create a website inside a localhost, …

Linux and Unix apache client-server
Member Avatar for rubberman
0
449
Member Avatar for Nathan_6

Hello everyone. I realize that this may be an elementary question, but all of my searches for answers have not given me a satisfactory result. In my ubuntu server machine, I typed in [after examining my stty settings] `werase='^I'` as I was configuring the terminal to my likings. All was …

Linux and Unix shell-scripting ubuntu
Member Avatar for Nathan_6
0
2K
Member Avatar for A_6

Online file hosting. I click "Upload File". I select correct file. I click "Open". File gets uploaded. I log out. What else does hosting get to know? (besides name, modification timestamp, creation timestamp, content, extension and length of upload file etc.) Assuming running Linux Ubuntu/Arch/Whatever, on Mozilla Firefox or any …

Linux and Unix file-system open-source ubuntu
Member Avatar for Reverend Jim
0
349
Member Avatar for reenabiew

hai am new to linux.i like to learn from this forum

Linux and Unix shell-scripting
Member Avatar for rubberman
0
261
Member Avatar for zelrick

Good Day DaniWeb Users, I'm having hard time to mount my 3 TB External Hard Drive/Disk I do mount my external hd using this command.. sudo mount /dev/sdc1 /media/Archive/ I do df -lh and seen my mounted device. Here is my Problem: 1. When I enter fdisk -l ~ I …

Linux and Unix hard-drive redhat ubuntu
Member Avatar for zelrick
0
510
Member Avatar for Sphinx'LostNose

In Linux, what's the difference in a service and a daemon? I know a daemon is a long running process without a terminal, meant for servicing things such as requests from other processes or server type services such as a web server or dns server. I understand that you can …

Linux and Unix dns web-server
Member Avatar for rch1231
0
4K
Member Avatar for bigtalk

Hello, I am trying to remove the www. at the beginning of our domain name via .htaccess. I'm doing it like this: [code]RewriteCond %{HTTP_HOST} ^www\.domain\.com$ [NC] RewriteRule ^(.*)$ http://domain.com/$1 [R,NC][/code] It seems to word wonderfully. I would like to retain the www. when someone accesses the site securely with https. …

Linux and Unix apache
Member Avatar for bigtalk
0
332
Member Avatar for lewashby

garrett@mint-desktop /var/www/html/udemy/php-oop/gallery/backups $ tar --exclude-tag-all=backups -cf lesson20.tar ../* tar: Removing leading `../' from member names I have an empty file called backups in my backups directory to keep the tar file from trying to backup itself. Does anyone know why I'm getting this output? -> `tar: Removing leading ../' from …

Linux and Unix oop shell-scripting
Member Avatar for Gribouillis
0
463
Member Avatar for Amr.Mohammad87

Greetings, I am a windows OS user, however, I installed a VMware and I need to install Linux OS on a virtual machine. I searched for Linux official website to download the lastest version of the OS from it and unfortunately I did not find, or I could not be …

Linux and Unix linux-kernel ubuntu
Member Avatar for jwenting
0
464
Member Avatar for lewashby

Linux Mint 17 I have recently download the SFML library but I don't know where to put the files. There is a lib directory and an include directory. The lib directory appears to have a lot of sym links in it. garrett@mint-desktop ~/Desktop/SFML-2.3.2/lib $ ls -l total 904 lrwxrwxrwx 1 …

Linux and Unix audio c++ opengl
Member Avatar for mike_2000_17
0
409
Member Avatar for Athicom

#STEP 0 : Install Install program pdftk and imagemagick : > sudo apt-get install pdftk imagemagick #STEP 1 : Convert Input is : /image/topic-01/01-01.jpg /image/topic-02/02-01.jpg /image/topic-02/02-02.jpg /image/topic-03/03-01.jpg Output is : - topic-01.pdf (1 pages) - topic-02.pdf (2 pages) - topic-03.pdf (1 pages) Basic convert : > find /image -type d …

Linux and Unix pdf
Member Avatar for Gribouillis
0
663
Member Avatar for JohnMcPherson

Hello, I am having a very strange problem. I am entering data in a file with the vi editor, and the data is to be read by a C program. Each line of data has to be 80 colums, with spaces to file out the line if there is no …

Linux and Unix
Member Avatar for rubberman
0
342
Member Avatar for JohnMcPherson

Hello, I am having a very strange problem. I am entering data in a file with the vi editor, and the data is to be read by a C program. Each line of data has to be 80 colums, with spaces to file out the line if there is no …

Linux and Unix
Member Avatar for rubberman
0
309
Member Avatar for lewashby

I just purchased an HP Envy 5642. I can print to it from Linux without a problem but I don't see a way to scan. When I hit scan on the printer it tells me to turn on the appropriate HP application in Windows which I am not running. I …

Linux and Unix email printer seo
Member Avatar for Gribouillis
0
562
Member Avatar for lewashby

Two of my USB sticks have stopped auto mounting. I can still mount them manually by running `mount | grep /dev/sd` and then looking for the device name to mount from but that's having to go a little out of the way. Not all USB stick have stopped auto mounting, …

Linux and Unix
Member Avatar for Gribouillis
0
103
Member Avatar for lewashby

When I want to sync my music directory to my SDcard I use the command `rsync -a --delete /home/garrett/Music /media/garrett/6BF6-AC8A` and everything works just fine. I got tired of typing all that in every time so I placed that command in the script ~/bin/music-sync and this is what the file …

Linux and Unix file-system
Member Avatar for rch1231
0
481
Member Avatar for Pavan_6

Hi I am trying to setup a multinode Hadoop cluster and I would like to know, how to install hadoop in all the slaves machine from the master machine itself. Ideally, all the slave machines should have same configuration, is there a way to provide instructions to all the slaves …

Linux and Unix
Member Avatar for Pavan_6
0
184
Member Avatar for ehpratah

Hi Has anyone of you having a problem opening firefox , google chrome and thunderbird since yesterday? coz almost all of our unit that is running in ubuntu and Zorin OS are experiencing the same bugs.. i already tried updating and upgrading the OS but still having the error and …

Member Avatar for ehpratah
0
287
Member Avatar for hefaz

How to write Command to erase all files in the current directory, including all its sub-directories, using only one command?

Linux and Unix file-system
Member Avatar for hefaz
0
365
Member Avatar for Tinnin

Hi All, I'm trying to setup ssh key authentication on a git server and remove the password authentication. The server and any clients are all local at the moment. The clients are running Windows 7. I've got the ssh key part set up but I'm having trouble preventing the password …

Linux and Unix session
Member Avatar for Tinnin
0
468
Member Avatar for ralf.frix

Hi I just want to ask why does the game not work in my firefox browser not working. I can only see a gray area. It's in playr.org My linux distro is ubuntu 14.10 by the way. Sorry I can't place an image here.

Linux and Unix flash ubuntu
Member Avatar for rubberman
0
177

The End.