Search:

Type: Posts; User: SeijiSensei; Keyword(s):

Page 1 of 10 1 2 3 4

Search: Search took 0.34 seconds.

  1. Replies
    3
    Views
    279

    [ubuntu] Re: Root Password In Shell Script

    Anything you want to run at boot can go in /etc/rc.local. It's the last script run during boot up. Everything in that file runs with root privileges.
  2. Replies
    7
    Views
    217

    Re: confused by fstab

    If you mount the NTFS filesystem with the options I gave above, all the files and directories are owned by root and group plugdev with full permissions to both. Of course, that doesn't mean that...
  3. [ubuntu] Re: Can't connect via cable to router that has built in DHCP server off

    What specifically does "it didn't work" mean in this context?

    If you run the command "ifconfig" in a terminal, do you see an entry for eth0 with the designated address?

    Is eth0 the only active...
  4. Replies
    2
    Views
    126

    [ubuntu] Re: vHost for non Apache Services

    Apache virtual hosts relies on code in the Apache server itself; it won't provide virtualization for other services.

    Please tell us precisely what you're trying to accomplish as your question now...
  5. Re: Problem with pushing all traffic through vpn server

    You need to add a route on the client to the VPN server via your gateway router. The client needs to see the server directly so it can send the encapsulated traffic over the tunnel.

    Suppose the...
  6. [ubuntu] Re: Upgrade to 15.10: The UPS is critically low. The computer is about to shut down.

    What if you plug the machine directly into the wall outlet?
  7. [SOLVED] Re: mysqldump works from terminal but not from shell script

    More likely there was a trailing non-printing control character accidentally added to the end of the line.

    OP, you didn't create this file in Windows or DOS first, did you? They terminate lines...
  8. Replies
    7
    Views
    217

    Re: confused by fstab

    Don't include "-o" before the options and remove the spaces from the list. You should just use "ntfs" as the filesystem type and probably include "defaults" in the list of options as well.
    ...
  9. [server] Re: DNS has broken using bind9 - Please help fix

    In the zone file as posted, "external" is the short name for "external.home.domain.uk". How that is handled by the resolver on a client machine depends on how the "domain" and "search" fields are...
  10. [SOLVED] Re: mysqldump works from terminal but not from shell script

    It's used to create the unique name for the timestamped backup file.

    As for the "-ppassword" item, the man page for mysqldump reads:

    "If you use the short option form (-p), you cannot have a...
  11. Replies
    3
    Views
    279

    [ubuntu] Re: Root Password In Shell Script

    The easiest solution is run the script as root with sudo and eliminate any sudo references in the script itself.

    If the script is designed to run from cron, putting the corresponding entry in...
  12. [server] Re: DNS has broken using bind9 - Please help fix

    Just a hint for building domain.uk along with home.domain.uk. You'll need to create a separate zone file for domain.uk and include a record like this:

    home IN NS 192.168.1.1
    which...
  13. [SOLVED] Re: mysqldump works from terminal but not from shell script

    mysqldump -u myUser -h myHost -pmyPassword myDatabase > myPath/backup/$NOW-mysql-backup.sql

    You don't have a full path to the backup file, like /home/me/myPath. As it stands, the script will...
  14. [ubuntu] Re: unable to see partitions properly while installing ubuntu with windows 10

    HP is notorious for using all four primary partitions and making it very difficult to install any other operating system. There's no simple solution for this problem either. Usually the main...
  15. Re: Using SED to edit system files with PHP frontend

    I don't understand why you want to let people change the hostname. Usually that is a fixed characteristic of the machine. Perhaps you can explain what you mean by "change the hostname." I honestly...
  16. Replies
    29
    Views
    838

    [SOLVED] Re: Directories in Kubuntu

    If you already have the files you need on an NTFS-formatted device, I wouldn't bother with copying anything. You can just mount that device in Linux and read and write to it from there. Writing to...
  17. Re: Using SED to edit system files with PHP frontend

    1) Yes, but it's a pain in the neck. Are you trying to automate these edits?

    2) No. Apache runs as an ordinary user called "www-data" and cannot make changes to root-owned files like /etc/hosts.
  18. Replies
    13
    Views
    374

    [SOLVED] Re: Many errors found using ClamAV

    sudo clamscan -rv /
    will scan the entire directory structure and report on every file. I suggest you run this instead:

    sudo clamscan -rv / > clamscan.report 2>&1
    which will send all the results...
  19. Replies
    2
    Views
    161

    [ubuntu] Re: Need help setting up a vpn connection

    The client must maintain a connection via the public Internet to the VPN server so it can exchange the tunnel traffic. So you have a route to the VPN server via your usual IP gateway, and all other...
  20. Replies
    11
    Views
    325

    [SOLVED] Re: PHP is not sending Emails

    Gmail might not like mail from addresses like www-data@james-Inspiron-1520.localdomain. Can't you send these messages from a legitimate domain?
  21. Re: Running rm -rf / on any UEFI Linux distribution can potentially perma-brick your

    I've used Linux for two decades and have never issued an "rm -rf /" command. If I want to trash an installation, I'll just repartition and reformat.
  22. Replies
    2
    Views
    217

    Re: Can someone explain the /dev/null

    Suppose I have a program that I want to run on a schedule. I can use a program in Linux called "cron" to manage when my program is run. So I set up this program, and every time it runs it writes...
  23. Replies
    11
    Views
    325

    [SOLVED] Re: PHP is not sending Emails

    Open a terminal on the machine and type:


    $ telnet gmail-smtp-in.l.google.com smtp

    You should see


    Connected to gmail-smtp-in.l.google.com.
    Escape character is '^]'.
  24. Replies
    2
    Views
    334

    [SOLVED] Re: GIMP - justify

    Double-click on the text tool in the Toolbox to open the settings dialog for the tool. One of the options is justification. You can set it before creating the text box.

    To align existing text,...
  25. [xubuntu] Re: what is the sequence for moving /home to a new install

    I don't think it matters much whether you transfer /home back before or after you update the software. As BAB says, your home directory contains a number of personalizations for the software you...
Results 1 to 25 of 250
Page 1 of 10 1 2 3 4