Category: Linux

Dec 24

TCP Wrappers in Linux/CentOS/Redhat/Fedora

yum info tcp_wrappers yum install tcp_wrappers-devel.x86_64 506 reboot 507 ifdown ens33 508 ifup ens33 509 yum install tcp_wrappers-devel.x86_64 510 yum -y install tcp_wrappers-devel.x86_64 511 ls /var/ftp/pub/Packages/ 512 ls /etc/yum.repos.d/local.repo 513 vim /etc/yum.repos.d/local.repo 514 systemctl status vsftpd 515 systemctl start vsftpd 516 systemctl enable vsftpd 517 yum -y install tcp_wrappers-devel.x86_64 518 cat /etc/hosts.allow 519 cat /etc/hosts.deny …

Continue reading

Nov 22

Linux vs Unix

Posix: “a set of formal descriptions that provide a standard for the design of operating systems, especially ones that are compatible with Unix.”. Considering POSIX, Linux can be thought as Unix. Though Unix is copyrighted. Topic Unix Linux Is Complete Operating System? Yes,  everything comes from a single vendor Linux is kinda Kernel only then …

Continue reading

Mar 22

installing mysql on ubuntu using an aws instance

This worked sudo apt-get install mysql-server mysql-client   You may want to change/assign the password sudo mysqladmin -u root -h localhost password ‘password’   You can go further mysql -u root -p GRANT ALL PRIVILEGES ON *.* TO ‘root’@’your_host_name’ IDENTIFIED BY “password”; FLUSH PRIVILEGES;   For configuring mySQL, change configurations in my.cnf file sudo vi …

Continue reading

Mar 21

Remove MYSQL from AWS Amazon Box

This worked for me though the killall command did not do anything updatedb might take some time sudo -i service mysql stop killall -KILL mysql mysqld_safe mysqld apt-get –yes purge mysql-server mysql-client apt-get –yes autoremove –purge apt-get autoclean deluser –remove-home mysql delgroup mysql rm -rf /etc/apparmor.d/abstractions/mysql /etc/apparmor.d/cache/usr.sbin.mysqld /etc/mysql /var/lib/mysql /var/log/mysql* /var/log/upstart/mysql.log* /var/run/mysqld updatedb exit These can …

Continue reading

Skip to toolbar