Tag Info

Hot answers tagged

3

No, it is not possible. A 32 bit machine refers to a computer with an ancient 32 bit only CPU. (On a modern PC that is usually a 10+ year old computer. Anything more modern and not configured for ultra-low power has a 64 bit capable CPU). A 64 bit machine is a a computer with a CPU with usually supports both the old 32 both mode and the 64 bit mode of ...


3

Fixing Permissions Fairly sure that the script is not executable. For that, you need to set the executable flag for the current user by running: chmod u+x /root/test.sh Then you should be able to run it as: cd /root ./test.sh That is, if you're currently running as root (check with whoami). If you want the script to be executable by another user on ...


2

Before performing this task, it's highly recommended that you backup your data. You cannot resize the partition under the Operating System working/running from the same partition. In your case, if the /dev/sda7 is your / file system from which you work and try to resize it, then you need to boot your machine from different place. You can make live CD, boot ...


2

Usually there is some "reserved" space for superuser (sic), and then there is the fs overhead (i-node tables, etc). Depends on the filesystem. ext2/3/4 has a default reserve of 5% for uid0 (-m) depending on the usage-type (-T) i-node space is pre-allocated - see df -ih I'd say the 14G are really available, but there may be 40G of reserve and say 100MB of ...


1

you might have better luck if you just used phpseclib, a pure PHP SSH client, to emulate libssh2: https://github.com/phpseclib/libssh2-compatibility-layer


1

Open your terminal and type as sysctl fs.inotify.max_user_watches to check current limit. If you want to modify it then type in terminal as root vim /etc/sysctl.conf Then at the end add this following line fs.inotify.max_user_watches = XXXXXX In the XXXXXX place your desired value. let me know if you are still facing any issues.


1

Edit the upstart file /etc/init/gitlab-runsvdir.conf and comment out the line start on runlevel [2345] Resulting file /etc/init/gitlab-runsvdir.conf: #start on runlevel [2345] stop on shutdown respawn post-stop script # To avoid stomping on runsv's owned by a different runsvdir # process, kill any runsv process that has been orphaned, and is # now ...


1

Install Python 3.2.2 (CentOS 6.5 AMD64): In order to compile Python you must first install the development tools and a few extra libs. The extra libs are not strictly needed to compile Python but without them your new Python interpreter will be quite useless sudo yum groupinstall "Development tools" sudo yum install zlib-devel bzip2-devel openssl-devel ...


1

I have solved this question. I added a script of alias vi="vim" to /root/.bashrc like this: 1 # .bashrc 2 3 # User specific aliases and functions 4 5 alias rm='rm -i' 6 alias cp='cp -i' 7 alias mv='mv -i' 8 alias vi="vim" 9 10 # Source global definitions 11 if [ -f /etc/bashrc ]; then 12 . /etc/bashrc 13 fi


1

This worked. rpm -Uvh http://yum.postgresql.org/9.3/redhat/rhel-6-x86_64/pgdg-centos93-9.3-1.noarch.rpm yum install postgresql93-server postgresql93-contrib service postgresql-9.3 initdb /etc/init.d/postgresql-9.3 start chkconfig postgresql-9.3 on This might also work: yum install pgdg-centos93.noarch # in place of rpm service postgres-9.3 start # in ...


1

To be able to do that, you should make sure you have the following line in your sudoers file: %sudo ALL=(ALL:ALL) ALL You can customize the above line to change the permissions just as though %sudo was a user. That line will allow any users in the sudo group to use sudo. Now to allow <username> to use sudo, you can just do usermod -a -G sudo ...


1

You could use cat to append text to the end of /etc/sudoers. First, make a backup copy of your /etc/sudoers file. Then: cat >> /etc/sudoers ...type one or more lines here... [control-D] Make absolutely sure to use two greater-than characters (>>) and not just one, or else you will overwrite the entire contents of your file.


1

Change the TMPDIR environmental variable to a filesystem/directory with more disk space. Edit the local configuration file /etc/mysql/conf.d/local.cnf. This file contains your local changes - and will not be overwritten if you upgrade mysql. Note the config files may be stored in a different location - use find to locate the default config file my.cnf. ...


1

As far as I know, the contents of /tmp are deleted on reboot. However, in your case, you could try changing/adding TMPDIR environment variable in: /etc/mysql/conf.d/local.cnf


1

The commands you've given are for Debian based linux systems, such as Debian and Ubuntu, and are not "putty" specific as Rich pointed out. CentOS is built from Red Hat/Fedora linux, so its commands will differ. The wget command will work the same, though you may need to install wget first with yum install wget. You'll need a different resource to download ...


1

The realpath tool was added to GNU coreutils in version 8.15 (commit 77ea441f79aa), released in 2012. Your CentOS release likely has coreutils v8.4. The tool wasn't removed; it was not yet added in the first place.


1

realpath is a very useful tool, however most of its functionalities were already present with readlink. The realpath man page states: Please note that mostly the same functionality is provided by the '-e' option of the readlink(1) command. And the readlink man page states: -e, --canonicalize-existing: canonicalize by following every symlink in ...



Only top voted, non community-wiki answers of a minimum length are eligible