Linux
How to Start mySQL on SLackware
If you cannot start mysql on slackware, follow these steps: /usr/bin/mysql_install_db cd /var/lib chown -R mysql:mysql mysql and, then /etc/rc.d/rc.mysqld start source from this forum: bytes.com nohup: redirecting stderr to stdout: www.directadmin.com Sphere: Related Content
Read more »
Unable to load dynamic library gd.so on Slackware
This is how to see the Slackware’s version: more /etc/slackware-version. Here are a couple of links to see if php GD library is loaded: – How-to install / enable GD2 support – GD Library not support Slackware 12.1 Although the php.ini has the extension uncommented the php throws this error: PHP Startup: Unable to...
Read more »
How to add/change user to/from a group ?
I mainly was interested in how to change a user from apache group to website group. The command is: usermod -g website bogdan But if you want to add a user to a group follow this link: http://www.cyberciti.biz/faq/howto-linux-add-user-to-group/ To verify if the user was added to website group, type in: id bogdan uid=556(bogdan) gid=559(website)...
Read more »
Forgot root password
“If you’ve forgotten your root password (meaning you’re probably really desperate), at the grub splash screen, instead of hitting to boot your kernel, hit e to edit the boot options. Then select the line that begins with kernel and hit e again. Add the word single to the end of the line. Hit...
Read more »
SSH – Allow remote logins
If you want to block all the IPs except only those from you perform logins, read this tutorial (it is good): SSH – Allow remote logins – Hosts.allow or vim /etc/hosts.allow Insert these lines at the end of the file: sshd : 192.168.0. : allow sshd : FQDN: allow sshd : IPAddress: allow sshd...
Read more »
SVN Book
SVN Book Add user or change password: cat /etc/svn-auth-file2 – view users that have access to repository htpasswd -m /etc/svn-auth-file2 bogdan – changes password for user=bogdan Sphere: Related Content
Read more »
