What are your thoughts on systemd vs upstart? which one is better?

Member Avatar
Member Avatar
+0 forum 1

Hey, can you help me with convert the web.config to a .htacces file? <?xml version="1.0" encoding="UTF-8"?> <configuration> <system.webServer> <defaultDocument> <files> <clear /> <add value="index.php" /> <add value="_seiten/index.html" /> <add value="seite.php" /> </files> </defaultDocument> </system.webServer> <system.webServer> <handlers> <clear /> <add name="PHP53_via_FastCGI" path="*.php" verb="GET,HEAD,POST" modules="FastCgiModule" scriptProcessor="C:\Program Files (x86)\PHP\v5.3\php-cgi.exe" resourceType="Either" /> <add name="PHP54_via_FastCGI" path="*.php" verb="GET,HEAD,POST" modules="FastCgiModule" scriptProcessor="C:\Program Files (x86)\PHP\v5.4\php-cgi.exe" resourceType="Either" /> <add name="PHP_via_FastCGI" path="*.php" verb="GET,HEAD,POST" modules="FastCgiModule" scriptProcessor="C:\Program Files (x86)\PHP\v5.6\php-cgi.exe" resourceType="Either" /> <add name="PHP55_via_FastCGI" path="*.php" verb="GET,HEAD,POST" modules="FastCgiModule" scriptProcessor="C:\Program Files (x86)\PHP\v5.5\php-cgi.exe" resourceType="Either" /> <add name="ISAPI-dll" path="*.dll" verb="*" modules="IsapiModule" resourceType="File" requireAccess="Execute" allowPathInfo="true" /> <add name="TraceHandler-Integrated" path="trace.axd" verb="GET,HEAD,POST,DEBUG" type="System.Web.Handlers.TraceHandler" preCondition="integratedMode,runtimeVersionv2.0" /> <add name="WebAdminHandler-Integrated" path="WebAdmin.axd" verb="GET,DEBUG" type="System.Web.Handlers.WebAdminHandler" preCondition="integratedMode,runtimeVersionv2.0" …

Member Avatar
Member Avatar
+0 forum 4

So I realise my title may be rather vague but I honestly don't know how else to word it. Essentially what happened was I was having difficulty installing Ubuntu onto my new server rig I built, so I plugged the HDD into a dock on my Win10 rig and installed Ubuntu that way. The problem is that the only way I was able to get it to work was to use a program called Unetbootin and essentially "install" the ISO for Ubuntu directly to my Win10 root directory. This allowed me to install Ubuntu onto the HDD I was using …

Member Avatar
Member Avatar
+0 forum 5

i have installed nasm in ubuntu in linux but dont know how to and where to write code of assembly language and run my code please give me information as soon as possible.

Member Avatar
Member Avatar
+0 forum 9

hi there, I'm coding in windows, c++, but when I traslate my code to ubuntu, g++, I get this error: [B]lvalue required as left operand of assigment[/B] This is the line where I get the error: [COLOR="Red"][/COLOR][CODE]&*raiz=&*p;[/CODE] What could be the problem? *raiz and *p are pointers to an avl structure: [CODE] typedef struct nodo{ int dato; int fe; int color; struct nodo *izq; struct nodo *der; struct nodo *padre; }nodo; typedef struct nodo *avl; [/CODE] and this is the method where I have the problem: [CODE] void RSD(avl *raiz){ avl *p; p=new avl; *p=NULL; avl *q; q=new avl; *q=NULL; …

Member Avatar
Member Avatar
+0 forum 11

Can someone please tell me what version of software i have to use to build a kernel module. Kernel version 3.10.49 perf .....aarch64

Member Avatar
Member Avatar
+0 forum 2

Hi. I wasn't sure which topic this falls under as it sort of concerns both OS and this is, I'm sure, a **really noob** (I want to start learning linux) question but can i use one pen drive between the 2 different OS's? Earlier I was using my pen drive which is a SanDisk Cruzer Pop 4GB between my Windows 8.1 laptop and my recently installed Ubuntu 14.04 laptop and it was going well. On both laptops I safely removed the pen drive before unplugging it but now the pen drive can't be detected. I've tried it on both laptops …

Member Avatar
Member Avatar
+0 forum 5

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 from the Kaby Lake 7th gen batch. Installation USB /CDs for versions 14.04 and 16.04 won't boot. Version 16.1 will boot and I can go thru the 'try without installing' and without any problem. Then after adjusting the Windows 10 partition, etc. and installing Ubuntu 16.1, can only boot to …

Member Avatar
Member Avatar
+0 forum 5

