Home » Unix » Page 2
Python imports working for root, but not specific user
Unix

I'm trying to run a python script through a user account, call it myuser. I want to be able to execute the dropbox.py script without logging into or su'ing into root. The program works perfectly when I am either logged in as root, or su'd into root, but I want to find a way to not have to su over to root and then run it every time I start up.

When I run it as myuser, I get the following


Cannot write Systemback .sblive image to hard disk partition
Unix

I was trying Systemback utility on my Linux Mint recently. I created a live system restore (8.2 GB). The utility gives an option of writing the created .sblive image to a usb drive, but unfortunately I don't have a pen drive with 8.2 GB space.

So, I decided to make a separate 10 GB partition in my 1 TB external hard disk and intended to write the live system .sblive on it.

Howev


rsync exclude directory not working, when also scanning for only *.php files
Unix

Im trying to rsync all the .PHP and .HTML files from any directory inside of /home/ . However in /home/site2/public_html/cache_old/ there are .html files that i do not want to include in the sync (thus i want to exclude that directory and any of its sub-directories)

Here is the best rsync command i can come up with (after lots of testing and failures):

rsync -avv /h

LVM block allocation for snapshots
Unix

I've found this in 'man 8 lvcreate', which raises some questions for me. So:

-s, --snapshot OriginalLogicalVolume{Name|Path}

... Thin snapshot shares same blocks within the thin pool volume. ;

Question: same blocks? Same blocks as the Origin of the Snapshot, or just "also blocks form the same pool", or ...


Can't access website from other networks
Unix

I am trying to open a website ( link here) since I was told to use and they gave me some tasks to do from there. I have always been able to use it from my work network, but not from other networks. And the guy who created and used to administer the page has gone MIA, so I can't ask him.It gives me a: 403 Forbidden You don't have permission


Can Google Chrome run on ARM architecture?
Unix

I am running Debian on an ARM device, is there any build of Google Chrome for that?


How do I install Supervisor on CentOS?
Unix

I have zero-knowledge of Linux. I always found the interface where I get to click things with a mouse curser to be easier for me than black-windows with a lot of text-lines (at least that's my vision of "linux" I guess).

I am starting a website/software of sort and I was requested by my programmers to carry out several things on the server (I purchased a dedicated server with "CentOS" o


Do all intel gpu's use software rendering (Mesa) only?
Unix

I was looking at :-

$ glxinfo | grep OpenGL
OpenGL vendor string: Intel Open Source Technology Center
OpenGL renderer string: Mesa DRI Intel(R) Haswell Mobile 
OpenGL core profile version string: 3.3 (Core Profile) Mesa 11.0.7
OpenGL core profile shading language version string: 3.30
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL 

need to replace a file contents
Unix

I am stuck in a situation. I have a file script.txt with contents

$cat script.txt

SET TABLESPACE CONTAINERS FOR 3
-- IGNORE ROLLFORWARD CONTAINER OPERATIONS
USING (
FILE '/db2data2/dbs/rahtest/rahtest1.lrg'  5120
);


SET TABLESPACE CONTAINERS FOR 4
-- IGNORE ROLLFORWARD CONTAINER OPERATIONS
USING (
  FILE   '/db2data2/dbs/rahtest/rahtest2.lrg'  5120
);

My req


What is the matter with my ssh tunnel?
Unix

Computer A (assumed that ip is 44.44.44.44)can ftp the host 130.89.148.12.

ftp 130.89.148.12
Connected to 130.89.148.12.
220 ftp.debian.org FTP server
Name (130.89.148.12:debian8): anonymous
331 Please specify the password.
Password:
230 Login successful.
Remote system type is UNIX.
Using binary mode to transfer files.

Computer B (my local pc) can not ftp the h


Privacy Policy - Copyrights Notice - Feedback - Report Violation - RSS 2017 © bighow.org All Rights Reserved .