Hello DaniWeb Users; I'm not a good coder here please hold on me, My machine is linux ubuntu 14.04 and I install apache2 also the php5. I was trying to create a simple log in page here (no registration thing) So in mysql I just create 3 fields (user_id, username, password) This is my connection script called dbconnect.php <?php $servername = "localhost"; $username = "root"; $password = "pagasa"; // Create connection $conn = new mysql($servername, $username, $password); // Check connection if ($conn->connect_error) { die("Connection failed: " . $conn->connect_error); } echo "Connected successfully"; ?> and this is my log in script …

Member Avatar
Member Avatar
+0 forum 11

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 fine after I made that change and the command worked beautifully. After I logged out and logged back in, I could not use that shortcut anymore and I had to manually reprogram it to use it again. Could anyone suggest how I can fix this problem and make the setting …

Member Avatar
Member Avatar
+0 forum 3

Hi everyone. I downloaded ubuntu server into a virtual machine on my mac so I can learn unix/linux. When I type commands it sometimes prints many pages worth of information, but the virtual machine does not allow me to scroll upwards (either with my mouse or with my arrow keys) to see what was printed towards the beginning of the command's output. Instead, when I use my up and down arrow keys, the terminal suggests various commands that I issued in the past. Could anyone please help me figure out how to configure the virtual machine to fix the problem? …

Member Avatar
Member Avatar
+0 forum 5

Hi, can anyone explain to make script `downstream kbps` and `upstream kbps` ? It's totally Different method from ubuntu, because my `Os System` still window 7. Every second `downstream` and `upstream` must change... Thanks Before... Noted: Python2.7

Member Avatar
Member Avatar
+0 forum 4

Hi, i still learning about python. Now i study learning convert ***bandwidth*** (**Byte**) from `ifconfig eth0`to **Kbps** The problem is, my pc using **os windows 7** not **linux/ubuntu** I dont know how to using command `ifconfig eth0` using win7. Any other way to solved this problem?

Member Avatar
Member Avatar
+0 forum 2

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 saw a warning: WARNING: The size of this disk is 3.0 TB (3000558944256 bytes). DOS partition table format can not be used on drives for volumes larger than 2.2 TB (2199023255040 bytes). Use parted(1) and GUID partition table format (GPT). what would be the problem? I do format it in …

Member Avatar
Member Avatar
+0 forum 10

Hey I'm new to c++ and using Eclipse as IDE on ubuntu. My question, How to insert a BEEP sound in mentioned IDE and OS.

Member Avatar
Member Avatar
+0 forum 2

Want to buy a Dell machine loaded with Linux? Shame, as it appears that Dell Europe would really rather you bought a Windows-powered one, despite having a website devoted entirely to selling Dell Ubuntu laptops. And, oh boy, does it use some strange arguments to dissuade you from becoming a Linux convert. [attach]15934[/attach]Three years ago Dell went Ubuntu bashing, making it really pretty hard to buy a Linux-loaded machine from the vendor. The Linux machines back then cost more than the Windows ones, there were warnings about it not being compatible with lots of software and to top it all …

Member Avatar
Member Avatar
+7 forum 35

I know there are a lot of people who are highly experienced in every discipline of IT industry in this forum. I want to buy a laptop, which will mostly be used for programming and computing. So, I would need one with speed, enough memory and high quality graphic specs for high profile graphing! What are the most important things to consider, I've just tried to guess! I am not sure as to which specs are desirable. In addition, I do not need it to be installed with any os, I will install my prefered one Ubuntu- Linux, I hope …

Member Avatar
Member Avatar
+0 forum 10

Hi all, I was recently reading an interesting article about setting up an SSH honeypot to track malicious activity (article avaliable here http://www.symantec.com/connect/articles/analyzing-malicious-ssh-login-attempts) The article mentions that after an attacker gained SSH access to a server, they installed an IRC bot. Now, my knowledge of IRC is very limited, but I imagine that this allows the compromised server to listen for future commands. After thinking about this for a while I realised how clever this is, since it would remain active even if the SSH credentials were altered or the port closed completely. However, the main benifit would be that …

Member Avatar
Member Avatar
+0 forum 4

Hi all, I am running a mySQL database on a webserver hosting multiple Wordpress installations. It seems that database is getting swamped with memory and going into a continual loop of shutting down and restarting. A reboot fixes the issue temporarily, but I have no idea what I can do to fix this. When the issue presented itself a month ago I realise I had not created a swap drive. I have now done so, but web traffick has increased since then and I suspect this may be the cause. Interestingly, when I SSH into my Ubuntu Server, I get …

Member Avatar
Member Avatar
+0 forum 3

Hello DaniWeb / Linux Users and Programmers, I am 90% new to the world of Linux. I was instructed to edit a running program. The purpose of editing this program was to follow the format of the other running program. But it is hard for me to understand because some of the codes have like this: -u , -d , +%-H , -ud , $1 , etc... So I look on the internet but it show the basic commands not the exact meaning for the given example. anyone can tell me the meaning for it? for fast track... and also …

Member Avatar
Member Avatar
+0 forum 5

Hi there I have this problem on how to access the website/server without using IP address im using xampp as a trial for this. im always using IP's instead of names. I would like to know more on how to customize my Public Static IP(121.xxx.xxx.xxx) to name(www.mysite.localserver) like that

Member Avatar
Member Avatar
+0 forum 3

Guys, I’m having a lot of problems with my 64GB usb stick. It worked fine till somehow I think I formatted in exFAT format (that happened in Ubuntu as I was trying to install something on it and I formatted it using I can’t quite remember which utility in Ubuntu), and that’s when the nightmare begun. Every time I’d insert that into the USB port I’d get a “USB needs to be formatted” message. So, I first of all tried to format that from exFAT to NTFS, and I almost managed (in Windows using the format F: /fs:NTFS command): it …

Member Avatar
Member Avatar
+0 forum 9

Hi guys, I'm trying to install a virtual machine; OS = kubuntu 14.04LTS using virtual machine manager on an external hard disk. My PC's OS is 12.04LTS(kubuntu) Precise Pangolin. Everything goes ahead (relatively) smoothly on VMM till its time to actually install the OS and create a domain. I then get the error message below: "Unable to complete install: 'Unable to read from monitor: Connection reset by peer' Traceback (most recent call last): File "/usr/share/virt-manager/virtManager/asyncjob.py", line 45, in cb_wrapper callback(asyncjob, *args, **kwargs)` File "/usr/share/virt-manager/virtManager/create.py", line 1909, in do_install guest.start_install(False, meter=meter) File "/usr/lib/python2.7/dist-packages/virtinst/Guest.py", line 1236, in start_install noboot) File "/usr/lib/python2.7/dist-packages/virtinst/Guest.py", line …

Member Avatar
Member Avatar
+0 forum 3

Can mkdosfs create bootable FAT like file system on linux? I don't know if mkfs.fat can create bootable a FAT file-system, but the man page says that can't. The plan is to create a small basic kernel with bootable FAT 12. The man page says for mkfs.fat: mkfs.fat can not create boot-able filesystems. This isn't as easy as you might think at first glance for various reasons and has been discussed a lot already. mkfs.fat simply will not support it ;) The options passed to format a bootable floppy: mkdosfs -v -f 2 -F 12 -r 128 /dev/fd0

Member Avatar
Member Avatar
+0 forum 2

Hi, I have a domain and DigitalOcean cloud ubuntu server, and I have been using the server as an email forwarding point. SImply, if someone sends an email to **info@domain.com**, the server forwards to **personal@gmail.com**. The beauty of this is that I don't need to spend my server space used up for saving email and I can still use gmail UI. Downside is I have to reply using gmail account. So I wanted to send an email using my domain email from gmail website. Custom domain email hosting in Google and Hotmail is not free so please don't mention it. …

Member Avatar
+0 forum 0

I'm hoping to create a scheduler based on data extracted from an Excel (2016) spreadsheet. At the moment I'm using Ubuntu 14.04 LTS with the desire to port the completed project to Android through Bulldozer. I like what I've heard about the simplicity of Pyqt. The completed project must work with Android. I have Android tablets running Lollipop and KitKat. I can develop using Ubuntu, Windows 7 & 10, Android, environments. What I need to know is if you think I will be working with the right combination of PyCharm, PyQT (if it will work with PyCharm?) and eventually Buildozer …

Member Avatar
+0 forum 0

How does VLAN work on Network Manager? I didn't installed the needed packages for network manager through apt-get and or configure the VLAN interface in the command line. The strange problem was that network manager crapped out after deleting the VLAN connection.

Member Avatar
Member Avatar
+0 forum 4

Hello I have a problem I order a ubuntu linux server with a dedicated server and wish to enter as root ssh but when I type the command sudo root it gives me an error ?

Member Avatar
Member Avatar
+0 forum 5

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 able to reach one and those are the links I got, in addition, I do not know is the Linux mint and if that the new Linux OS [Click Here](https://www.linux.com/) [Click Here](https://www.kernel.org/) [Click Here](http://www.linuxfoundation.org/) [Click Here](http://www.linuxmint.com/) If could someone help me to download the Linux OS

Member Avatar
Member Avatar
+0 forum 10

Hi there, I'm a long time PHP programmer, 6 month newb python developer, but entirely new to git and gitlab. I've spent 2 solid work days trying to solve this issue, I've chatted with others in chat rooms, all to no avail. I'm not certain where I should post this question, but I figure it's a software issue so I'll initially place it under Software Development. I installed XenServer (A hypervisor for virtual machines), then Ubuntu Server 14.04 LTS on that, and then the most up-to-date Omnibus Gitlab package. I've assigned the machine 4 CPU's, 4GB ram, and 50GB inital …

Member Avatar
Member Avatar
+0 forum 2

The End.